Thanks for your response Jarland, but i’m still having issues. Maybe there is something I am just not grasping here.
I’ve read lots of articles, and lots of comments here about how to setup and use MXroute But it seems to be, that the majority of people who use your service are using shared hosting or managed VPS. Because most of the tutorials I have found involve setting within cPanel or some other GUI. That is not my case, and I’m no expert in SMTP or Postfix.
In my case, I have a unmanaged VPS no GUI, I use CLI for everything. That’s not a problem and I rather have it that way. It’s just hard to figure it out, for the first time.
There are 2 paths I can go. One, the route you outlined above. Send everything from my VPS to MXroute. This involves individually setting up each and every email.
The other way to do it is to configure each and every domain to route to MXroute. This way might be easy for me. At least it would be easier to understand (at first).
I have followed your instructions above but am getting these error messages:
62206281508: to=<myemail@gmail,com>, relay=none, delay=13018, delays=13018/0.03/0/0.01, dsn=4.0.0, status=deferred (delivery temporarily suspended: SASL authentication failed; server echo,mxrouting,net[22.214.171.124] said: 535 Incorrect authentication data)
So regardless, I have some type of authentication issue that needs to be resolved no matter what I do.
I can send email from my VPS server to my gmail account. They get flagged as spam (they should) but the point is they work. But, to get this done I had to REM out all smtp and smtpd statements you have to install above.
Let me try and put this as simple as possible. Lets get me working on a single domain first. Then when that works, I should be able to replicate what I did for other domains. Again, I am just sending transactional outgoing mail.
My VPS hostname (should be irrelevant) : 8374493,vpshost,com
I host domain.com on my VPS. And on MXroute i have defined multiple email info@domain,com, admin@domain,com, sales@domain,com
My Postfix settings within main.cf that I think are relevant:
myhostname = 8374493,vpshost,com
mydestination = $myhostname, 8374493,vpshost,com, localhost,localdomain, localhost, domain,com
inet_interfaces = loopback # send-only
inet_protocals = ipv4 # it could be all
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
I had to REM all this out to get it working:
#relayhost = echo,mxrouting,net
#smtp_sasl_auth_enable = yes
#smtp_sasl_password_maps = hash:/etc/postfix/password
#smtp_sasl_security_options = noanonymous
#smtpd_sasl_authenticated_header = yes
#smtp_tls_security_level = encrypt
Now I think, you tell me, what I have to do next is re-enable relayhost = echo,mxrouting,net. Then fix the authentication failure problem I am having. How do I do that?
Or is there something I else I am missing?