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

214065Re: Invalid address and bounce from Exchange

Expand Messages
  • Eray Aslan
    Feb 1, 2007
      Erwan David wrote:
      > Le Thu 1/02/2007, Eray Aslan disait
      >> Eray Aslan wrote:
      >>> Postfix acts as a relay for our internal exchange server. The following
      >>> message generates a bounce from exchange. Shouldn't
      >>> reject_non_fqdn_sender catch these addresses?
      >> mail ~ # telnet 127.0.0.1 25
      >> Trying 127.0.0.1...
      >> Connected to 127.0.0.1.
      >> Escape character is '^]'.
      >> 220 mail.caf.com.tr ESMTP Postfix
      >> ehlo example.net
      >> 250-mail.caf.com.tr
      >> 250-PIPELINING
      >> 250-SIZE 10240000
      >> 250-VRFY
      >> 250-ETRN
      >> 250-STARTTLS
      >> 250-ENHANCEDSTATUSCODES
      >> 250-8BITMIME
      >> 250 DSN
      >> mail from: @...
      >> 250 2.1.0 Ok
      >> rcpt to: user3@...
      >> 250 2.1.5 Ok
      >> data
      >> 354 End data with <CR><LF>.<CR><LF>
      >> test
      >> .
      >> 250 2.0.0 Ok: queued as 35526138BB6
      >> quit
      >> 221 2.0.0 Bye
      >> Connection closed by foreign host.
      >>
      >> and the message bounces:
      >>
      >> Feb 1 10:36:34 mail postfix/smtp[28903]: 836FB141AF0:
      >> to=<user3@...>, relay=10.0.0.3[10.0.0.3]:25, delay=0.35,
      >> delays=0.08/0.04/0.22/0, dsn=5.5.4, status=bounced (host
      >> 10.0.0.3[10.0.0.3] said: 501 5.5.4 Invalid Address (in reply to MAIL
      >> FROM command))
      >
      > You must somehow give to your postifx the valid Exchange addresses in
      > a relay_recipient_maps, then the reject_unlisted_recipient restriction
      > will reject those addresses at postfix level.

      We do recipient checking and user3@... shown above (local part is
      munged for obvious reasons) is a valid recipient. That is not the problem.

      --
      Eray
    • Show all 12 messages in this topic