Forums / Install & configuration / Email header encoding

Email header encoding

Author Message

Pascal France

Saturday 31 December 2005 11:12:26 am

Hi,

When I try to registrer a new user (eZ 3.7.2) I get this error-message in my Postfix log:

euphorie postfix/cleanup[16264]: 8779AFB86A: reject: mime-error improper use of 8-bit data in message header: Subject: Nouvel utilisateur inscrit ? www.linuxorable.net/site-mjc/index.php from euphorie[82.67.66.131]; from=<pascal@linuxorable.net> to=<pascal@linuxorable.net>

I read this post:

http://ez.no/community/forum/install_configuration/character_encoding_of_email

and applied Lukasz Serwatka's proposed fix in lib/ezutils/classes/ezmail.php

In this file I changed

'transfer-encoding' => '8bit', (line 81)

to

'transfer-encoding' => '7bit',

I changed too

AllowedCharsets  	 siteaccess    [0] utf-8
                                  siteaccess    [1] us-ascii
                                  siteaccess    [2] iso-8859-1
                                  siteaccess    [3] iso-8859-15
                                  siteaccess    [4] cp1252
OutputCharset  	          override  	 "utf-8"

to

AllowedCharsets  	 siteaccess    [0] utf-7
                                  siteaccess    [1] us-ascii
                                  siteaccess    [2] iso-8859-1
                                  siteaccess    [3] iso-8859-15
                                  siteaccess    [4] cp1252
OutputCharset  	          override  	 "utf-7"

but I always get the same Postfix error-message

If I don't want my Postfix server accepts 8bit encoding, only 7bit, what should I do to fix this this trouble in eZ publish ?

Regards

Pascal

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish