exim spamcheck all incoming emails

rohit

Verified User
Joined
Mar 20, 2007
Messages
198
Location
Melbourne
Hi All,

We are running exim with spamassassin on a DA server. We also provide exim as a backup server to few of our clients.

I need to know how we can configure exim to do spam filtering on all the incoming emails? I was trying to look at exim.conf but couldn't figure out a way.

I followed the below URL to setup exim as a backup server

http://help.directadmin.com/item.php?id=167

but I need to know how we can spamcheck the emails coming for the domains the server is authenticated to receive emails for?

Thanks for your help in advance.

Regards
 
spamassassin is off by default. You should uncomment the spamassassin lines in /etc/exim.conf, restart exim.

Then enable it for each DA user in your system. Search the forum as someone has posted a simple script to enable it for all existing/new users.
 
Thanks guys for the reply.

But this is not what I was referring to. We already have got the spam checking on for the domains we are hosting emails for.

We are setting up a new server that is just going to serve as a Backup Mail Server (Secondary Mail Server) for few of the domains. I have followed the guide in this post to set exim as a backup mail server http://help.directadmin.com/item.php?id=167.

But the issue is this that the emails received for these domains is not getting spam checked? So I was wondering, how we could change the exim.conf to do spam checking for any domain? I am still unclear on how and what needs to be changed in "routers" and "transport" section of exim.conf

Hope, someone knows more about this and can help.

Regards
 
the domains in /etc/virtual/mx_domains dont have their home directory since they are not a DA user, hence they do not have spamassassin pref file. Spamassassin won't scan these mails.

Backup MX not only increase the load but may also get your backup MX server IP get blacklisted due to bounce-back mails of non-existant forged sender addresses.

You don't need a DA box to run backup MX, btw. If you do, the use of RBL, HELO check, sanesecurity should cut the 80% spam.
 
thank will-lo for the reply.

Just a question on RBL checks. If I was create a sym link such that

use_rbl_domains -> mx_domains

then will it do all the RBL checks?

I did go through the forum and found out about check_helo acl and have added to the exim.conf

If you could please let me know re the use_rbl_domains then it would be much appreciated. But as per what I have seen the current exim.conf doesn't Check for Spam for the mx_domains at all. But I want it to check for spam and any email that is over 15 points, i want it to auto delete from the system.

Thanks for your help in advance.

Ta
 
use_rbl-domains is a list of domains for which exim will implement the RBL checks included in the SpamBlocker exim.conf file.

We always link it to /etc/virtual/domains if we want to implement RBL checking for all domains on the server.

I just checked one of my servers; it doesn't have an mx_domains file, so I'm not sure to what you're referring.

Jeff
 
Back
Top