Disable MCP notification based on SA rule hit

Julian Field MailScanner at ecs.soton.ac.uk
Sun Oct 28 22:29:06 GMT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



Dave Jones wrote:
> We have MCP working properly to check some basic profanity in email
>  and notify without delivery.  Now I have a need to check for some
> keywords in the subject or body then not deliver or notify.  Can
> this be done with a rules file?  I only see some keywords like
> "From:", "To:", and "Virus:" for the rules and I think I would need
>  something like "Rule:" with the desired SA rule as an argument.
>
> It looks like the "SpamAssassin Rule Actions =" is designed for
> this in the non-MCP run of SA.  Is there an equivalent in the MCP
> section toward the bottom on the MailScanner.conf?
No there isn't an equivalent for the MCP section, but I don't see the
need for one. Just write some SpamAssassin rules with a 0.01 score and
use things like
SpamAssassin Rule Actions = MY_RULE_1=>notdeliver,notnotify,
MY_RULE_2=>notdeliver
and stuff like that.

Jules

- --
Julian Field MEng CITP
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store

MailScanner customisation, or any advanced system administration help?
Contact me at Jules at Jules.FM

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
For all your IT requirements visit www.transtec.co.uk
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHJQ0yEfZZRxQVtlQRAlhAAJ9or3zuORZIsKIhDHmXds1Yii1ECQCeJKOi
axcFDqbDY10HinNZkmCBL6s=
=mgK2
-----END PGP SIGNATURE-----


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
For all your IT requirements visit www.transtec.co.uk



More information about the MailScanner mailing list