> On 5/11/2005 6:58 AM, Martin G. Diehl wrote: > > > I saw a SPAM message with the SPAMassassin message > > headers (X-spam headers) grossly out of sequence. The > > message was recognized as SPAM ... but because the > > X-spam headers were written in the wrong part of the > message, it was able > > I get this periodically too. Very annoying. > > I haven't really looked into this much yet, but it appears > that some embedded CR or LF characters are getting > processed by SA and then fed back to Postfix, which then > cleans up the message and splits the headers where it sees > the bare CR or LF. The result is two sets of headers, the > second of which naturally becomes part of the body.
SpamAssassin does not alter the message. You must configure something to alter the message and feed the altered message back into your MTA. Therefor the problem lies not with SpamAssassin but with your configuration/scripts used to handle the markup. All MTA's will interpret the first blank line as the begining of the body. Any headers placed after that will be considered body content until a line that has only a period is found. That line marks the end of the data command. If your script or utility is injecting headers then you may have the problem described above. I never get this problem. I use spamd's markup option and then swap the resulting message with the original and let Postfix delivered that instead. ------------------------------------------ Kevin W. Gagel Postmaster for College of New Caledonia (250) 562-2131 loc. 448 (250) 561-5848 loc. 448 [EMAIL PROTECTED] http://www.cnc.bc.ca ------------------------------------------------------------------- The College of New Caledonia, Visit us at http://www.cnc.bc.ca Virus scanning is done on all incoming and outgoing email. Anti-spam information for CNC can be found at http://avas.cnc.bc.ca -------------------------------------------------------------------