SA Bugzilla – Bug 4428
extremely long subject breaking subject re_write
Last modified: 2005-06-26 05:00:01 UTC
I've seen this type of spam cause a non-delivery twice now, so I know its not a fluke. The message is marked spam, but the re_write is botched because of the subject header length ( i think ? ) I'll be pasting in some attachments to this bug, that will clear this terribly vague desc. up a bit
Created attachment 2955 [details] NDR and spamassassin logs Thanks SpamAssassins
Subject: Re: extremely long subject breaking subject re_write Perhaps I'm missing something. It looks like SpamAssassin handled this message just fine and you Exchange server just rejected it. The rejection appears to have the subject rewritten and the log shows that it was processed, with no errors. Do you have the whole message and output from spamassassin -D < themsg.txt that shows this failure? Michael
Michael believes Exchange rejected this message, and SpamAssassin handled it properly. I'm sure he is correct. Trying to track down the reason for the rejection now. Looking here too http://www.microsoft.com/technet/prodtechnol/exchange/guides/E2k3SecHardGuide/8dbcf27a-d5f8-4340-a3fc-c62f2151eb80.mspx Sorry for the false alarm
Looks like it's something with Exchange
I hoped SpamAssassin would "handle" this email so Exchange would accept it, and deliver it as Spam like normal. Is there anything in the works to truncate Subject headers, or deal with too many nested attachments. If this functionality already exists I'll accept a RTFM Flame on, and again thanks for your excellent work, C
SA never modifies the formatting of a message, apart from adding its own headers and possibly creating a new MIME structure to "defang" it if report_safe is on. so cutting down long headers is something we cannot do, since that would result in loss of data on other platforms. If this modification of the message is required to deal with a platform-specific issue, it makes a lot more sense for the platform-specific glue code that's calling SA to do that. in particular, this would be quite a bad thing to do on platforms where long subject lines are not an issue (like any of the UNIX mtas).