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

Re: Mail Undeliverable error with Postfix

Expand Messages
  • jan gestre
    Hi Mouss, I ve just replicated the issue right now, from /var/log/maillog: Feb 1 21:26:38 mail postfix/cleanup[19777]: 55E6C148049: hold: header Received:
    Message 1 of 13 , Feb 1, 2009
    • 0 Attachment
      Hi Mouss,

      I've just replicated the issue right now, from /var/log/maillog:

      Feb  1 21:26:38 mail postfix/cleanup[19777]: 55E6C148049: hold: header Received: from [127.0.0.1] (unknown [122.53.207.8])??by mail.ddblocal.com (Postfix) with ESMTP id 55E6C148049??for <ragestre@...>; Sun,  1 Feb 2009 21:26:37 +0800 (PHT) from unknown[122.53.207.8]; from=<jan.gestre@...> to=<ragestre@...> proto=ESMTP helo=<[127.0.0.1]>
      Feb  1 21:26:38 mail postfix/cleanup[19777]: 55E6C148049: message-id=<4985A3E0.7000802@...>
      Feb  1 21:26:38 mail postfix/smtpd[19520]: disconnect from unknown[122.53.207.8]
      Feb  1 21:26:38 mail dovecot: imap-login: Login: user=<jan.gestre@...>, method=plain, rip=::ffff:122.53.207.8, lip=::ffff:192.168.1.3

      Feb  1 21:26:42 mail MailScanner[17048]: Uninfected: Delivered 1 messages
      Feb  1 21:26:42 mail MailScanner[17048]: MailScanner child dying of old age
      Feb  1 21:26:42 mail postfix/pipe[19788]: D9A6D148050: to=<postmaster@...>, relay=dovecot, delay=5.6, delays=5.6/0.01/0/0.03, dsn=5.1.1, status=bounced (user unknown)


      postmaster@... exists and has an alias jan.gestre@..., all emails for the postmaster gets forwarded to this account. This doesn't happen when I used a webmail client.

      On Sun, Feb 1, 2009 at 9:10 PM, mouss <mouss@...> wrote:
      jan gestre a écrit :
      > Hi Mouss,
      >
      > This is from my inbox, user jan.gestre@...
      > <mailto:jan.gestre@...> is a real user.
      >

      you need to check the postfix logs (/var/log/maillog or
      /var/log/mail.log or the like), not bounce messages.

      for obvious reasons, postfix won't tell everything to an smtp client, so
      you won't know what is really happening by looking at a bounce message.

      but from the bounce message, I see that <postmaster@...> is
      "unknown". This is bad. if this is one of your domains, make sure mail
      for postmaster is accepted and delivered. In general, people create an
      alias for this address (alias_maps if domain is in mydestination,
      virtual_alias_maps if domain is virtual).

    • Daniel V. Reinhardt
      Hi Mouss, I ve just replicated the issue right now, from /var/log/maillog: Feb 1 21:26:38 mail postfix/cleanup[19777]: 55E6C148049: hold: header Received:
      Message 2 of 13 , Feb 1, 2009
      • 0 Attachment
        Hi Mouss,

        I've just replicated the issue right now, from /var/log/maillog:

        Feb  1 21:26:38 mail postfix/cleanup[19777]: 55E6C148049: hold: header Received: from [127.0.0.1] (unknown [122.53.207.8])??by mail.ddblocal.com (Postfix) with ESMTP id 55E6C148049??for <ragestre@...>; Sun,  1 Feb 2009 21:26:37 +0800 (PHT) from unknown[122.53.207.8]; from=<jan.gestre@...> to=<ragestre@...> proto=ESMTP helo=<[127.0.0.1]>
        Feb  1 21:26:38 mail postfix/cleanup[19777]: 55E6C148049: message-id=<4985A3E0.7000802@...>
        Feb  1 21:26:38 mail postfix/smtpd[19520]: disconnect from unknown[122.53.207.8]
        Feb  1 21:26:38 mail dovecot: imap-login: Login: user=<jan.gestre@...>, method=plain, rip=::ffff:122.53.207.8, lip=::ffff:192.168.1.3

        Feb  1 21:26:42 mail MailScanner[17048]: Uninfected: Delivered 1 messages
        Feb  1 21:26:42 mail MailScanner[17048]: MailScanner child dying of old age
        Feb  1 21:26:42 mail postfix/pipe[19788]: D9A6D148050: to=<postmaster@...>, relay=dovecot, delay=5.6, delays=5.6/0.01/0/0.03, dsn=5.1.1, status=bounced (user unknown)


        postmaster@... exists and has an alias jan.gestre@..., all emails for the postmaster gets forwarded to this account. This doesn't happen when I used a webmail client.

        On Sun, Feb 1, 2009 at 9:10 PM, mouss <mouss@...> wrote:
        jan gestre a écrit :
        > Hi Mouss,
        >
        > This is from my inbox, user jan.gestre@...
        > <mailto:jan.gestre@...> is a real user.
        >

        you need to check the postfix logs (/var/log/maillog or
        /var/log/mail.log or the like), not bounce messages.

        for obvious reasons, postfix won't tell everything to an smtp client, so
        you won't know what is really happening by looking at a bounce message.

        but from the bounce message, I see that <postmaster@...> is
        "unknown". This is bad. if this is one of your domains, make sure mail
        for postmaster is accepted and delivered. In general, people create an
        alias for this address (alias_maps if domain is in mydestination,
        virtual_alias_maps if domain is virtual).

        I have sent you an email to postmaster@... and it was successful:

        2009-02-01 07:51:28 1LTcjQ-0003gJ-Jt => cryptodan <cryptodan@...> F=<> R=localuser T=local_delivery S=3121

        2009-02-01 07:53:08 1LTcl2-0003hp-Cu <= cryptodan@... H=static-71-178-174-180.washdc.fios.verizon.net (alphacentari) [71.178.174.180] P=esmtpa A=login:cryptodan S=2126 id=8A130529BA7D4BF399B598EE69C586CE@alphacentari T="Testing" from <cryptodan@...> for postmaster@...

        2009-02-01 07:53:10 1LTcl2-0003hp-Cu => postmaster@... F=<cryptodan@...> R=lookuphost T=remote_smtp S=2187 H=mail.ddbphil.com [122.55.93.36] C="250 2.0.0 Ok: queued as 966C2148049"




      • jan gestre
        Hi Daniel, Just like I said, postmaster account exists, I don t know why this is happening. ... Hi Daniel, Just like I said, postmaster account exists, I don t
        Message 3 of 13 , Feb 1, 2009
        • 0 Attachment
          Hi Daniel,

          Just like I said, postmaster account exists, I don't know why this is happening.

          On Sun, Feb 1, 2009 at 10:04 PM, Daniel V. Reinhardt <cryptodan@...> wrote:
          Hi Mouss,

          I've just replicated the issue right now, from /var/log/maillog:

          Feb  1 21:26:38 mail postfix/cleanup[19777]: 55E6C148049: hold: header Received: from [127.0.0.1] (unknown [122.53.207.8])??by mail.ddblocal.com (Postfix) with ESMTP id 55E6C148049??for <ragestre@...>; Sun,  1 Feb 2009 21:26:37 +0800 (PHT) from unknown[122.53.207.8]; from=<jan.gestre@...> to=<ragestre@...> proto=ESMTP helo=<[127.0.0.1]>
          Feb  1 21:26:38 mail postfix/cleanup[19777]: 55E6C148049: message-id=<4985A3E0.7000802@...>
          Feb  1 21:26:38 mail postfix/smtpd[19520]: disconnect from unknown[122.53.207.8]
          Feb  1 21:26:38 mail dovecot: imap-login: Login: user=<jan.gestre@...>, method=plain, rip=::ffff:122.53.207.8, lip=::ffff:192.168.1.3

          Feb  1 21:26:42 mail MailScanner[17048]: Uninfected: Delivered 1 messages
          Feb  1 21:26:42 mail MailScanner[17048]: MailScanner child dying of old age
          Feb  1 21:26:42 mail postfix/pipe[19788]: D9A6D148050: to=<postmaster@...>, relay=dovecot, delay=5.6, delays=5.6/0.01/0/0.03, dsn=5.1.1, status=bounced (user unknown)


          postmaster@... exists and has an alias jan.gestre@..., all emails for the postmaster gets forwarded to this account. This doesn't happen when I used a webmail client.

          On Sun, Feb 1, 2009 at 9:10 PM, mouss <mouss@...> wrote:
          jan gestre a écrit :
          > Hi Mouss,
          >
          > This is from my inbox, user jan.gestre@...
          > <mailto:jan.gestre@...> is a real user.
          >

          you need to check the postfix logs (/var/log/maillog or
          /var/log/mail.log or the like), not bounce messages.

          for obvious reasons, postfix won't tell everything to an smtp client, so
          you won't know what is really happening by looking at a bounce message.

          but from the bounce message, I see that <postmaster@...> is
          "unknown". This is bad. if this is one of your domains, make sure mail
          for postmaster is accepted and delivered. In general, people create an
          alias for this address (alias_maps if domain is in mydestination,
          virtual_alias_maps if domain is virtual).

          I have sent you an email to postmaster@... and it was successful:

          2009-02-01 07:51:28 1LTcjQ-0003gJ-Jt => cryptodan <cryptodan@...> F=<> R=localuser T=local_delivery S=3121

          2009-02-01 07:53:08 1LTcl2-0003hp-Cu <= cryptodan@... H=static-71-178-174-180.washdc.fios.verizon.net (alphacentari) [71.178.174.180] P=esmtpa A=login:cryptodan S=2126 id=8A130529BA7D4BF399B598EE69C586CE@alphacentari T="Testing" from <cryptodan@...> for postmaster@...

          2009-02-01 07:53:10 1LTcl2-0003hp-Cu => postmaster@... F=<cryptodan@...> R=lookuphost T=remote_smtp S=2187 H=mail.ddbphil.com [122.55.93.36] C="250 2.0.0 Ok: queued as 966C2148049"





        • mouss
          ... I guess the alias is defined in alias_maps, but this map is only consulted by local , which you don t use (you deliver via dovecot, not via local). use
          Message 4 of 13 , Feb 1, 2009
          • 0 Attachment
            jan gestre a écrit :
            > Hi Mouss,
            >
            > I've just replicated the issue right now, from /var/log/maillog:
            >
            > Feb 1 21:26:38 mail postfix/cleanup[19777]: 55E6C148049: hold: header
            > Received: from [127.0.0.1] (unknown [122.53.207.8])??by
            > mail.ddblocal.com <http://mail.ddblocal.com> (Postfix) with ESMTP id
            > 55E6C148049??for <ragestre@... <mailto:ragestre@...>>;
            > Sun, 1 Feb 2009 21:26:37 +0800 (PHT) from unknown[122.53.207.8];
            > from=<jan.gestre@... <mailto:jan.gestre@...>>
            > to=<ragestre@... <mailto:ragestre@...>> proto=ESMTP
            > helo=<[127.0.0.1]>
            > Feb 1 21:26:38 mail postfix/cleanup[19777]: 55E6C148049:
            > message-id=<4985A3E0.7000802@...
            > <mailto:4985A3E0.7000802@...>>
            > Feb 1 21:26:38 mail postfix/smtpd[19520]: disconnect from
            > unknown[122.53.207.8]
            > Feb 1 21:26:38 mail dovecot: imap-login: Login:
            > user=<jan.gestre@... <mailto:jan.gestre@...>>, method=plain,
            > rip=::ffff:122.53.207.8, lip=::ffff:192.168.1.3
            >
            > Feb 1 21:26:42 mail MailScanner[17048]: Uninfected: Delivered 1 messages
            > Feb 1 21:26:42 mail MailScanner[17048]: MailScanner child dying of old age
            > Feb 1 21:26:42 mail postfix/pipe[19788]: D9A6D148050:
            > to=<postmaster@... <mailto:postmaster@...>>,
            > relay=dovecot, delay=5.6, delays=5.6/0.01/0/0.03, dsn=5.1.1,
            > status=bounced (user unknown)
            >
            >
            > postmaster@... <mailto:postmaster@...> exists and has an
            > alias jan.gestre@... <mailto:jan.gestre@...>, all emails
            > for the postmaster gets forwarded to this account. This doesn't happen
            > when I used a webmail client.
            >


            I guess the alias is defined in alias_maps, but this map is only
            consulted by "local", which you don't use (you deliver via dovecot, not
            via local).

            use virtual_alias_maps instead.
          • Benny Pedersen
            ... this is a bounce from dovecot not from postfix, postmaster exists in postfix, but dovecot dont know that user -- http://localhost/ 100% uptime and 100%
            Message 5 of 13 , Feb 1, 2009
            • 0 Attachment
              On Sun, February 1, 2009 14:41, jan gestre wrote:

              > Feb 1 21:26:42 mail postfix/pipe[19788]: D9A6D148050: to=<
              > postmaster@...>, relay=dovecot, delay=5.6,
              > delays=5.6/0.01/0/0.03,
              > dsn=5.1.1, status=bounced (user unknown)

              this is a bounce from dovecot not from postfix, postmaster exists in
              postfix, but dovecot dont know that user


              --
              http://localhost/ 100% uptime and 100% mirrored :)
            • Benny Pedersen
              ... postfixadmin handle this when configured to do so :) for the OP to solve it, dovecot lda must only see the mailbox from mysql not any alias, and
              Message 6 of 13 , Feb 1, 2009
              • 0 Attachment
                On Sun, February 1, 2009 16:17, mouss wrote:

                > I guess the alias is defined in alias_maps, but this map is only
                > consulted by "local", which you don't use (you deliver via dovecot,
                > not via local).
                >
                > use virtual_alias_maps instead.

                postfixadmin handle this when configured to do so :)

                for the OP to solve it, dovecot lda must only see the mailbox from
                mysql not any alias, and postfixadmin must have all destinations to
                mailbox not local: aliases


                --
                http://localhost/ 100% uptime and 100% mirrored :)
              • jan gestre
                ... Forgive my ignorance but how will I do that? Thanks
                Message 7 of 13 , Feb 2, 2009
                • 0 Attachment
                  On Mon, Feb 2, 2009 at 5:21 AM, Benny Pedersen <me@...> wrote:
                  >
                  > On Sun, February 1, 2009 16:17, mouss wrote:
                  >
                  >> I guess the alias is defined in alias_maps, but this map is only
                  >> consulted by "local", which you don't use (you deliver via dovecot,
                  >> not via local).
                  >>
                  >> use virtual_alias_maps instead.
                  >
                  > postfixadmin handle this when configured to do so :)
                  >
                  > for the OP to solve it, dovecot lda must only see the mailbox from
                  > mysql not any alias, and postfixadmin must have all destinations to
                  > mailbox not local: aliases
                  >
                  >
                  > --
                  > http://localhost/ 100% uptime and 100% mirrored :)
                  >
                  >

                  Forgive my ignorance but how will I do that? Thanks
                • jan gestre
                  ... Can anyone tell me how to configure postfix to use mysql for smtp auth? My version of postfix was rebuilt with mysql support because the default postfix
                  Message 8 of 13 , Feb 2, 2009
                  • 0 Attachment
                    On Mon, Feb 2, 2009 at 9:28 PM, jan gestre <ipcopper.ph@...> wrote:
                    > On Mon, Feb 2, 2009 at 5:21 AM, Benny Pedersen <me@...> wrote:
                    >>
                    >> On Sun, February 1, 2009 16:17, mouss wrote:
                    >>
                    >>> I guess the alias is defined in alias_maps, but this map is only
                    >>> consulted by "local", which you don't use (you deliver via dovecot,
                    >>> not via local).
                    >>>
                    >>> use virtual_alias_maps instead.
                    >>
                    >> postfixadmin handle this when configured to do so :)
                    >>
                    >> for the OP to solve it, dovecot lda must only see the mailbox from
                    >> mysql not any alias, and postfixadmin must have all destinations to
                    >> mailbox not local: aliases
                    >>
                    >>
                    >> --
                    >> http://localhost/ 100% uptime and 100% mirrored :)
                    >>
                    >>
                    >
                    > Forgive my ignorance but how will I do that? Thanks
                    >

                    Can anyone tell me how to configure postfix to use mysql for smtp
                    auth? My version of postfix was rebuilt with mysql support because the
                    default postfix for CentOS does not come with mysql support by
                    default.

                    TIA
                  • Brian Evans - Postfix List
                    ... Postfix does not query databases directly for SASL. It is up to the SASL library (either cyrus or dovecot) to have that support. Brian
                    Message 9 of 13 , Feb 2, 2009
                    • 0 Attachment
                      jan gestre wrote:
                      > Can anyone tell me how to configure postfix to use mysql for smtp
                      > auth? My version of postfix was rebuilt with mysql support because the
                      > default postfix for CentOS does not come with mysql support by
                      > default.
                      >

                      Postfix does not query databases directly for SASL.
                      It is up to the SASL library (either cyrus or dovecot) to have that support.

                      Brian
                    Your message has been successfully submitted and would be delivered to recipients shortly.