Hello, I'm trying to understand if the emails that are sent by smtp authenticated users are scanned for spam or not. From my tests it seems that they are only checked for viruses but not spam. I tried to send a spam mail to another account (gmail) and the headers shows only "X-Virus-Scanned: amavisd-new at myhost" but nothing related to spamassassin. Is there a way to enable scanning on these emails? Thanks Daniele
All emails are scanned with amavis, the spam and antivirus scan daemon. The filters that get applied depend on the setings that you make in spamfilter users in ispconfig and the default settings in the amavis configuration files. This maenas that the spam and antivirus filter has been applied. Spamassassin is used by amavis internally, so you will not find a spamassassin header.
Ok, so where do I find the settings used for the outgoing email? The default settings have Spam tag level = -1000 so I expect to find the spamassassin headers in all emails (and it works ok on the received messages)
That depends on your Linux Distribution. Either /etc/amavisd/amavisd.conf, /etc/amavisd.conf or /etc/amavisd/conf.d/
the file is /etc/amavisd/amavisd.conf but I cannot find anything that is related to the scanning of outgoing email. I tried to check the amavisd-new documentation but it seems very complex..