Hello,
due to increased amount of spam I'm thinking of setting up a new dedicated box for incoming mail. This box would accept email for domains hosted on my production servers, scan the email for viruses, RBLs etc and then deliver the message to cPanel box.
Has anyone done this already ?
I pretty much figurred out how to do this:
1. I change MX for domain names hosted on server 1 , 2 ,3
2. The email go to 4th server which will do spam tests
3. The email is then relayed after tests to correct server
I was thinking of using manualroutes:
manual_route:
transport = remote_smtp
driver = manualroute
domains = ! +local_domains : +relay_to_domains
route_data = ${lookup{$domain} lsearch{/etc/mail/manual_routes}}
and then I would add an entry for each domain name that the email should not be relayed to MX server but to mail.domain.com
I did not test it yet but can someone please tell me if the domain name would be first scanned by ie MailScanner, SpamAssassin and then relayed or Exim would not do anything to such incoming email and just relay it to correct server ?
If you guys have any suggestions how to set up new box with antispam system for multiple cPanel boxes and then deliver the scanned message to correct server please let me know.
Paid help is also appreciated
due to increased amount of spam I'm thinking of setting up a new dedicated box for incoming mail. This box would accept email for domains hosted on my production servers, scan the email for viruses, RBLs etc and then deliver the message to cPanel box.
Has anyone done this already ?
I pretty much figurred out how to do this:
1. I change MX for domain names hosted on server 1 , 2 ,3
2. The email go to 4th server which will do spam tests
3. The email is then relayed after tests to correct server
I was thinking of using manualroutes:
manual_route:
transport = remote_smtp
driver = manualroute
domains = ! +local_domains : +relay_to_domains
route_data = ${lookup{$domain} lsearch{/etc/mail/manual_routes}}
and then I would add an entry for each domain name that the email should not be relayed to MX server but to mail.domain.com
I did not test it yet but can someone please tell me if the domain name would be first scanned by ie MailScanner, SpamAssassin and then relayed or Exim would not do anything to such incoming email and just relay it to correct server ?
If you guys have any suggestions how to set up new box with antispam system for multiple cPanel boxes and then deliver the scanned message to correct server please let me know.
Paid help is also appreciated