natan:
> Hi
> I need block all in incomming to one e-mail like:
>
> to=<[email protected]> DISCARD
> but allow:
> from=<[email protected]>
>
> At the earliest level as possible only in smtpd_recipient_restrictions ?
smtpd_recipient_restrictions =
check_recipient_access inline:{
{ [email protected] = DISCARD }
} ...other stuff...
However, there is a warning in the Postfix access(5) manpage:
Note: this action currently affects all recipients of the
message. To discard only one recipient without discarding the
entire message, use the transport(5) table to direct mail to
the discard(8) service.
Wietse