SpamAssassin integration
Aurora Corporate is automatically installed and configured to work together with SpamAssassin for spam protection, there should be no need to perform manual configuration.
However, if you noticed that spam mails aren't moved to Spam folder, make sure the file /opt/afterlogic/etc/sieve/system.sieve
is present on your installation, its content should be as follows:
# copy Spamassassin-tagged email to Spam folder
require ["fileinto", "envelope", "imap4flags"];
if header :contains "X-Spam-Flag" "YES" {
fileinto "Spam";
stop;
}
You may need to create the /opt/afterlogic/etc/sieve
directory if it's not there for some reason, and after placing the above file, change the permissions with:
chown afterlogic:afterlogic -R /opt/afterlogic/etc/sieve
In order to check whether Spam mails are handled correctly, send a message from an external mailserver (Gmail, for example) with the following text in it:
XJS*C4JDBQADN1.NSBN3*2IDNEN*GTUBE-STANDARD-ANTI-UBE-TEST-EMAIL*C.34X.
SpamAssassin is expected to treat such message as spam, will mark it as such, and Dovecot will move it into Spam folder upon arrival.