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

214138Re: Invalid address and bounce from Exchange

Expand Messages
  • mouss
    Feb 1, 2007
      Eray Aslan wrote:
      >
      >
      > For the record, I added the following to the main.cf:
      >
      > smtpd_recipient_restrictions =
      > ...
      > check_sender_access regexp:/etc/postfix/empty_local
      > ...
      >
      > /etc/postfix/empty_local:
      > /^@.+/ REJECT No empty local part in email addresses please
      >
      > Any caveats I should be aware of?
      >
      >

      .+ at the end or beginning of regular expressions is useless. so /^@/
      should do.

      Mark's suggestion (strict_rfc821_envelopes) is a better solution.
    • Show all 12 messages in this topic