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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 19 2025 00:21:08
Script start
Timing: Jan 19 2025 00:21:08
Module start 'layout'
Timing: Jan 19 2025 00:21:08
Module start 'content'
Timing: Jan 19 2025 00:21:09
Module end 'content'
Timing: Jan 19 2025 00:21:09
Script end

Main resources:

Total runtime1.1428 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0073 587.9141152.6250
Module start 'layout' 0.00730.0037 740.539139.4609
Module start 'content' 0.01101.1301 780.0000439.3594
Module end 'content' 1.14110.0017 1,219.35948.1719
Script end 1.1428  1,227.5313 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00410.3623160.0003
Check MTime0.00160.1398160.0001
Mysql Total
Database connection0.00080.073310.0008
Mysqli_queries1.094295.7426460.0238
Looping result0.00090.0828440.0000
Template Total1.100996.320.5505
Template load0.00240.206520.0012
Template processing1.098696.124620.5493
Template load and register function0.00020.019210.0002
states
state_id_array0.00120.105410.0012
state_identifier_array0.00100.087420.0005
Override
Cache load0.00190.1643210.0001
Sytem overhead
Fetch class attribute can translate value0.00070.060310.0007
Fetch class attribute name0.00070.057210.0007
XML
Image XML parsing0.00020.017810.0002
class_abstraction
Instantiating content class attribute0.00000.000410.0000
General
dbfile0.00080.0667100.0001
String conversion0.00000.001140.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
5content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 14
 Number of unique templates used: 5

Time used to render debug report: 0.0003 secs