This is a discussion on Re: [AMaViS-user] Block messagge based on subject within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; Rocco, > How I can block message according to subject? if you use amavisd-new with spamassassin, you could add ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Rocco,
> How I can block message according to subject? if you use amavisd-new with spamassassin, you could add a new rule in local.cf this way: --- snip --- header __SOBER_P_SPAM_H Subject =~ /(?:Subject1|Subject2)/i header __SOBER_CT Content-Type =~ /text\/plain/i meta SOBER_SPAM (__SOBER_P_SPAM_H + __SOBER_CT == 2) describe SOBER_SPAM Spam from Sober infected dialups score SOBER_SPAM 5.0 --- snap --- Regards, Andreas Haase Postmaster EastLink GmbH -- -------------- professional INTERNET services ------------- EastLink GmbH - Leipziger Strasse 46 - D-09113 Chemnitz voice: +49-180-5432060 fax: +49-371-4320626 www.eastlink.de ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/...fo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/ |