With Postfix, I want to restrict some system users to be rejected while sending mail. I think I should disallow all users of the domain at first, then permit some in the db tables.
smtpd_sender_restrictons & smtpd_client_restrictions may be the very parameters to do this, so I configure:
Code:
/etc/postfix/main.cf:
smtpd_sender_restrictions = check_sender_access hash:/etc/postfix/sender_access, reject
smtpd_client_restrictions = check_client_access hash:/etc/postfix/client_access, reject
/etc/postfix/sender_access:
/*@zouben.org/ REJECT
/etc/postfix/client_access:
zouben.org REJECT
But there is no effect?
Please tell me how to achieve this goal.
Thanks.