Hmm... I'm not sure the procmail sollution is the best...

That will work, but if everyone starts doing it then spammers will start
forging X-Spam-Status lines into their spam. The idea is good but that
implementation is trivially defeated.

It seems to much better solution will be | spamassassin --remove-markup | spamassassin

(remove any markup by prev. spamassassin and when check again, spammers can't forge this solution)

Actually, if you want to replace the X-Spam-Status header, I would suggest a Milter. Spamass-milter does it all the time on my servers:


Jul 15 09:42:10 nahuel sendmail[16085]: h6FCftbI016085: Milter change: header X-Spam-Checker-Version: from SpamAssassin 2.60-cvs (1.195-2003-06-30-exp) on \n\tdalton.quimica.unlp.edu.ar to SpamAssassin 2.60-cvs (1.195-2003-06-30-exp) on \n\tnahuel.biol.unlp.edu.ar

This happens when a mail is sent from one server to another, and it even changes the X-Spam-Status header:

Jul 17 10:03:26 nahuel sendmail[15770]: h6HD3DEe015770: Milter change: header X-Spam-Status: from No, hits=-0.8 required=5.0 tests=AWL,HTML_30_40,HTML_FONTCOLOR_BLUE,\n\tHTML_FONTCOLOR_RED,HTML_FONT_BIG,HTML_FONT_FACE_ODD,HTML_MESSAGE \n\tautolearn=no version=2.60-cvs to No, hits=0.8 required=5.0 tests=AWL,HTML_30_40,HTML_FONTCOLOR_BLUE,\n\tHTML_FONTCOLOR_RED,HTML_FONT_BIG,HTML_FONT_FACE_ODD,HTML_MESSAGE \n\tautolearn=no version=2.60-cvs

This will solve your issues, and it's fairly more fast and reliable than a procmail recipe, since it happens at MTA level, not at LDA level.

Regards,

                  Luis Hernán Otegui
                Administrador de Red
           Facultad de Ciencias Exactas
                            UNLP
----------------------------------------------------
GNU-GPL: "May The Source Be With You..."
----------------------------------------------------

_________________________________________________________________
Charla con tus amigos en línea mediante MSN Messenger: http://messenger.yupimsn.com/




-------------------------------------------------------
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/345/0
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to