Loading ...
Sorry, an error occurred while loading the content.
 

Re: Can't send mails outside my domain

Expand Messages
  • Reindl Harald
    ... Oct 1 17:08:44 mail postfix/qmgr[2661]: 579AA10042B: from= , size=931, nrcpt=1 (queue active) Oct 1 17:08:45 mail
    Message 1 of 10 , Oct 1, 2012
      Am 01.10.2012 18:17, schrieb Alumno Etsii:
      > Hi list!
      >
      > I've successfully setup my Postfix server with virtual users (using MySQL), let's call this machine 'mail'. I've
      > another server (machine) that relays through 'mail' to send mails, let's call it 'client'. Whenever I try to send
      > an e-mail from 'client' relaying through 'mail', I can do this only if the destination is the same domain that
      > 'mail' is configured to handle. Otherwise, I get an error like this:

      Oct 1 17:08:44 mail postfix/qmgr[2661]: 579AA10042B: from=<root@...>, size=931, nrcpt=1 (queue active)
      Oct 1 17:08:45 mail postfix/smtp[4952]: 579AA10042B: to=<todos.somos.yo@...>,
      relay=devels.es[91.215.158.237]:25, delay=1.3, delays=0.14/0.11/0.83/0.19, dsn=5.0.0, status=bounced (host
      devels.es[91.215.158.237] said: 550-Verification failed for <root@...> 550-The mail server could not
      deliver mail to root@.... The account or domain may not exist, they may be blacklisted, or missing
      the proper dns entries. 550 Sender verify failed (in reply to RCPT TO command))

      so is "root@..." a VALID RCPT on your MX?
    • Alumno Etsii
      2012/10/1 Reindl Harald ... First off, thanks for your fast response! I m not sure what do you mean, are you refering to DNS entries?
      Message 2 of 10 , Oct 1, 2012
        2012/10/1 Reindl Harald <h.reindl@...>


        Am 01.10.2012 18:17, schrieb Alumno Etsii:
        > Hi list!
        >
        > I've successfully setup my Postfix server with virtual users (using MySQL), let's call this machine 'mail'. I've
        > another server (machine) that relays through 'mail' to send mails, let's call it 'client'. Whenever I try to send
        > an e-mail from 'client' relaying through 'mail', I can do this only if the destination is the same domain that
        > 'mail' is configured to handle. Otherwise, I get an error like this:

        Oct  1 17:08:44 mail postfix/qmgr[2661]: 579AA10042B: from=<root@...>, size=931, nrcpt=1 (queue active)
        Oct  1 17:08:45 mail postfix/smtp[4952]: 579AA10042B: to=<todos.somos.yo@...>,
        relay=devels.es[91.215.158.237]:25, delay=1.3, delays=0.14/0.11/0.83/0.19, dsn=5.0.0, status=bounced (host
        devels.es[91.215.158.237] said: 550-Verification failed for <root@...> 550-The mail server could not
        deliver mail to root@....  The account or domain may not exist, they may be blacklisted, or missing
        the proper dns entries. 550 Sender verify failed (in reply to RCPT TO command))

        so is "root@..." a VALID RCPT on your MX?


        First off, thanks for your fast response!

        I'm not sure what do you mean, are you refering to DNS entries? If so, how can I do to make any *.devels.es host valid? I supposed that 'permit_mynetworks' for senders ('client' would match mynetworks) would make any sender address valid to relay even if it doesn't exist, if I'm wrong, I'd appreciate any clue!

        Thanks in advance!
      • Wietse Venema
        ... The servre complains about the sender address: root@client.devels.es. Does client.devels.es exist? Does root@client.devels.es exist? Wietse
        Message 3 of 10 , Oct 1, 2012
          Alumno Etsii:
          > Oct 1 17:08:44 mail postfix/qmgr[2661]: 579AA10042B: from=<
          > root@...>, size=931, nrcpt=1 (queue active)

          > Oct 1 17:08:45 mail postfix/smtp[4952]: 579AA10042B: to=<
          > todos.somos.yo@...>, relay=devels.es[91.215.158.237]:25,
          > delay=1.3, delays=0.14/0.11/0.83/0.19, dsn=5.0.0, status=bounced
          > (host devels.es[91.215.158.237] said: 550-Verification failed for
          > <root@...> 550-The mail server could not deliver mail
          > to root@.... The account or domain may not exist,
          > they may be blacklisted, or missing the proper dns entries. 550
          > Sender verify failed (in reply to RCPT TO command))

          The servre complains about the sender address: root@....
          Does client.devels.es exist?
          Does root@... exist?

          Wietse
        • Alumno Etsii
          2012/10/1 Wietse Venema ... client.devels.es exists (and resolves), but root@client.devels.es doesn t exist, and that s how I want it to
          Message 4 of 10 , Oct 1, 2012
            2012/10/1 Wietse Venema <wietse@...>
            Alumno Etsii:
            > Oct  1 17:08:44 mail postfix/qmgr[2661]: 579AA10042B: from=<
            > root@...>, size=931, nrcpt=1 (queue active)

            > Oct  1 17:08:45 mail postfix/smtp[4952]: 579AA10042B: to=<
            > todos.somos.yo@...>, relay=devels.es[91.215.158.237]:25,
            > delay=1.3, delays=0.14/0.11/0.83/0.19, dsn=5.0.0, status=bounced
            > (host devels.es[91.215.158.237] said: 550-Verification failed for
            > <root@...> 550-The mail server could not deliver mail
            > to root@....  The account or domain may not exist,
            > they may be blacklisted, or missing the proper dns entries. 550
            > Sender verify failed (in reply to RCPT TO command))

            The servre complains about the sender address: root@....
            Does client.devels.es exist?
            Does root@... exist?

                    Wietse

            client.devels.es exists (and resolves), but root@... doesn't exist, and that's how I want it to be, so if I send an e-mail from anything@... it should relay correctly even if that account doesn't exist. That's what I wanted to achieve permitting mynetworks in smtpd_sender_restrictions. Is that even possible?
          • Ralf Hildebrandt
            ... $ host client.devels.es Host client.devels.es not found: 3(NXDOMAIN) -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité -
            Message 5 of 10 , Oct 1, 2012
              * Alumno Etsii <todos.somos.yo@...>:

              > client.devels.es exists (and resolves), but root@... doesn't

              $ host client.devels.es
              Host client.devels.es not found: 3(NXDOMAIN)

              --
              Ralf Hildebrandt
              Geschäftsbereich IT | Abteilung Netzwerk
              Charité - Universitätsmedizin Berlin
              Campus Benjamin Franklin
              Hindenburgdamm 30 | D-12203 Berlin
              Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962
              ralf.hildebrandt@... | http://www.charite.de
            • Alumno Etsii
              2012/10/1 Ralf Hildebrandt ... Well, I meant in the local mail server, it actually resolves. Or does it HAVE to exist the DNS
              Message 6 of 10 , Oct 1, 2012
                2012/10/1 Ralf Hildebrandt <Ralf.Hildebrandt@...>
                * Alumno Etsii <todos.somos.yo@...>:

                > client.devels.es exists (and resolves), but root@... doesn't

                $ host client.devels.es
                Host client.devels.es not found: 3(NXDOMAIN)

                --
                Ralf Hildebrandt
                  Geschäftsbereich IT | Abteilung Netzwerk
                  Charité - Universitätsmedizin Berlin
                  Campus Benjamin Franklin
                  Hindenburgdamm 30 | D-12203 Berlin
                  Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962
                  ralf.hildebrandt@... | http://www.charite.de


                Well, I meant in the local 'mail' server, it actually resolves. Or does it HAVE to exist the DNS registry by imperative?
              • Ralf Hildebrandt
                ... If you want to send outside your own domain, yes. Since (almost) everybody checks if the sender domain is valid. After all, one cannot reply otherwise...
                Message 7 of 10 , Oct 1, 2012
                  * Alumno Etsii <todos.somos.yo@...>:
                  > 2012/10/1 Ralf Hildebrandt <Ralf.Hildebrandt@...>
                  >
                  > > * Alumno Etsii <todos.somos.yo@...>:
                  > >
                  > > > client.devels.es exists (and resolves), but root@...'t
                  > >
                  > > $ host client.devels.es
                  > > Host client.devels.es not found: 3(NXDOMAIN)
                  >
                  > Well, I meant in the local 'mail' server, it actually resolves. Or does it
                  > HAVE to exist the DNS registry by imperative?

                  If you want to send outside your own domain, yes. Since (almost) everybody
                  checks if the sender domain is valid. After all, one cannot reply
                  otherwise...

                  --
                  Ralf Hildebrandt
                  Geschäftsbereich IT | Abteilung Netzwerk
                  Charité - Universitätsmedizin Berlin
                  Campus Benjamin Franklin
                  Hindenburgdamm 30 | D-12203 Berlin
                  Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962
                  ralf.hildebrandt@... | http://www.charite.de
                • Reindl Harald
                  ... the RCPT server does sender verification so it connects to the MX of the sender and starts a mail-converastion only if your server says RCPT OK, send
                  Message 8 of 10 , Oct 1, 2012
                    Am 01.10.2012 19:00, schrieb Alumno Etsii:
                    > Well, I meant in the local 'mail' server, it actually resolves. Or does it HAVE to exist the DNS registry by
                    > imperative?

                    the RCPT server does "sender verification"
                    so it connects to the MX of the sender and starts a mail-converastion
                    only if your server says "RCPT OK, send message" the RCPT server
                    will accept your message

                    this is common

                    NEVER EVER send ANY message with a sender for which
                    you do not receive e-mail - never!
                  • Alumno Etsii
                    2012/10/1 Reindl Harald ... Unbelievable I didn t realize such a logic thing... Thank you ALL guys, it s working now!
                    Message 9 of 10 , Oct 1, 2012
                      2012/10/1 Reindl Harald <h.reindl@...>


                      Am 01.10.2012 19:00, schrieb Alumno Etsii:
                      > Well, I meant in the local 'mail' server, it actually resolves. Or does it HAVE to exist the DNS registry by
                      > imperative?

                      the RCPT server does "sender verification"
                      so it connects to the MX of the sender and starts a mail-converastion
                      only if your server says "RCPT OK, send message" the RCPT server
                      will accept your message

                      this is common

                      NEVER EVER send ANY message with a sender for which
                      you do not receive e-mail - never!



                      Unbelievable I didn't realize such a logic thing... Thank you ALL guys, it's working now!
                    Your message has been successfully submitted and would be delivered to recipients shortly.