Gino Ferguson:
> Hi all,
> 
> 
> We're using smtpd_recipient_restrictions to drop filter out unwanted 
> recipients.
> 
> The problem with this is, if the email has more recipients, noone
> gets the email, not only the unwanted is dropped.
> 
> How should this be done properly?

If you cannot reject the recipient, discard the recipient, instead
of discarding the message.

/etc/postfix/main.cf:
    transport_maps = hash:/etc/postfix/transport

/etc/postfix/transport:
    u...@example.com    discard:

Do "postmap hash:/etc/postfix/transport" after editing the file.

        Wietse

Reply via email to