On 1/26/2011 10:25 AM, meino.cra...@gmx.de wrote:
Hi, is it possible to configure Spamassassin to filter out spam-mail, if the mail contains certain keywords and/or the subject line match a certain pattern without diving too deep into the source and the ruleset of spamassassin?
I'd consider handling that at the MTA level. In Postfix you would use header_check to build rules like that. There is also the added benefit of being able to REJECT the mail before it enters your system rather than accepting the mail, sending to spamassassin, attempting to bounce mail, etc.
This site has a number of good examples http://www.posluns.com/guides/hedchek.html kashani