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

Losing bounce mails

Expand Messages
  • Olaf Hering
    Hello, can someone explain what happend to the bounce mails? post.strato.de requires authentication. Due to a mistake on my side, I forgot to update the local
    Message 1 of 2 , Apr 2 1:08 AM
    • 0 Attachment
      Hello,

      can someone explain what happend to the bounce mails?

      post.strato.de requires authentication.
      Due to a mistake on my side, I forgot to update the local postfix
      configuration after a change to the server auth data.

      Does postfix silently drop a mail thats not deliverable to the relayhost?

      Mar 30 19:46:26 ibook postfix/postfix-script[2754]: starting the Postfix mail system
      Mar 30 19:46:26 ibook postfix/master[2755]: daemon started -- version 2.4.5, configuration /etc/postfix
      Mar 30 20:23:01 ibook postfix/pickup[2763]: 01B47D010B: uid=1000 from=<olaf>
      Mar 30 20:23:01 ibook postfix/cleanup[2912]: 01B47D010B: message-id=<20090330182300.GA2824@...>
      Mar 30 20:23:01 ibook postfix/qmgr[2764]: 01B47D010B: from=<olaf@...>, size=1963, nrcpt=2 (queue active)
      Mar 30 20:23:03 ibook postfix/smtp[2914]: 01B47D010B: to=<X@...>, relay=post.strato.de[81.169.145.136]:25, delay=2.6, delays=0.24/0.24/2.1/0, dsn=5.7.0, status=bounced (SASL authentication failed; server post.strato.de[81.169.145.136] said: 535 5.7.0 Falsches Password - Wrong password)
      Mar 30 20:23:03 ibook postfix/smtp[2914]: 01B47D010B: to=<X@...>, relay=post.strato.de[81.169.145.136]:25, delay=2.6, delays=0.24/0.24/2.1/0, dsn=5.7.0, status=bounced (SASL authentication failed; server post.strato.de[81.169.145.136] said: 535 5.7.0 Falsches Password - Wrong password)
      Mar 30 20:23:03 ibook postfix/cleanup[2912]: 7CC3AD059B: message-id=<20090330182303.7CC3AD059B@...>
      Mar 30 20:23:03 ibook postfix/qmgr[2764]: 7CC3AD059B: from=<>, size=4143, nrcpt=1 (queue active)
      Mar 30 20:23:03 ibook postfix/bounce[2916]: 01B47D010B: sender non-delivery notification: 7CC3AD059B
      Mar 30 20:23:03 ibook postfix/qmgr[2764]: 01B47D010B: removed
      Mar 30 20:23:03 ibook postfix/smtp[2914]: 7CC3AD059B: to=<olaf@...>, relay=post.strato.de[81.169.145.136]:25, delay=0.1, delays=0.01/0/0.09/0, dsn=5.7.0, status=bounced (SASL authentication failed; server post.strato.de[81.169.145.136] said: 535 5.7.0 Falsches Password - Wrong password)
      Mar 30 20:23:03 ibook postfix/qmgr[2764]: 7CC3AD059B: removed

      # main.cf

      queue_directory = /var/spool/postfix
      command_directory = /usr/sbin
      daemon_directory = /usr/lib/postfix
      mail_owner = postfix
      unknown_local_recipient_reject_code = 550


      debug_peer_level = 2
      debugger_command =
      PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
      xxgdb $daemon_directory/$process_name $process_id & sleep 5
      sendmail_path = /usr/sbin/sendmail
      newaliases_path = /usr/bin/newaliases
      mailq_path = /usr/bin/mailq
      setgid_group = maildrop
      html_directory = /usr/share/doc/packages/postfix/html
      manpage_directory = /usr/share/man
      sample_directory = /usr/share/doc/packages/postfix/samples
      readme_directory = /usr/share/doc/packages/postfix/README_FILES
      mail_spool_directory = /var/mail
      canonical_maps = hash:/etc/postfix/canonical
      virtual_maps = hash:/etc/postfix/virtual
      relocated_maps = hash:/etc/postfix/relocated
      transport_maps = hash:/etc/postfix/transport
      sender_canonical_maps = hash:/etc/postfix/sender_canonical
      masquerade_exceptions = root
      masquerade_classes = envelope_sender, header_sender, header_recipient
      myhostname = ibook.aepfle.de
      program_directory = /usr/lib/postfix
      inet_interfaces = localhost
      masquerade_domains = aepfle.de
      mydestination = $myhostname, localhost.$mydomain
      defer_transports =
      disable_dns_lookups = no
      relayhost = post.strato.de
      content_filter =
      mailbox_command = /usr/bin/procmail
      mailbox_transport =
      smtpd_sender_restrictions = hash:/etc/postfix/access
      smtpd_client_restrictions =
      smtpd_helo_required = no
      smtpd_helo_restrictions =
      strict_rfc821_envelopes = no
      smtpd_recipient_restrictions = permit_mynetworks,reject_unauth_destination
      smtp_sasl_auth_enable = yes
      smtpd_sasl_auth_enable = no
      smtpd_use_tls = no
      smtp_use_tls = no
      alias_maps = hash:/etc/aliases
      mailbox_size_limit = 0
      message_size_limit = 10240000
      virtual_alias_maps = hash:/etc/postfix/virtual
      virtual_alias_domains = hash:/etc/postfix/virtual
      inet_protocols = all
      mynetworks_style = subnet
      strict_8bitmime = no
      disable_mime_output_conversion = no
      smtp_sasl_security_options =
      smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
    • Wietse Venema
      ... Of course not. ... Mail for X@X.de is bounced, because the server replies with 535. Therefore an Internet standards-compliant MTA such as Postfix must send
      Message 2 of 2 , Apr 2 6:02 PM
      • 0 Attachment
        Olaf Hering:
        >
        > Hello,
        >
        > can someone explain what happend to the bounce mails?
        >
        > post.strato.de requires authentication.
        > Due to a mistake on my side, I forgot to update the local postfix
        > configuration after a change to the server auth data.
        >
        > Does postfix silently drop a mail thats not deliverable to the relayhost?

        Of course not.

        > Mar 30 19:46:26 ibook postfix/postfix-script[2754]: starting the Postfix mail system
        > Mar 30 19:46:26 ibook postfix/master[2755]: daemon started -- version 2.4.5, configuration /etc/postfix
        > Mar 30 20:23:01 ibook postfix/pickup[2763]: 01B47D010B: uid=1000 from=<olaf>
        > Mar 30 20:23:01 ibook postfix/cleanup[2912]: 01B47D010B: message-id=<20090330182300.GA2824@...>
        > Mar 30 20:23:01 ibook postfix/qmgr[2764]: 01B47D010B: from=<olaf@...>, size=1963, nrcpt=2 (queue active)
        > Mar 30 20:23:03 ibook postfix/smtp[2914]: 01B47D010B: to=<X@...>, relay=post.strato.de[81.169.145.136]:25, delay=2.6, delays=0.24/0.24/2.1/0, dsn=5.7.0, status=bounced (SASL authentication failed; server post.strato.de[81.169.145.136] said: 535 5.7.0 Falsches Password - Wrong password)
        > Mar 30 20:23:03 ibook postfix/smtp[2914]: 01B47D010B: to=<X@...>, relay=post.strato.de[81.169.145.136]:25, delay=2.6, delays=0.24/0.24/2.1/0, dsn=5.7.0, status=bounced (SASL authentication failed; server post.strato.de[81.169.145.136] said: 535 5.7.0 Falsches Password - Wrong password)

        Mail for X@... is bounced, because the server replies with 535.

        Therefore an Internet standards-compliant MTA such as Postfix must
        send a non-delivery notification to olaf@..., with the message
        that could not be delivered; either the whole message or just the
        headers.

        > Mar 30 20:23:03 ibook postfix/cleanup[2912]: 7CC3AD059B: message-id=<20090330182303.7CC3AD059B@...>
        > Mar 30 20:23:03 ibook postfix/qmgr[2764]: 7CC3AD059B: from=<>, size=4143, nrcpt=1 (queue active)
        > Mar 30 20:23:03 ibook postfix/bounce[2916]: 01B47D010B: sender non-delivery notification: 7CC3AD059B
        > Mar 30 20:23:03 ibook postfix/qmgr[2764]: 01B47D010B: removed
        > Mar 30 20:23:03 ibook postfix/smtp[2914]: 7CC3AD059B: to=<olaf@...>, relay=post.strato.de[81.169.145.136]:25, delay=0.1, delays=0.01/0/0.09/0, dsn=5.7.0, status=bounced (SASL authentication failed; server post.strato.de[81.169.145.136] said: 535 5.7.0 Falsches Password - Wrong password)
        > Mar 30 20:23:03 ibook postfix/qmgr[2764]: 7CC3AD059B: removed

        YOU CONFIGURED POSTFIX to deliver mail for olaf@... via
        post.strato.de. This system rejects the mail with 535.

        When a non-delivery notification is undeliverable, an Internet
        standards compliant such as Postfix discards the message, because
        otherwise the mail system would go into an infinite loop (and you
        would not receive a copy anyway).

        If you don't want this to happen, turn on soft bounces in main.cf

        /etc/postfix/main.cf:
        soft_bounce = yes

        If you do this, then you have to watch your queue carefully
        otherwise you will never find out that some mail is sitting
        in the queue forever.

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