[exim] ${rfc2047:} questions

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Arkadiusz Miskiewicz
Dátum:  
Címzett: exim-users
Tárgy: [exim] ${rfc2047:} questions

RFC2047 says:
An 'encoded-word' may not be more than 75 characters long, including
'charset', 'encoding', 'encoded-text', and delimiters. If it is
desirable to encode more text than will fit in an 'encoded-word' of
75 characters, multiple 'encoded-word's (separated by CRLF SPACE) may
be used.

It seems that exim creates longer encoded strings and encodes newlines. For
example when using with exiscan and spamassassin I get:
X-Spam-Report:
=?ISO-8859-2?Q?Points_assigned_by_spam_scoring_system_to_this_email=2E_Note_that_message=0A=09is_treated_as_spam_ONLY_if_X-Spam-Flag_header_is_set_to_YES=2E=0A=09If_you_have_any_report_questions=2C_see_report_postmaster=40beep=2Epl_for_details=2E=0A=09Content_analysis_details=3A___=286=2E8_points=2C_25=2E0_required=29=0A=09pts_rule_name______________description=0A=09----_----------------------_--------------------------------------------------=0A=090=2E1_FORGED=5FRCVD=5FHELO_______Received=3A_zawiera_sfa=B3szowane_HELO=0A=090=2E4_SUBJ=5FALL=5FCAPS__________Temat_zawiera_same_du=BFe_litery=0A=091=2E7_UNCLAIMED=5FMONEY________BODY=3A_=28ludzie_po_prostu_rozrzucaj=B1_pieni=B1dze_dooko=B3a=29=0A=090=2E1_RCVD=5FIN=5FSORBS=5FDUL______RBL=3A_SORBS=3A_sent_directly_from_dynamic_IP_address=0A=09=5B83=2E27=2E17=2E29_listed_in_dnsbl=2Esorbs=2Enet=5D=0A=091=2E7_RCVD=5FIN=5FNJABL=5FDUL______RBL=3A_NJABL=3A_nadawca_dial-up_u=BFywa_nie_lokalnego_SMTP=0A=09=5B83=2E27=2E17=2E29_listed_in_combined=2Enjabl=2Eorg=5D=0A=09?=
X-Spam-Flag: YES

It looks like exim does wrong thing here - IMO it should make these strings no 
longer that 75 chars AND do not encode CRLF (because encoding it makes 
headers less readable).
-- 
Arkadiusz Miśkiewicz                    PLD/Linux Team
http://www.t17.ds.pwr.wroc.pl/~misiek/  http://ftp.pld-linux.org/