sendmail problem

General support questions
Post Reply
waishingleung
Posts: 20
Joined: 2015/05/11 01:06:42
Location: Hong Kong

sendmail problem

Post by waishingleung » 2020/09/07 17:33:06

I have a centos7 mail server running sendmail. It have been running for few years
Today, there is one client could not receive our email

I found sendmail is trying to connect to the web server port 25 of our client, not their mail server
I have checked the dns mx record is correct
I can telnet to their mail server port 25

Tried restart service but no luck
Tried change dns server also failed
Tried send email to client using gmail

Anybody has any idea?
:?: :?: :?: :?: :?:

User avatar
TrevorH
Forum Moderator
Posts: 29714
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: sendmail problem

Post by TrevorH » 2020/09/07 17:42:36

Port 25 is not a web server port, it's the standard SMTP port so is the correct one. In any case, port selection has nothing at all to do with DNS or MX records since neither have the ability to specify a port number.
CentOS 6 will die in November 2020 - migrate sooner rather than later!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

waishingleung
Posts: 20
Joined: 2015/05/11 01:06:42
Location: Hong Kong

Re: sendmail problem

Post by waishingleung » 2020/09/07 17:52:33

TrevorH wrote:
2020/09/07 17:42:36
Port 25 is not a web server port, it's the standard SMTP port so is the correct one. In any case, port selection has nothing at all to do with DNS or MX records since neither have the ability to specify a port number.
Thanks for your reply

We could send email to all other people but this client could not
sendmail should connect to client mail server port 25 not the web server port 25
I have checked their dns record, mx record is correct

why sendmail choose to connect to our client web server?

User avatar
TrevorH
Forum Moderator
Posts: 29714
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: sendmail problem

Post by TrevorH » 2020/09/07 20:47:54

You'll have to give concrete examples of what is wrong since we have no idea what the difference is between your destination web/mail server or how you can tell. If the MX record for their domain points to their SMTP server then that is the one that it should be using. We'd need actual log information to debug it any further and you wouldn't be able to obscure the domain names involved or they'd be useless.
CentOS 6 will die in November 2020 - migrate sooner rather than later!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

Post Reply

Return to “CentOS 7 - General Support”