> 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