Email server multiple domain with different IPsRelay access denied and policy rejection errorsPostfix acting...

What to do when my ideas aren't chosen, when I strongly disagree with the chosen solution?

You're three for three

Stereotypical names

What (else) happened July 1st 1858 in London?

Music terminology - why are seven letters used to name scale tones

Organic chemistry Iodoform Reaction

Did US corporations pay demonstrators in the German demonstrations against article 13?

For airliners, what prevents wing strikes on landing in bad weather?

What would you call a finite collection of unordered objects that are not necessarily distinct?

Is there any significance to the Valyrian Stone vault door of Qarth?

Reply ‘no position’ while the job posting is still there (‘HiWi’ position in Germany)

The One-Electron Universe postulate is true - what simple change can I make to change the whole universe?

Resetting two CD4017 counters simultaneously, only one resets

Latex for-and in equation

Can I Retrieve Email Addresses from BCC?

Calculating the number of days between 2 dates in Excel

How to prevent YouTube from showing already watched videos?

Who must act to prevent Brexit on March 29th?

Is it possible to have a strip of cold climate in the middle of a planet?

How to interpret the phrase "t’en a fait voir à toi"?

Can a malicious addon access internet history and such in chrome/firefox?

Have I saved too much for retirement so far?

Simulating a probability of 1 of 2^N with less than N random bits

How do ultrasonic sensors differentiate between transmitted and received signals?



Email server multiple domain with different IPs


Relay access denied and policy rejection errorsPostfix acting weird: relay access denied“Relay access denied” when send email from another serverPostfix/Dovecot cannot receive email from external sourcespostfix transport relay access deniedPostfix a lot of relay acces denied errors in maillogpam_authenticate() failed: Authentication failure (/etc/pam.d/imap missing?)Postfix - Can't Send Email To Yahoo Server OnlyConfiguring antispam email gateway with mailscanner and postfix as relay serverPostfix / smtpd_relay_restrictions. How to allow relay from third party smtp server to any domains (but not open relay!)













0















I have 2 domains:





  1. ex1.com with IP 1.1.1.1


  2. ex2.com with IP 2.2.2.2


On ex1.com I installed postfix and dovecot with support working on multiple domains (MariaDB with tables and other stuff). Now I want to receive email with the following emails:




  • support@ex1.com

  • postmaster@ex1.com

  • support@ex2.com

  • postmaster@ex2.com


With postmaster@ex1.com and support@ex1.com everything okay, I can receive emails, but when I try to send email to support@ex2.com or postmaster@ex2.com - nothing happens.



DNS zone settings for domain ex1.com:




  • A Record @ 1.1.1.1

  • A Record mail 1.1.1.1

  • A Record www 1.1.1.1

  • MX Record ex1.com mail.ex1.com.

  • MX Record mail.ex1.com ex1.com.


DNS zone settings for domain ex2.com:




  • A Record @ 2.2.2.2

  • A Record mail 1.1.1.1

  • MX Record ex2.com mail.ex1.com.


When I try to send an email to support@mail.ex2.com I got an error in maillot:



Mar 25 22:47:02 ex1 postfix/smtpd[6000]: NOQUEUE: reject: RCPT from: 454 4.7.1 <support@mail.ex2.com>: Relay access denied; from=<user@domain.localdomain> to=<support@mail.ex2.com> proto=ESMTP helo=<user.localdomain>








share







