On Monday 25 August 2003 03:18 CET Simon Byrnand wrote: > At 21:03 24/08/2003 -0400, Theo Van Dinter wrote: > >X-Spam-Status (and all the X-Spam-* headers actually) is wrapped unless > >you set the "fold_headers" option to 0. > > Well, I don't have any fold_headers option in the config anywhere, (never > have) and according to the man page, fold_headers defaults to 1 (on) and > yet in 2.60-rc2 I'm definately seeing the X-Spam-Status: header unfolded > - eg I can see ones that are as long as 240 characters on one line. > > So either the default for fold_headers has somehow become 0 or its a bug?
Or something un-folds your lines but thats pretty unrealistic as the report is still folded. Are the lines also unfolded in your mail spool? Then it's probably some bug; please report it on bugzilla.spamassassin.org.
Another follow up. Looks like I'm going to have to eat my hat here, at least half of it anyway ;-)
It seems that the failure to wrap was due to me trying to customize the Status header with the following line:
add_header all Status "_YESNO_, hits=_HITS_ required=_REQD_\ntests=_TESTS_ autolearn=_AUTOLEARN_ version=_VERSION_"
Notice the \n which I used to try and insert a new line. (Which does work) Theo has already fixed a bug where only the first \n in an add_header line works, but it seems that as soon as you add a \n anywhere in the line, folding headers breaks. If I take out the \n the headers fold ok.
I don't know whether this is fixed by Theo's patch or not, as I havn't tried it...I suspect not.
In any case there seems to be some bad interaction between \n in add_header, and the line folding mechanism...
Regards, Simon
------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk