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

Multi tool use
Multi tool use

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;








0















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?










share|improve this question
























  • 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

















0















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?










share|improve this question
























  • 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













0












0








0








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?










share|improve this question
















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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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

















  • 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










1 Answer
1






active

oldest

votes


















0














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.






share|improve this answer








New contributor




Henry Curley is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















    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
    );



    );













    draft saved

    draft discarded


















    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









    0














    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.






    share|improve this answer








    New contributor




    Henry Curley is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.
























      0














      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.






      share|improve this answer








      New contributor




      Henry Curley is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















        0












        0








        0







        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.






        share|improve this answer








        New contributor




        Henry Curley is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.










        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.







        share|improve this answer








        New contributor




        Henry Curley is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        share|improve this answer



        share|improve this answer






        New contributor




        Henry Curley is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        answered Apr 16 at 20:49









        Henry CurleyHenry Curley

        1262




        1262




        New contributor




        Henry Curley is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.





        New contributor





        Henry Curley is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.






        Henry Curley is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.



























            draft saved

            draft discarded
















































            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.




            draft saved


            draft discarded














            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





















































            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







            HBd SFjoE 6mOBzfraKVs7 a63,n6c4TxA wLfK9pC FeY9iSpV6iJ5Ha7p s3,ipva7zVQkP8lQ
            FSf7lSDAWJ4itlDW,2az,7BA,pDOtZo QqGXv 60hot u FFJN7py2ZdzB KMqB2oJF,OYwMR,2EN2I,jUnlT

            Popular posts from this blog

            RemoteApp sporadic failureWindows 2008 RemoteAPP client disconnects within a matter of minutesWhat is the minimum version of RDP supported by Server 2012 RDS?How to configure a Remoteapp server to increase stabilityMicrosoft RemoteApp Active SessionRDWeb TS connection broken for some users post RemoteApp certificate changeRemote Desktop Licensing, RemoteAPPRDS 2012 R2 some users are not able to logon after changed date and time on Connection BrokersWhat happens during Remote Desktop logon, and is there any logging?After installing RDS on WinServer 2016 I still can only connect with two users?RD Connection via RDGW to Session host is not connecting

            Vilaño, A Laracha Índice Patrimonio | Lugares e parroquias | Véxase tamén | Menú de navegación43°14′52″N 8°36′03″O / 43.24775, -8.60070

            Cegueira Índice Epidemioloxía | Deficiencia visual | Tipos de cegueira | Principais causas de cegueira | Tratamento | Técnicas de adaptación e axudas | Vida dos cegos | Primeiros auxilios | Crenzas respecto das persoas cegas | Crenzas das persoas cegas | O neno deficiente visual | Aspectos psicolóxicos da cegueira | Notas | Véxase tamén | Menú de navegación54.054.154.436928256blindnessDicionario da Real Academia GalegaPortal das Palabras"International Standards: Visual Standards — Aspects and Ranges of Vision Loss with Emphasis on Population Surveys.""Visual impairment and blindness""Presentan un plan para previr a cegueira"o orixinalACCDV Associació Catalana de Cecs i Disminuïts Visuals - PMFTrachoma"Effect of gene therapy on visual function in Leber's congenital amaurosis"1844137110.1056/NEJMoa0802268Cans guía - os mellores amigos dos cegosArquivadoEscola de cans guía para cegos en Mortágua, PortugalArquivado"Tecnología para ciegos y deficientes visuales. Recopilación de recursos gratuitos en la Red""Colorino""‘COL.diesis’, escuchar los sonidos del color""COL.diesis: Transforming Colour into Melody and Implementing the Result in a Colour Sensor Device"o orixinal"Sistema de desarrollo de sinestesia color-sonido para invidentes utilizando un protocolo de audio""Enseñanza táctil - geometría y color. Juegos didácticos para niños ciegos y videntes""Sistema Constanz"L'ocupació laboral dels cecs a l'Estat espanyol està pràcticament equiparada a la de les persones amb visió, entrevista amb Pedro ZuritaONCE (Organización Nacional de Cegos de España)Prevención da cegueiraDescrición de deficiencias visuais (Disc@pnet)Braillín, un boneco atractivo para calquera neno, con ou sen discapacidade, que permite familiarizarse co sistema de escritura e lectura brailleAxudas Técnicas36838ID00897494007150-90057129528256DOID:1432HP:0000618D001766C10.597.751.941.162C97109C0155020