Error sending e-mail to internal domains hosted on linux server using sendmail

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I currently have sendmail configured on a web server, and only need to send emails for newsletters, contact forms, notifications, any e-mail address using a domain hosted on the server fails to send. We are using another server on a different IP address for e-mail, and I've tried using that as a relay but ran into the same issue. Additionally, the e-mail address is getting replaced with the FQDN.



Before I tried relaying to our mail server, I could successfully send to any domain, but had the same issue with the hostname of the webserver being added the email address (user@domain.com would be changed to user@host1.domain.com)



Here is the current error:
050 550 5.1.1 : Recipient address rejected: User unknown in local recipient table
050 554 5.5.1 Error: no valid recipients



Any ideas?










share|improve this question









New contributor




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























    up vote
    0
    down vote

    favorite












    I currently have sendmail configured on a web server, and only need to send emails for newsletters, contact forms, notifications, any e-mail address using a domain hosted on the server fails to send. We are using another server on a different IP address for e-mail, and I've tried using that as a relay but ran into the same issue. Additionally, the e-mail address is getting replaced with the FQDN.



    Before I tried relaying to our mail server, I could successfully send to any domain, but had the same issue with the hostname of the webserver being added the email address (user@domain.com would be changed to user@host1.domain.com)



    Here is the current error:
    050 550 5.1.1 : Recipient address rejected: User unknown in local recipient table
    050 554 5.5.1 Error: no valid recipients



    Any ideas?










    share|improve this question









    New contributor




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





















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I currently have sendmail configured on a web server, and only need to send emails for newsletters, contact forms, notifications, any e-mail address using a domain hosted on the server fails to send. We are using another server on a different IP address for e-mail, and I've tried using that as a relay but ran into the same issue. Additionally, the e-mail address is getting replaced with the FQDN.



      Before I tried relaying to our mail server, I could successfully send to any domain, but had the same issue with the hostname of the webserver being added the email address (user@domain.com would be changed to user@host1.domain.com)



      Here is the current error:
      050 550 5.1.1 : Recipient address rejected: User unknown in local recipient table
      050 554 5.5.1 Error: no valid recipients



      Any ideas?










      share|improve this question









      New contributor




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











      I currently have sendmail configured on a web server, and only need to send emails for newsletters, contact forms, notifications, any e-mail address using a domain hosted on the server fails to send. We are using another server on a different IP address for e-mail, and I've tried using that as a relay but ran into the same issue. Additionally, the e-mail address is getting replaced with the FQDN.



      Before I tried relaying to our mail server, I could successfully send to any domain, but had the same issue with the hostname of the webserver being added the email address (user@domain.com would be changed to user@host1.domain.com)



      Here is the current error:
      050 550 5.1.1 : Recipient address rejected: User unknown in local recipient table
      050 554 5.5.1 Error: no valid recipients



      Any ideas?







      debian sendmail






      share|improve this question









      New contributor




      Natrix 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 question









      New contributor




      Natrix 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 question




      share|improve this question








      edited Nov 16 at 23:46









      Rui F Ribeiro

      38.2k1475123




      38.2k1475123






      New contributor




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









      asked Nov 16 at 23:09









      Natrix

      11




      11




      New contributor




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





      New contributor





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






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




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          This may or may not help. It is my understanding that the server is just seeing the incoming mail as comming from an invalid sender for some reason. The issue with the adding of the hostname is most likely comming from the server not knowing the format you wish to have the mail processed too. Also this might help: https://access.redhat.com/documentation/en-us/red_hat_network_satellite/5.0/html/installation_guide/s1-installation-sendmail. Let me know if that helped.






          share|improve this answer








          New contributor




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

















          • I'll give that a try. So even though I can receive e-mail sent to the same addresses normal (via e-mail clients, webmail, etc), when it is sent to the mail server from the web server that e-mail is considered invalid and the problems start? It would seem like all mail I try to send from the web server would fail, which isn't the case. I can send to say, gmail, through the command line or web application without any issues.
            – Natrix
            2 days ago











          • It looks like the suggestions you mentioned wouldn't apply for me. I already had the changes for sendmail.mc applied and am no using smrsh.
            – Natrix
            2 days ago










          • Sorry I could not help, good luck with finding a fix.
            – Michael Prokopec
            2 days ago










          • O in that sendmail.mc file is MAILER(`local') set if not it may be rejecting it based on the fact it looks to be coming from it's self and it is not set to recieve localy.
            – Michael Prokopec
            yesterday











          • This may also help: ghacks.net/2009/06/05/…
            – Michael Prokopec
            yesterday










          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          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',
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          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
          );



          );






          Natrix is a new contributor. Be nice, and check out our Code of Conduct.









           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f482260%2ferror-sending-e-mail-to-internal-domains-hosted-on-linux-server-using-sendmail%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








          up vote
          0
          down vote













          This may or may not help. It is my understanding that the server is just seeing the incoming mail as comming from an invalid sender for some reason. The issue with the adding of the hostname is most likely comming from the server not knowing the format you wish to have the mail processed too. Also this might help: https://access.redhat.com/documentation/en-us/red_hat_network_satellite/5.0/html/installation_guide/s1-installation-sendmail. Let me know if that helped.






          share|improve this answer








          New contributor




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

















          • I'll give that a try. So even though I can receive e-mail sent to the same addresses normal (via e-mail clients, webmail, etc), when it is sent to the mail server from the web server that e-mail is considered invalid and the problems start? It would seem like all mail I try to send from the web server would fail, which isn't the case. I can send to say, gmail, through the command line or web application without any issues.
            – Natrix
            2 days ago











          • It looks like the suggestions you mentioned wouldn't apply for me. I already had the changes for sendmail.mc applied and am no using smrsh.
            – Natrix
            2 days ago










          • Sorry I could not help, good luck with finding a fix.
            – Michael Prokopec
            2 days ago










          • O in that sendmail.mc file is MAILER(`local') set if not it may be rejecting it based on the fact it looks to be coming from it's self and it is not set to recieve localy.
            – Michael Prokopec
            yesterday











          • This may also help: ghacks.net/2009/06/05/…
            – Michael Prokopec
            yesterday














          up vote
          0
          down vote













          This may or may not help. It is my understanding that the server is just seeing the incoming mail as comming from an invalid sender for some reason. The issue with the adding of the hostname is most likely comming from the server not knowing the format you wish to have the mail processed too. Also this might help: https://access.redhat.com/documentation/en-us/red_hat_network_satellite/5.0/html/installation_guide/s1-installation-sendmail. Let me know if that helped.






          share|improve this answer








          New contributor




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

















          • I'll give that a try. So even though I can receive e-mail sent to the same addresses normal (via e-mail clients, webmail, etc), when it is sent to the mail server from the web server that e-mail is considered invalid and the problems start? It would seem like all mail I try to send from the web server would fail, which isn't the case. I can send to say, gmail, through the command line or web application without any issues.
            – Natrix
            2 days ago











          • It looks like the suggestions you mentioned wouldn't apply for me. I already had the changes for sendmail.mc applied and am no using smrsh.
            – Natrix
            2 days ago










          • Sorry I could not help, good luck with finding a fix.
            – Michael Prokopec
            2 days ago










          • O in that sendmail.mc file is MAILER(`local') set if not it may be rejecting it based on the fact it looks to be coming from it's self and it is not set to recieve localy.
            – Michael Prokopec
            yesterday











          • This may also help: ghacks.net/2009/06/05/…
            – Michael Prokopec
            yesterday












          up vote
          0
          down vote










          up vote
          0
          down vote









          This may or may not help. It is my understanding that the server is just seeing the incoming mail as comming from an invalid sender for some reason. The issue with the adding of the hostname is most likely comming from the server not knowing the format you wish to have the mail processed too. Also this might help: https://access.redhat.com/documentation/en-us/red_hat_network_satellite/5.0/html/installation_guide/s1-installation-sendmail. Let me know if that helped.






          share|improve this answer








          New contributor




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









          This may or may not help. It is my understanding that the server is just seeing the incoming mail as comming from an invalid sender for some reason. The issue with the adding of the hostname is most likely comming from the server not knowing the format you wish to have the mail processed too. Also this might help: https://access.redhat.com/documentation/en-us/red_hat_network_satellite/5.0/html/installation_guide/s1-installation-sendmail. Let me know if that helped.







          share|improve this answer








          New contributor




          Michael Prokopec 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




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









          answered 2 days ago









          Michael Prokopec

          967




          967




          New contributor




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





          New contributor





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






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











          • I'll give that a try. So even though I can receive e-mail sent to the same addresses normal (via e-mail clients, webmail, etc), when it is sent to the mail server from the web server that e-mail is considered invalid and the problems start? It would seem like all mail I try to send from the web server would fail, which isn't the case. I can send to say, gmail, through the command line or web application without any issues.
            – Natrix
            2 days ago











          • It looks like the suggestions you mentioned wouldn't apply for me. I already had the changes for sendmail.mc applied and am no using smrsh.
            – Natrix
            2 days ago










          • Sorry I could not help, good luck with finding a fix.
            – Michael Prokopec
            2 days ago










          • O in that sendmail.mc file is MAILER(`local') set if not it may be rejecting it based on the fact it looks to be coming from it's self and it is not set to recieve localy.
            – Michael Prokopec
            yesterday











          • This may also help: ghacks.net/2009/06/05/…
            – Michael Prokopec
            yesterday
















          • I'll give that a try. So even though I can receive e-mail sent to the same addresses normal (via e-mail clients, webmail, etc), when it is sent to the mail server from the web server that e-mail is considered invalid and the problems start? It would seem like all mail I try to send from the web server would fail, which isn't the case. I can send to say, gmail, through the command line or web application without any issues.
            – Natrix
            2 days ago











          • It looks like the suggestions you mentioned wouldn't apply for me. I already had the changes for sendmail.mc applied and am no using smrsh.
            – Natrix
            2 days ago










          • Sorry I could not help, good luck with finding a fix.
            – Michael Prokopec
            2 days ago










          • O in that sendmail.mc file is MAILER(`local') set if not it may be rejecting it based on the fact it looks to be coming from it's self and it is not set to recieve localy.
            – Michael Prokopec
            yesterday











          • This may also help: ghacks.net/2009/06/05/…
            – Michael Prokopec
            yesterday















          I'll give that a try. So even though I can receive e-mail sent to the same addresses normal (via e-mail clients, webmail, etc), when it is sent to the mail server from the web server that e-mail is considered invalid and the problems start? It would seem like all mail I try to send from the web server would fail, which isn't the case. I can send to say, gmail, through the command line or web application without any issues.
          – Natrix
          2 days ago





          I'll give that a try. So even though I can receive e-mail sent to the same addresses normal (via e-mail clients, webmail, etc), when it is sent to the mail server from the web server that e-mail is considered invalid and the problems start? It would seem like all mail I try to send from the web server would fail, which isn't the case. I can send to say, gmail, through the command line or web application without any issues.
          – Natrix
          2 days ago













          It looks like the suggestions you mentioned wouldn't apply for me. I already had the changes for sendmail.mc applied and am no using smrsh.
          – Natrix
          2 days ago




          It looks like the suggestions you mentioned wouldn't apply for me. I already had the changes for sendmail.mc applied and am no using smrsh.
          – Natrix
          2 days ago












          Sorry I could not help, good luck with finding a fix.
          – Michael Prokopec
          2 days ago




          Sorry I could not help, good luck with finding a fix.
          – Michael Prokopec
          2 days ago












          O in that sendmail.mc file is MAILER(`local') set if not it may be rejecting it based on the fact it looks to be coming from it's self and it is not set to recieve localy.
          – Michael Prokopec
          yesterday





          O in that sendmail.mc file is MAILER(`local') set if not it may be rejecting it based on the fact it looks to be coming from it's self and it is not set to recieve localy.
          – Michael Prokopec
          yesterday













          This may also help: ghacks.net/2009/06/05/…
          – Michael Prokopec
          yesterday




          This may also help: ghacks.net/2009/06/05/…
          – Michael Prokopec
          yesterday










          Natrix is a new contributor. Be nice, and check out our Code of Conduct.









           

          draft saved


          draft discarded


















          Natrix is a new contributor. Be nice, and check out our Code of Conduct.












          Natrix is a new contributor. Be nice, and check out our Code of Conduct.











          Natrix is a new contributor. Be nice, and check out our Code of Conduct.













           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f482260%2ferror-sending-e-mail-to-internal-domains-hosted-on-linux-server-using-sendmail%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

          How to check contact read email or not when send email to Individual?

          Bahrain

          Postfix configuration issue with fips on centos 7; mailgun relay