[ZendTo] Re: Malformed email from address

Bendt, Christian c.bendt at mwh.de
Thu Nov 24 10:23:30 GMT 2011


Hi Phil,

 

the only thing I can say is that it works for me after changing the typo of the regex.

 

Thanks for fixing.

 

Christian

 

 

Von: zendto-bounces at zend.to [mailto:zendto-bounces at zend.to] Im Auftrag von Jules
Gesendet: Donnerstag, 24. November 2011 10:36
An: ZendTo Users
Betreff: [ZendTo] Re: Malformed email from address

 



On 17/11/2011 11:21, --[ UxBoD ]-- wrote: 

Hmm, in NSSDropbox.php->deliverEmail() it does:

if (preg_match('/[^\x00-x\7f]/', $fromAddr)) {

Apart from the obvious typo (now fixed) in the line above where it says "x\" instead of "\x".



      $fromAddr = "=?UTF-8?B?".base64_encode(html_entity_decode($fromAddr))."?=";
    }

but if you do not have any special characters in that configuration variable then I am struggling to see why it would be encoding the address.

-- 
Thanks, Phil

 

-- 
________________________________________________________________________
Christian Bendt
Informationstechnologie
Märkisches Werk GmbH
Haus Heide 21
58553 Halver, Germany
Tel:    +49 (2353) 917-322
Fax:    +49 (2353) 917-1322
E-Mail: mailto:c.bendt at mwh.de
        http://www.mwh.de
________________________________________________________________________
Geschäftsführer: Christiane Dahlhaus, Dr. Rudolf H. Stanglmaier
Handelsregister: AG Iserlohn, HR B 3754
Sitz der Gesellschaft: Halver

Disclaimer: http://disclaimer.mwh.de

________________________________

	Hi Phil,

	 

	no, the sender address is zendto at mwh.de as you can see in the config.

	 

	Christian

	 

	
	-- 
	________________________________________________________________________
	Christian Bendt
	Informationstechnologie 

	 

	Märkisches Werk GmbH
	Haus Heide 21
	58553 Halver, Germany

 :

+49 (2353) 917-322

 :

+49 (2353) 917-1322

 :

c.bendt at mwh.de

 

http://www.mwh.de

	 

 
Visit us at German Pavilion W4 Booth 4E 21-4

	________________________________________________________________________
	Geschäftsführer: Christiane Dahlhaus, Dr. Rudolf H. Stanglmaier
	Handelsregister: AG Iserlohn, HR B 3754
	Sitz der Gesellschaft: Halver 

	Disclaimer: http://disclaimer.mwh.de

	 

	Von: zendto-bounces at zend.to [mailto:zendto-bounces at zend.to] Im Auftrag von --[ UxBoD ]--
	Gesendet: Mittwoch, 16. November 2011 17:02
	An: ZendTo Users
	Betreff: [ZendTo] Re: Malformed email from address

	 

	Hi,
	
	Do you happen to have an umlaut on the sender address at all ?

	-- 
	Thanks, Phil

	 

	
________________________________


		Hi @all,

		 

		I installed Zendto on a blank Debian 6.0.3 amd64 machine using the Zendto repository.

		 

		In /opt/zendto/config/zendto.conf I configured:

		EmailSenderAddress = 'zendto at mwh.de'

		 

		Exim4 is configured to use a smarthost for sending mail.

		 

		When receiving an email from Zendto with MS Outlook the From-Address is =?UTF-8?B?emVuZHRvQG13aC5kZQ==?=@zendto.mwh.de

		 

		It seems that Outlook cannot handle the UTF-8 Address.

		 

		The Mail header looks like this:

		 

		Microsoft Mail Internet Headers Version 2.0

		Received: from zendto.mwh.de ([192.168.77.87]) by exchsvr1.mwh.de with Microsoft SMTPSVC(6.0.3790.1830);

		         Mon, 14 Nov 2011 13:25:14 +0100

		Received: from www-data by zendto.mwh.de with local (Exim 4.72)

		         (envelope-from <www-data at zendto.mwh.de> <mailto:www-data at zendto.mwh.de> )

		         id 1RPvb8-00012C-Cp

		         for c.bendt at mwh.de; Mon, 14 Nov 2011 13:25:14 +0100

		Date: Mon, 14 Nov 2011 13:25:14 +0100

		Message-Id: <E1RPvb8-00012C-Cp at zendto.mwh.de> <mailto:E1RPvb8-00012C-Cp at zendto.mwh.de> 

		To: c.bendt at mwh.de

		Subject: [MWH ZendTo] Bendt, Christian has picked up your drop-off!

		X-PHP-Originating-Script: 0:NSSDropbox.php

		From: =?UTF-8?B?emVuZHRvQG13aC5kZQ==?=@zendto.mwh.de

		Reply-to: c.bendt at mwh.de

		MIME-Version: 1.0

		Content-Type: text/plain; charset=UTF-8; format=flowed

		Content-Transfer-Encoding: 8bit

		Return-Path: www-data at zendto.mwh.de

		X-OriginalArrivalTime: 14 Nov 2011 12:25:14.0084 (UTC) FILETIME=[75D34240:01CCA2C8]

		 

		What can I do to fix this?

		 

		Regards

		Christian

	 

	
	_______________________________________________
	ZendTo mailing list
	ZendTo at zend.to
	http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto

 






_______________________________________________
ZendTo mailing list
ZendTo at zend.to
http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto





Jules
 
-- 
Julian Field MEng CITP CEng
www.Zend.To
 
Follow me at twitter.com/JulesFM
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
 
'It's okay to live without all the answers' - Charlie Eppes, 2011
'All programs have a desire to be useful' - Tron, 1982
'That is the land of lost content,
 I see it shining plain,
 The happy highways where I went,
 And cannot come again.' - A.E. Houseman

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20111124/1186ee93/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 8865 bytes
Desc: image001.jpg
Url : http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20111124/1186ee93/attachment-0001.jpe 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 943 bytes
Desc: image002.gif
Url : http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20111124/1186ee93/attachment-0006.gif 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 870 bytes
Desc: image003.gif
Url : http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20111124/1186ee93/attachment-0007.gif 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 873 bytes
Desc: image004.gif
Url : http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20111124/1186ee93/attachment-0008.gif 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 150054 bytes
Desc: image005.png
Url : http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20111124/1186ee93/attachment-0002.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mwh.jpg
Type: image/jpeg
Size: 8865 bytes
Desc: not available
Url : http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20111124/1186ee93/attachment-0001.jpg 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tel.gif
Type: image/gif
Size: 943 bytes
Desc: not available
Url : http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20111124/1186ee93/attachment-0009.gif 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fax.gif
Type: image/gif
Size: 870 bytes
Desc: not available
Url : http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20111124/1186ee93/attachment-0010.gif 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: email.gif
Type: image/gif
Size: 873 bytes
Desc: not available
Url : http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20111124/1186ee93/attachment-0011.gif 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: marintec_2011.png
Type: image/png
Size: 150054 bytes
Desc: not available
Url : http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20111124/1186ee93/attachment-0003.png 


More information about the ZendTo mailing list