Hi,
I am having problems delivering emails to a few people. This is a recent problem, it worked fine a few months ago.
Running a traceroute shows the following problem:
If I run the traceroute from a different server, it works fine.
Any ideas what I can do to resolve this?
Alternatively, could I configure centos to send these emails via a different route? use a different SMTP server just for emails going to this IP address?
Trouble communicating with distant server
Re: Trouble communicating with distant server
You can complain to your ISP. Perhaps they can route the traffic to that network through some other route.
If you are using Postfix, you can use /etc/postfix/transport to specify some specific SMTP server for emails to some specific domain, such as somedomain.com smtp:[smtp.example.com] (the [brackets] are significant). You need to run postmap /etc/postfix/transport to compile the file into a binary database file after any changes. Of course that SMTP server you specify needs to be configured to allow relaying mail from your IP address.
If you are using Postfix, you can use /etc/postfix/transport to specify some specific SMTP server for emails to some specific domain, such as somedomain.com smtp:[smtp.example.com] (the [brackets] are significant). You need to run postmap /etc/postfix/transport to compile the file into a binary database file after any changes. Of course that SMTP server you specify needs to be configured to allow relaying mail from your IP address.
Re: Trouble communicating with distant server
Thanks, would this work with an external SMTP server e.g. using something like https://sendgrid.com/
Re: Trouble communicating with distant server
Possibly. You may need to set up your mail server to send a username+password when connecting to such servers. This may help for Postfix, although I have not tested those instructions.