makesure to add spf record to your dns:
Example:
#Create a TXT record containing this text:
v=spf1 a:mail.yourdomain.com -all
#above meants only allow email to be sent directly from mail.yourdomain.com
if you want to use google:
v=spf1 include:aspmx.googlemail.com -all
for multiple mail server:
v=spf1 a:mail.yourdomain.com a:mail2.yourdomain.com -all
-all = exclude all others..
-----
How to setup qmail to forward emails to another smtp server?
sudo vi /var/qmail/control/smtproutes
:yourexternalserver.com:port# username password
#port, username and password are optional
if you want to set for specific domain:
mydomain.com:yourexternalserver.com:port# username password
:otherexternalserver.com:port# username password
0 comments:
Post a Comment