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 u...@domain.com

I figured out workaround:
1. create alias in alias map from d...@rcpt.com 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, mar...@rootnode.net
Systems Administrator, tel. +48 5151 403 66

Reply via email to