After setting the /srv/servername/config/default_forward file, catchall emails are not delivered
After setting the /srv/servername/config/antispam file, anti spam does not work
After setting the /srv/servername/config/antivirus file, no evidence of emails being scanned for viruses
After setting the /srv/servername/config/blacklists/zen.spamhaus.org, no evidence of IP filtering taking place
It’s pretty much like the “switches” are not being seen by the system
Any Error Messages
For the email forwarding, all I get is a delayed delivery warning saying
I have checked permissions on the file and they are
-rw-rw---- 1 sympl sympl 25 Sep 11 09:06 default_forward
I believe this is as they should be. Same error if I create this file as Root
antispam and antivirus are supposed to turn on the Spamassassin and ClamAV services. You may need to wait an hour to see that happen. Check with “service --status-all” to see if these services are actually enabled. You need more than 1GB RAM to run ClamAV because its signatures fill so much memory. If you don’t have enough RAM, the o/s out of memory killer will start to kill random processes. Unless you add third party signatures like those from sanesecurity, ClamAV will catch vanishingly few emails: so, it’s not worth having without those sigs. If the OOM killer is in operation, that may be causing all sorts of unpredictable problems.
zen.spamhaus.org is referenced by the Exim configuration, and it should be checked for every email delivery. It should catch quite a good amount of spam.
The exim user is not, iirc, a member of the ‘sympl’ group. So those permissions won’t be expected to work.
I’ll try to be brief as I’m talking symbiosis and risk running off-topic.
I’ve recently found that :B 2GB isn’t enough - not even close - for the unofficial signatures. However, with a 2GB swap file freshclam’s malformed database & random OOM is no longer a thing … and I haven’t noticed the performance hit, yet.
zen gets first shot here and remains the Master but barracuda & more aggressive engines are useful for some sites…
Further to my previous email, I am talking a load of shit.
There does seem to be some spamhaus filtering going on, although no spam filtering that I can see.
The machine is an Intel NUC with 4GB of RAM so resources should really not be an issue…
The issue with the default_forward is still puzzling me, though, as most of the suggestions I saw online pointed to file permissions and those seem to be correct…