New contributor




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

























    0















    I have 2 domains:





    1. ex1.com with IP 1.1.1.1


    2. ex2.com with IP 2.2.2.2


    On ex1.com I installed postfix and dovecot with support working on multiple domains (MariaDB with tables and other stuff). Now I want to receive email with the following emails:




    • support@ex1.com

    • postmaster@ex1.com

    • support@ex2.com

    • postmaster@ex2.com


    With postmaster@ex1.com and support@ex1.com everything okay, I can receive emails, but when I try to send email to support@ex2.com or postmaster@ex2.com - nothing happens.



    DNS zone settings for domain ex1.com:




    • A Record @ 1.1.1.1

    • A Record mail 1.1.1.1

    • A Record www 1.1.1.1

    • MX Record ex1.com mail.ex1.com.

    • MX Record mail.ex1.com ex1.com.


    DNS zone settings for domain ex2.com:




    • A Record @ 2.2.2.2

    • A Record mail 1.1.1.1

    • MX Record ex2.com mail.ex1.com.


    When I try to send an email to support@mail.ex2.com I got an error in maillot:



    Mar 25 22:47:02 ex1 postfix/smtpd[6000]: NOQUEUE: reject: RCPT from: 454 4.7.1 <support@mail.ex2.com>: Relay access denied; from=<user@domain.localdomain> to=<support@mail.ex2.com> proto=ESMTP helo=<user.localdomain>








    share







    New contributor




    dikkini 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








      I have 2 domains:





      1. ex1.com with IP 1.1.1.1


      2. ex2.com with IP 2.2.2.2


      On ex1.com I installed postfix and dovecot with support working on multiple domains (MariaDB with tables and other stuff). Now I want to receive email with the following emails:




      • support@ex1.com

      • postmaster@ex1.com

      • support@ex2.com

      • postmaster@ex2.com


      With postmaster@ex1.com and support@ex1.com everything okay, I can receive emails, but when I try to send email to support@ex2.com or postmaster@ex2.com - nothing happens.



      DNS zone settings for domain ex1.com:




      • A Record @ 1.1.1.1

      • A Record mail 1.1.1.1

      • A Record www 1.1.1.1

      • MX Record ex1.com mail.ex1.com.

      • MX Record mail.ex1.com ex1.com.


      DNS zone settings for domain ex2.com:




      • A Record @ 2.2.2.2

      • A Record mail 1.1.1.1

      • MX Record ex2.com mail.ex1.com.


      When I try to send an email to support@mail.ex2.com I got an error in maillot:



      Mar 25 22:47:02 ex1 postfix/smtpd[6000]: NOQUEUE: reject: RCPT from: 454 4.7.1 <support@mail.ex2.com>: Relay access denied; from=<user@domain.localdomain> to=<support@mail.ex2.com> proto=ESMTP helo=<user.localdomain>








      share







      New contributor




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












      I have 2 domains:





      1. ex1.com with IP 1.1.1.1


      2. ex2.com with IP 2.2.2.2


      On ex1.com I installed postfix and dovecot with support working on multiple domains (MariaDB with tables and other stuff). Now I want to receive email with the following emails:




      • support@ex1.com

      • postmaster@ex1.com

      • support@ex2.com

      • postmaster@ex2.com


      With postmaster@ex1.com and support@ex1.com everything okay, I can receive emails, but when I try to send email to support@ex2.com or postmaster@ex2.com - nothing happens.



      DNS zone settings for domain ex1.com:




      • A Record @ 1.1.1.1

      • A Record mail 1.1.1.1

      • A Record www 1.1.1.1

      • MX Record ex1.com mail.ex1.com.

      • MX Record mail.ex1.com ex1.com.


      DNS zone settings for domain ex2.com:




      • A Record @ 2.2.2.2

      • A Record mail 1.1.1.1

      • MX Record ex2.com mail.ex1.com.


      When I try to send an email to support@mail.ex2.com I got an error in maillot:



      Mar 25 22:47:02 ex1 postfix/smtpd[6000]: NOQUEUE: reject: RCPT from: 454 4.7.1 <support@mail.ex2.com>: Relay access denied; from=<user@domain.localdomain> to=<support@mail.ex2.com> proto=ESMTP helo=<user.localdomain>






      domain-name-system email postfix





      share







      New contributor




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










      share







      New contributor




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








      share



      share






      New contributor




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









      asked 3 mins ago









      dikkinidikkini

      1012




      1012




      New contributor




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





      New contributor





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






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






















          0






          active

          oldest

          votes











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


          }
          });






          dikkini 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%2fserverfault.com%2fquestions%2f959936%2femail-server-multiple-domain-with-different-ips%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








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










          draft saved

          draft discarded


















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













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












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
















          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%2f959936%2femail-server-multiple-domain-with-different-ips%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

          117736 Шеррод Примітки | Див. також | Посилання | Навігаційне...

          As a Security Precaution, the user account has been locked The Next CEO of Stack OverflowMS...

          Маріан Котлеба Зміст Життєпис | Політичні погляди |...