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 - Тарых жана география Навигация менюсу

            Bruxelas-Capital Índice Historia | Composición | Situación lingüística | Clima | Cidades irmandadas | Notas | Véxase tamén | Menú de navegacióneO uso das linguas en Bruxelas e a situación do neerlandés"Rexión de Bruxelas Capital"o orixinalSitio da rexiónPáxina de Bruselas no sitio da Oficina de Promoción Turística de Valonia e BruxelasMapa Interactivo da Rexión de Bruxelas-CapitaleeWorldCat332144929079854441105155190212ID28008674080552-90000 0001 0666 3698n94104302ID540940339365017018237

            What should I write in an apology letter, since I have decided not to join a company after accepting an offer letterShould I keep looking after accepting a job offer?What should I do when I've been verbally told I would get an offer letter, but still haven't gotten one after 4 weeks?Do I accept an offer from a company that I am not likely to join?New job hasn't confirmed starting date and I want to give current employer as much notice as possibleHow should I address my manager in my resignation letter?HR delayed background verification, now jobless as resignedNo email communication after accepting a formal written offer. How should I phrase the call?What should I do if after receiving a verbal offer letter I am informed that my written job offer is put on hold due to some internal issues?Should I inform the current employer that I am about to resign within 1-2 weeks since I have signed the offer letter and waiting for visa?What company will do, if I send their offer letter to another company