Trouble communicating with distant server

Issues related to configuring your network
Post Reply
sm9ai
Posts: 2
Joined: 2018/06/28 08:37:10

Trouble communicating with distant server

Post by sm9ai » 2018/06/28 08:42:54

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:
Image
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?

User avatar
avij
Retired Moderator
Posts: 3046
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: Trouble communicating with distant server

Post by avij » 2018/06/28 09:29:49

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.

sm9ai
Posts: 2
Joined: 2018/06/28 08:37:10

Re: Trouble communicating with distant server

Post by sm9ai » 2018/06/29 07:38:01

Thanks, would this work with an external SMTP server e.g. using something like https://sendgrid.com/

User avatar
avij
Retired Moderator
Posts: 3046
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: Trouble communicating with distant server

Post by avij » 2018/06/29 08:01:32

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.

Post Reply