I think we all have our favorite ways of calling spamc/spamassassin, and one of my biggest concerns is that spamd will die for some obscure reason and mail will stop getting scanned, or I'll be restarting spamd and a flood mail suddendly comes in. Well this is how I finally settled into my comfort zone when it comes to calling spamc/spamassassin.

This way regardless of the reason, if X-SPAM-STATUS header is missing, we will assume spamc had some kind of problem, and then we will use the good ol' stand by command line spamassassin.


:0 * < 256000 { :0fw | spamc -f

        :0fw
        * !^X-SPAM-STATUS:
        | spamassassin
}





-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to