Page 1 of 1

How to test EFA with low scoring Spammail

Posted: 09 Mar 2016 08:43
by chris00r
Hello,

i am new to the efa-project. I am really suprised how good the system works. Furthermore i am not a Mail-Administrator, but I will learn every day more. I got a question:

Is it possible to test the EFA-System with a "low-Scoring" Spammail, so i can among others test the notification for the users oder the "x-spam-flag"? I know the EICAR testmail for Viruses and the GTUBE teststring, but they have a spam score with 1000, so i get not notifications.

Greetings, chris00r

Re: How to test EFA with low scoring Spammail

Posted: 12 Mar 2016 14:30
by shawniverson
You can define your own custom rule, that is what I do, for example...

/etc/mail/spamassassin/local.cf

Code: Select all

body SPAM_TEST_RULE   /SPAM123456789/
score SPAM_TEST_RULE 3
describe SPAM_TEST_RULE       Test Spam Rule
Then send an email with the string SPAM123456789 in the body. :D

Re: How to test EFA with low scoring Spammail

Posted: 13 Mar 2016 17:52
by chris00r
thx, exactly what i looked for!