Linux sendmail fails when relaying to a named server - but where is that server name configured (CentOS)? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Come Celebrate our 10 Year Anniversary!VPS host can't send email to Google and Yahoo Mailsetup mail on centossendmail: SMTP host name lookup failuresendmail - DSN: Name Server host not foundWhy am I seeing double entries in maillog for each email sent?PHP mail function not working - sendmail to blame?How can I confirm what specific MX priorities SendMail saw when delivering a message?Debugging sendmail - dsn=5.0.0Why are messages queued and not sent with sendmail?sendmail taking lot of time to send email
Why these surprising proportionalities of integrals involving odd zeta values?
Why doesn't the university give past final exams' answers?
What documents does someone with a long-term visa need to travel to another Schengen country?
What is the ongoing value of the Kanban board to the developers as opposed to management
“Since the train was delayed for more than an hour, passengers were given a full refund.” – Why is there no article before “passengers”?
Why aren't these two solutions equivalent? Combinatorics problem
Does using the Inspiration rules for character defects encourage My Guy Syndrome?
Unix AIX passing variable and arguments to expect and spawn
2 sample t test for sample sizes - 30,000 and 150,000
What is the evidence that custom checks in Northern Ireland are going to result in violence?
Knights and Knaves question
Is Bran literally the world's memory?
Help Recreating a Table
A journey... into the MIND
Putting Ant-Man on house arrest
Recursive calls to a function - why is the address of the parameter passed to it lowering with each call?
What came first? Venom as the movie or as the song?
A German immigrant ancestor has a "Registration Affidavit of Alien Enemy" on file. What does that mean exactly?
Assertions In A Mock Callout Test
Does Prince Arnaud cause someone holding the Princess to lose?
If gravity precedes the formation of a solar system, where did the mass come from that caused the gravity?
Etymology of 見舞い
How to produce a PS1 prompt in bash or ksh93 similar to tcsh
Is my guitar’s action too high?
Linux sendmail fails when relaying to a named server - but where is that server name configured (CentOS)?
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)
Come Celebrate our 10 Year Anniversary!VPS host can't send email to Google and Yahoo Mailsetup mail on centossendmail: SMTP host name lookup failuresendmail - DSN: Name Server host not foundWhy am I seeing double entries in maillog for each email sent?PHP mail function not working - sendmail to blame?How can I confirm what specific MX priorities SendMail saw when delivering a message?Debugging sendmail - dsn=5.0.0Why are messages queued and not sent with sendmail?sendmail taking lot of time to send email
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
An application on one of our servers has recently started to fail when sending emails. It is configured to use /usr/sbin/sendmail. Checking the mail log shows the following information:
Apr 16 17:00:05 myserver sendmail[17721]: x3GF0512312312721: to=me@myaddress.net, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30023, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (x3GF0512312312721 Message accepted for delivery)
Apr 16 17:02:05 myserver sendmail[17724]: x3GF023123123722: to=<me@myaddress.net>, ctladdr=<root@myserver.myaddress.net> (0/0), delay=00:02:00, xdelay=00:02:00, mailer=esmtp, pri=120307, relay=lxmail.mailprovider.org. [10.11.5.103], dsn=4.0.0, stat=Deferred: Connection timed out with lxmail.mailprovider.org.
Our mail provider has recently added some new SMTP servers and decommissioned some old ones, so I suspect that somewhere is a configuration pointing at the old SMTP server.
However, I cannot find a single reference to mailprovider.org in any of the config files for sendmail. I have confirmed that sendmail is indeed the process listening on port 25 and the log file shows that sendmail has tried to send to mailprovider.org - but how is sendmail deciding to try mailprovider.org when it doesn't appear in a single sendmail config file?
Where else could this relay destination be configured?
I've tried
> grep -Porn "mailprovider" /etc/mail
and received no results.
How can I change the relay destination?
centos sendmail
add a comment |
An application on one of our servers has recently started to fail when sending emails. It is configured to use /usr/sbin/sendmail. Checking the mail log shows the following information:
Apr 16 17:00:05 myserver sendmail[17721]: x3GF0512312312721: to=me@myaddress.net, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30023, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (x3GF0512312312721 Message accepted for delivery)
Apr 16 17:02:05 myserver sendmail[17724]: x3GF023123123722: to=<me@myaddress.net>, ctladdr=<root@myserver.myaddress.net> (0/0), delay=00:02:00, xdelay=00:02:00, mailer=esmtp, pri=120307, relay=lxmail.mailprovider.org. [10.11.5.103], dsn=4.0.0, stat=Deferred: Connection timed out with lxmail.mailprovider.org.
Our mail provider has recently added some new SMTP servers and decommissioned some old ones, so I suspect that somewhere is a configuration pointing at the old SMTP server.
However, I cannot find a single reference to mailprovider.org in any of the config files for sendmail. I have confirmed that sendmail is indeed the process listening on port 25 and the log file shows that sendmail has tried to send to mailprovider.org - but how is sendmail deciding to try mailprovider.org when it doesn't appear in a single sendmail config file?
Where else could this relay destination be configured?
I've tried
> grep -Porn "mailprovider" /etc/mail
and received no results.
How can I change the relay destination?
centos sendmail
That email address, hostname and IP address look fake. You probably will need to disclose the real information.
– Michael Hampton♦
Apr 16 at 16:06
Assuming myaddress.net's MX is mailprovider there may be some cached MX RRs somewhere or your mail provider did not update their MXs correctly.
– Mark Wagner
Apr 16 at 17:31
add a comment |
An application on one of our servers has recently started to fail when sending emails. It is configured to use /usr/sbin/sendmail. Checking the mail log shows the following information:
Apr 16 17:00:05 myserver sendmail[17721]: x3GF0512312312721: to=me@myaddress.net, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30023, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (x3GF0512312312721 Message accepted for delivery)
Apr 16 17:02:05 myserver sendmail[17724]: x3GF023123123722: to=<me@myaddress.net>, ctladdr=<root@myserver.myaddress.net> (0/0), delay=00:02:00, xdelay=00:02:00, mailer=esmtp, pri=120307, relay=lxmail.mailprovider.org. [10.11.5.103], dsn=4.0.0, stat=Deferred: Connection timed out with lxmail.mailprovider.org.
Our mail provider has recently added some new SMTP servers and decommissioned some old ones, so I suspect that somewhere is a configuration pointing at the old SMTP server.
However, I cannot find a single reference to mailprovider.org in any of the config files for sendmail. I have confirmed that sendmail is indeed the process listening on port 25 and the log file shows that sendmail has tried to send to mailprovider.org - but how is sendmail deciding to try mailprovider.org when it doesn't appear in a single sendmail config file?
Where else could this relay destination be configured?
I've tried
> grep -Porn "mailprovider" /etc/mail
and received no results.
How can I change the relay destination?
centos sendmail
An application on one of our servers has recently started to fail when sending emails. It is configured to use /usr/sbin/sendmail. Checking the mail log shows the following information:
Apr 16 17:00:05 myserver sendmail[17721]: x3GF0512312312721: to=me@myaddress.net, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30023, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (x3GF0512312312721 Message accepted for delivery)
Apr 16 17:02:05 myserver sendmail[17724]: x3GF023123123722: to=<me@myaddress.net>, ctladdr=<root@myserver.myaddress.net> (0/0), delay=00:02:00, xdelay=00:02:00, mailer=esmtp, pri=120307, relay=lxmail.mailprovider.org. [10.11.5.103], dsn=4.0.0, stat=Deferred: Connection timed out with lxmail.mailprovider.org.
Our mail provider has recently added some new SMTP servers and decommissioned some old ones, so I suspect that somewhere is a configuration pointing at the old SMTP server.
However, I cannot find a single reference to mailprovider.org in any of the config files for sendmail. I have confirmed that sendmail is indeed the process listening on port 25 and the log file shows that sendmail has tried to send to mailprovider.org - but how is sendmail deciding to try mailprovider.org when it doesn't appear in a single sendmail config file?
Where else could this relay destination be configured?
I've tried
> grep -Porn "mailprovider" /etc/mail
and received no results.
How can I change the relay destination?
centos sendmail
centos sendmail
edited Apr 16 at 15:42
Jenny D
24.2k116196
24.2k116196
asked Apr 16 at 15:20
AmbulareAmbulare
1011
1011
That email address, hostname and IP address look fake. You probably will need to disclose the real information.
– Michael Hampton♦
Apr 16 at 16:06
Assuming myaddress.net's MX is mailprovider there may be some cached MX RRs somewhere or your mail provider did not update their MXs correctly.
– Mark Wagner
Apr 16 at 17:31
add a comment |
That email address, hostname and IP address look fake. You probably will need to disclose the real information.
– Michael Hampton♦
Apr 16 at 16:06
Assuming myaddress.net's MX is mailprovider there may be some cached MX RRs somewhere or your mail provider did not update their MXs correctly.
– Mark Wagner
Apr 16 at 17:31
That email address, hostname and IP address look fake. You probably will need to disclose the real information.
– Michael Hampton♦
Apr 16 at 16:06
That email address, hostname and IP address look fake. You probably will need to disclose the real information.
– Michael Hampton♦
Apr 16 at 16:06
Assuming myaddress.net's MX is mailprovider there may be some cached MX RRs somewhere or your mail provider did not update their MXs correctly.
– Mark Wagner
Apr 16 at 17:31
Assuming myaddress.net's MX is mailprovider there may be some cached MX RRs somewhere or your mail provider did not update their MXs correctly.
– Mark Wagner
Apr 16 at 17:31
add a comment |
1 Answer
1
active
oldest
votes
You can check to see if you have a bad address on your local DNS with an nslookup or dig request (check /etc/resolv.conf for where your server is looking) or a static map host entry in /etc/hosts.
New contributor
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "2"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f963330%2flinux-sendmail-fails-when-relaying-to-a-named-server-but-where-is-that-server%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
You can check to see if you have a bad address on your local DNS with an nslookup or dig request (check /etc/resolv.conf for where your server is looking) or a static map host entry in /etc/hosts.
New contributor
add a comment |
You can check to see if you have a bad address on your local DNS with an nslookup or dig request (check /etc/resolv.conf for where your server is looking) or a static map host entry in /etc/hosts.
New contributor
add a comment |
You can check to see if you have a bad address on your local DNS with an nslookup or dig request (check /etc/resolv.conf for where your server is looking) or a static map host entry in /etc/hosts.
New contributor
You can check to see if you have a bad address on your local DNS with an nslookup or dig request (check /etc/resolv.conf for where your server is looking) or a static map host entry in /etc/hosts.
New contributor
New contributor
answered Apr 16 at 20:49
Henry CurleyHenry Curley
1262
1262
New contributor
New contributor
add a comment |
add a comment |
Thanks for contributing an answer to Server Fault!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f963330%2flinux-sendmail-fails-when-relaying-to-a-named-server-but-where-is-that-server%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
That email address, hostname and IP address look fake. You probably will need to disclose the real information.
– Michael Hampton♦
Apr 16 at 16:06
Assuming myaddress.net's MX is mailprovider there may be some cached MX RRs somewhere or your mail provider did not update their MXs correctly.
– Mark Wagner
Apr 16 at 17:31