On Wed, Aug 21, 2013 at 10:58:06AM -0400, Roman Gelfand wrote:
> For the outgoing emails, why is the configuration below not enough 
> to:
> 1. Block   +a...@domain.com
> 2. Allow all other emails
> 
> main.cf
> 
> smtpd_recipient_restrictions =
>             check_recipient_access pcre:/etc/postfix/recipient_access.pcre
> 
> 
> /etc/postfix/recipient_access.pcre
> 
> /\+(,*)/        reject

In most Postfix versions (everything before 2.10), 
smtpd_recipient_restrictions controlled relaying. Therefore you must 
have (as your logs no doubt told you) a restriction which prevents 
you from being an open relay. Typically this means 
"reject_unauth_destination".

http://www.postfix.org/postconf.5.html#smtpd_recipient_restrictions

See also:

http://www.postfix.org/SMTPD_ACCESS_README.html
-- 
  http://rob0.nodns4.us/ -- system administration and consulting
  Offlist GMX mail is seen only if "/dev/rob0" is in the Subject:

Reply via email to