On Sun, 14 Nov 2004, Arkadiusz Miskiewicz wrote:
> 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
How are those header lines created? Are they defined in an ACL or is
exiscan or spamassassin adding them?
> 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).
The documentation for the ${rfc2047 operator does say that it outputs a
single encoded 'word', but perhaps that is a poor specification.
--
Philip Hazel University of Cambridge Computing Service,
ph10@??? Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book: http://www.uit.co.uk/exim-book