how can I disable mail sending for specific mail account at my postfix mail server?
in my main.cf I have:
smtpd_sender_restrictions = reject_unauth_pipelining, reject_non_fqdn_sender, reject_unknown_sender_domain, reject_unlisted_sender, check_sender_access cidr:/etc/postfix/mx_access.cidr, permit
check_sender_access hash:/etc/postfix/sender_access /etc/postfix/sender_access:email@example.com REJECT postmap hash:sender_access service postfix reload
Can help with my problem or I am doing it wrong?
I just need to block sending opportunity for few accounts only receiving allowed.