Preventing Spam with Antivirus.exim
Posted on December 23, 2009
Filed Under Linux Hosting, VPS hosting |
Dedicated servers with cPanel installed have an antivirus called as antivirus.exim. Antivirus Exim has a main central filter for the exim mail server which enables you to setup all kinds of wonderful filters to help stop spams from coming in and going out of your server.
Here is the config /etc/antivirus.exim config file. This will help protect to you and therefore protect me as well because your server might be spamming mine one day.
First off the default /etc/antivirus.exim config has few different rule sets in it. The main ones are attachment filters to help stop email viruses from your users. They stop things like .src and .com and .exe attachments.
This shows you someĀ rules to stop spammers from sending out of your Dedicated server, you can also use it to stop spam from imcoming traffic. I do not go into a lot of detail for filtering incoming mail since other applications like Spam Assassin handle that in a better way.
Basic requirement is you will need a root access to your Cpanel server as usual.
First off we need to create a special log file for these filters do this:
touch /var/log/filter.log
chmod 0644 /var/log/filter.log
Now open up the configuration file
vi /etc/antivirus.exim
It should have a whole whack of comments at the top.
It is very simple now add this to your existing file, save the changes and they take effect immediately.
Comments
One Response to “Preventing Spam with Antivirus.exim”
Leave a Reply















[...] Comment Spam and how to avoid it | Blog Coach - Blogging ConsultantForward Emails Responsibly and Help Fight Spam | Internet TipsAdult Content in Spam | Check Spam, Block Spam, Stop Spam, Spyware, Adware Global Anti-Spam Organization MAAWG Liaisons With IETF and BITS/Financial Services Roundtable Spam And Spyware : nacaozumbi.comPreventing Spam with Antivirus.exim | VPS hosting blog [...]