Hello,

I would like to block emails to particular recipient.
check_recipient_access map works fine for emails sent through SMTP but
it doesn't seem to work when sending email locally e.g. using command:
$ echo | mail -s TEST [email protected]

I figured out workaround:
1. create alias in alias map from [email protected] to n...@localhost
2. add entry in /etc/aliases null: /dev/null

It dumps unwanted mails perfectly but I believe there is better way to
do that.
Regards.

-- 
Marcin Hlybin, [email protected]
Systems Administrator, tel. +48 5151 403 66

Reply via email to