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;








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







            Popular posts from this blog

            Wikipedia:Vital articles Мазмуну Biography - Өмүр баян Philosophy and psychology - Философия жана психология Religion - Дин Social sciences - Коомдук илимдер Language and literature - Тил жана адабият Science - Илим Technology - Технология Arts and recreation - Искусство жана эс алуу History and geography - Тарых жана география Навигация менюсу

            Club Baloncesto Breogán Índice Historia | Pavillón | Nome | O Breogán na cultura popular | Xogadores | Adestradores | Presidentes | Palmarés | Historial | Líderes | Notas | Véxase tamén | Menú de navegacióncbbreogan.galCadroGuía oficial da ACB 2009-10, páxina 201Guía oficial ACB 1992, páxina 183. Editorial DB.É de 6.500 espectadores sentados axeitándose á última normativa"Estudiantes Junior, entre as mellores canteiras"o orixinalHemeroteca El Mundo Deportivo, 16 setembro de 1970, páxina 12Historia do BreogánAlfredo Pérez, o último canoneiroHistoria C.B. BreogánHemeroteca de El Mundo DeportivoJimmy Wright, norteamericano do Breogán deixará Lugo por ameazas de morteResultados de Breogán en 1986-87Resultados de Breogán en 1990-91Ficha de Velimir Perasović en acb.comResultados de Breogán en 1994-95Breogán arrasa al Barça. "El Mundo Deportivo", 27 de setembro de 1999, páxina 58CB Breogán - FC BarcelonaA FEB invita a participar nunha nova Liga EuropeaCharlie Bell na prensa estatalMáximos anotadores 2005Tempada 2005-06 : Tódolos Xogadores da Xornada""Non quero pensar nunha man negra, mais pregúntome que está a pasar""o orixinalRaúl López, orgulloso dos xogadores, presume da boa saúde económica do BreogánJulio González confirma que cesa como presidente del BreogánHomenaxe a Lisardo GómezA tempada do rexurdimento celesteEntrevista a Lisardo GómezEl COB dinamita el Pazo para forzar el quinto (69-73)Cafés Candelas, patrocinador del CB Breogán"Suso Lázare, novo presidente do Breogán"o orixinalCafés Candelas Breogán firma el mayor triunfo de la historiaEl Breogán realizará 17 homenajes por su cincuenta aniversario"O Breogán honra ao seu fundador e primeiro presidente"o orixinalMiguel Giao recibiu a homenaxe do PazoHomenaxe aos primeiros gladiadores celestesO home que nos amosa como ver o Breo co corazónTita Franco será homenaxeada polos #50anosdeBreoJulio Vila recibirá unha homenaxe in memoriam polos #50anosdeBreo"O Breogán homenaxeará aos seus aboados máis veteráns"Pechada ovación a «Capi» Sanmartín e Ricardo «Corazón de González»Homenaxe por décadas de informaciónPaco García volve ao Pazo con motivo do 50 aniversario"Resultados y clasificaciones""O Cafés Candelas Breogán, campión da Copa Princesa""O Cafés Candelas Breogán, equipo ACB"C.B. Breogán"Proxecto social"o orixinal"Centros asociados"o orixinalFicha en imdb.comMario Camus trata la recuperación del amor en 'La vieja música', su última película"Páxina web oficial""Club Baloncesto Breogán""C. B. Breogán S.A.D."eehttp://www.fegaba.com

            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