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

Re: Filtering outgoing email

Expand Messages
  • Roman Gelfand
    Thanks a lot. Exactly what I was looking for.
    Message 1 of 3 , Aug 22, 2013
    • 0 Attachment
      Thanks a lot. Exactly what I was looking for.

      On Thu, Aug 22, 2013 at 1:43 PM, Drizzt <drizzt@...> wrote:
      >> When an outgoing email's target address is prefixed by '+', I would
      >> like postfix to delete it replying back to the client ok status.
      >>
      >> I had previously setup below. But this sends back to the client 554.
      >> I would like the client to think that in this situation everything is
      >> fine.
      >>
      >> main.cf
      >>
      >> smtpd_recipient_restrictions =
      >> check_recipient_access pcre:/etc/postfix/recipient_access.pcre
      >> reject
      >>
      >>
      >> recipient_access.pcre
      >>
      >> /\+(,*)/ reject
      >> /(,*)/ permit
      >
      > You might be interested in looking at discard
      > http://www.postfix.org/discard.8.html
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.