[Mimedefang] Adding Tests
EKB
ekbond at gnat.net
Tue Jan 20 13:40:11 EST 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I put my custom tests in /etc/mail/spamassassin/local.cf and they are
working fine.
body CAN_SPAM_TAG1 /(as)? per( the)?( new)? us federal law/i
score CAN_SPAM_TAG1 0.0001
body CAN_SPAM_TAG2 /can-spam/i
score CAN_SPAM_TAG2 0.0001
body CAN_SPAM_TAG3 /remove (link|you)/i
score CAN_SPAM_TAG3 0.0001
meta CAN_SPAM_META (CAN_SPAM_TAG1 && CAN_SPAM_TAG2 && CAN_SPAM_TAG3)
score CAN_SPAM_META 6.0
- --
EKB
My spelling sometimes fails to conform to published standards.
On Tue, 20 Jan 2004 at 11:51 -0600, Will McCorkle at WMcCorkle at dgsystems.co...:
> I know that this has been covered before, but I am unable to find it in the
> archives. If I want to add a test to SA to find and block email with certain
> works in the body, is the following correct?
>
> alter sa-mimedefang.cf and add
>
> body ADDED_TEST /blah/
> score ADDED_TEST 20.0
> description ADDED_TEST test added for blah in body of email
>
> I have added test for subject and email address, but not one for the body of
> the email. A little help would be wonderful.
>
> Thank You
> Will McCorkle
>
>
> _______________________________________________
> Visit http://www.mimedefang.org and http://www.canit.ca
> MIMEDefang mailing list
> MIMEDefang at lists.roaringpenguin.com
> http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQFADXYOdY33sSC+/BERAmmVAJ4qnKKsFGNjs7cCETBA/aEAWzcKFACfabZL
M22Cx68v/3V/KNEwZQfniKk=
=d2Sw
-----END PGP SIGNATURE-----
More information about the MIMEDefang
mailing list