On 30/08/11 18:37, SL wrote: > Hello > >> have you read the part where I have written that the line stripping >> is >> only important when DSPAM is inserting headers and/or when DSPAM is >> in >> the mode to classify/process messages (aka: NOT documents). > > Yes, I read it. You also wrote that dspam does not change anything to > the mail. I agree with this when the mail is properly parsed and that > the memory structure dumped when dspam adds its mail headers is > regenerated. The problem is there is a parse error on the CRLF line that > splits the original mail headers from the mail body. This parse error in > the end treats the initial mail as pure headers because it never detects > the split. When the memory structure is dumped, the colons are added > mistakenly to actual body lines (decode.c "sprintf (heading, "%s: > %s%s"....)"). > >> I have lineStripping ENABLED. > > Then you did not reproduce my test conditions. Please try a CRLF > message with lineStripping disabled. Do you get garbage?
This is reproducable with git master/HEAD. I actually noticed this behaviour already last week while working on something else, but did not have time yet to look further into it. > > If yes, please try my patch, still with lineStripping disabled. The nominal case is that incoming data has CRLF linefeeds, thus the empty line between headers and body contains CRLF. In decode.c, this means that this line contains CR. While processing the nominal input (CRLF) and not in daemon mode, this only works with Broken Linestripping enabled, which is not the default. Your patch fixes this, so I can only agree. -- ------------------------------------------------------------------------------ Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free "Love Thy Logs" t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev _______________________________________________ Dspam-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspam-user
