So for reasons unknown, I need to block emails To or From a certain email address.
I don't care what is in the emails, but I would like a notification email sent to another address if possible, however this is not vital.
Dovecot - 1.0.rc15
Postfix - 2.3.3
Ok so I've added
smtpd_client_restrictions = check_client_access hash:/etc/postfix/access
email@example.com DISCARD TestDiscard
Reloaded / Restarted postfix, and emails still get sent to and from the email address blocked.
Does this setting in /etc/postfix/main.cf make a difference:
mailbox_command = /usr/bin/procmail -a "$EXTENSION"