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

Fast 5xx-exit before HELO is just a temporary failure?

Expand Messages
  • Peer Heinlein
    Hi! Some mailservers close their session immediatley if the client-IP is listed on RBLs or expected to come from a dynamic IP-range: peer@waffel:~ telnet
    Message 1 of 2 , Apr 3, 2010
      Hi!

      Some mailservers close their session immediatley if the client-IP is
      listed on RBLs or expected to come from a dynamic IP-range:

      peer@waffel:~> telnet 71.74.56.244 25
      Trying 71.74.56.244...
      Connected to 71.74.56.244.
      Escape character is '^]'.
      554 5.7.1 - ERROR: Mail refused - <89.204.137.69> - See
      http://csi.cloudmark.com/reset-request/
      Connection closed by foreign host.
      peer@waffel:~>


      In that case Postfix keeps his messages in the deferred-Queue even if
      the recipients server has sent a 5xx fatal error:


      Feb 17 00:55:28 91.198.250.29 postfix/smtp[9073]: 22210F6525:
      to=<xxxxx@...>, relay=hrndvasmtpin02.mail.rr.com[71.74.56.244],
      delay=1, status=deferred (host hrndva-smtpin02.mail.rr.com[71.74.56.244]
      refused to talk to me: 554 5.7.1 - ERROR: Mail refused -
      <213.203.238.10> - See http://security.rr.com/cgi-bin/block-lookup?
      213.203.238.10)

      I don't understand why Postfix does not bounce the message?! It's a
      fatal error!

      Peer


      --
      Heinlein Professional Linux Support GmbH
      Linux: Akademie - Support - Hosting

      http://www.heinlein-support.de
      Tel: 030 / 40 50 51 - 0
      Fax: 030 / 40 50 51 - 19

      Zwangsangaben lt. §35a GmbHG:
      HRB 93818 B / Amtsgericht Berlin-Charlottenburg,
      Geschäftsführer: Peer Heinlein -- Sitz: Berlin
    • Wietse Venema
      ... The server greets with 554 instead of 220. ... This behavior is configurable, and the default is safe . Wietse smtp_skip_5xx_greeting (default: yes) Skip
      Message 2 of 2 , Apr 3, 2010
        Peer Heinlein:
        > Hi!
        >
        > Some mailservers close their session immediatley if the client-IP is
        > listed on RBLs or expected to come from a dynamic IP-range:
        >
        > peer@waffel:~> telnet 71.74.56.244 25
        > Trying 71.74.56.244...
        > Connected to 71.74.56.244.
        > Escape character is '^]'.
        > 554 5.7.1 - ERROR: Mail refused - <89.204.137.69> - See
        > http://csi.cloudmark.com/reset-request/
        > Connection closed by foreign host.
        > peer@waffel:~>

        The server greets with 554 instead of 220.

        > In that case Postfix keeps his messages in the deferred-Queue even if
        > the recipients server has sent a 5xx fatal error:
        >
        >
        > Feb 17 00:55:28 91.198.250.29 postfix/smtp[9073]: 22210F6525:
        > to=<xxxxx@...>, relay=hrndvasmtpin02.mail.rr.com[71.74.56.244],
        > delay=1, status=deferred (host hrndva-smtpin02.mail.rr.com[71.74.56.244]
        > refused to talk to me: 554 5.7.1 - ERROR: Mail refused -
        > <213.203.238.10> - See http://security.rr.com/cgi-bin/block-lookup?
        > 213.203.238.10)
        >
        > I don't understand why Postfix does not bounce the message?! It's a
        > fatal error!

        This behavior is configurable, and the default is "safe".

        Wietse

        smtp_skip_5xx_greeting (default: yes)
        Skip SMTP servers that greet with a 5XX status code (go away, do not
        try again later).

        By default, the Postfix SMTP client moves on the next mail exchanger.
        Specify "smtp_skip_5xx_greeting = no" if Postfix should bounce the mail
        immediately. The default setting is incorrect, but it is what a lot of
        people expect to happen.
      Your message has been successfully submitted and would be delivered to recipients shortly.