My activities New request

contact atmail support

PH: +61 (7) 5357-6605


Turning off SHORTCIRCUIT for Whitelist

Stewart -

I am having trouble with the Spam Filter. Mails that should be marked as spam are receiving scores like -100.


  • On-Premise Server + WebMail Installations: Version 6.0 > Current Version



If you are having trouble with the Spam Filter not working, you may need to turn off the Short Circuit for the whitelist. To do this you will need to locate the file which can be found in the following directory.

cd /usr/local/atmail/spamassassin/etc/mail/spamassassin

Once you have navigated to the directory, you will need to search for WHITELIST in the file. When you search for WHITELIST, you should find the following block of text:

shortcircuit USER_IN_WHITELIST       on
shortcircuit USER_IN_DEF_WHITELIST   on
shortcircuit USER_IN_ALL_SPAM_TO     on
shortcircuit SUBJECT_IN_WHITELIST    on

Now you will need to comment those lines out, you can do this by adding a # at the start. Once you have commented the previous lines out, the block should look like this:

#shortcircuit USER_IN_WHITELIST       on
#shortcircuit USER_IN_DEF_WHITELIST   on
#shortcircuit USER_IN_ALL_SPAM_TO     on
#shortcircuit SUBJECT_IN_WHITELIST    on

You will now need to search for TRUSTED until you see the following line:

shortcircuit ALL_TRUSTED             on

Once you have found the previous line, you will need to comment it out by adding the # at the start of the line like so:

#shortcircuit ALL_TRUSTED             on

Now you can search for ham, when you search you should see the following block of text:

shortcircuit BAYES_99                spam
shortcircuit BAYES_00                ham

Now you need to comment out the second line shortcircuit BAYES 00 ham. It should now look like this:

shortcircuit BAYES_99                spam
#shortcircuit BAYES_00                ham

After you have commented all of the lines listed, you can save the file and restart Atmail with the following command:

/etc/init.d/atmailserver restart
Have more questions? Submit a request