Scanning External non locally hosted domains: Difference between revisions

From QmailToaster
Jump to navigation Jump to search
(Created page with "===Scanning External non locally hosted domains=== Thanks to Erik Espinoza for these details. ;To scan an external domain or do a 3rd party spamassassin scanning service it is really rather easy. Follow the steps below. *1.Have Domain X's MX record changed to point to the spamassassin server. *2.On SA server, add Domain X's Domain to the /var/qmail/control/rcpthosts file. *3.ON SA server add the receiving server's address for Domain X to the smtproutes file. Examp...")
 
No edit summary
 
Line 1: Line 1:
[[User_Tips_%26_Tricks#Anti_Spam|Back]]<br>
===Scanning External non locally hosted domains===
===Scanning External non locally hosted domains===



Latest revision as of 10:08, 30 March 2024

Back

Scanning External non locally hosted domains

Thanks to Erik Espinoza for these details.

To scan an external domain or do a 3rd party spamassassin scanning service it is really rather easy. Follow the steps below.
  • 1.Have Domain X's MX record changed to point to the spamassassin server.
  • 2.On SA server, add Domain X's Domain to the /var/qmail/control/rcpthosts file.
  • 3.ON SA server add the receiving server's address for Domain X to the smtproutes file. Example format (tailor to suit your situation):
 domainX.com:mail.domainx.com:25 smtp-auth-user smtp-auth-password
  • 4.Restart Qmail, and assuming this is a working system, mails for DomainX will be routed through your SA server and then deliverd to domainx's server.

Mail sent to incorrect users will possibly result in a double bounce, but in my tests the original sender just receives the one bounce with the bounce details.

User Tips & Tricks