Hi

*Trying to setup email REJECT when users try to send to a no-reply email.*

AFAIK, this should be configuren on smtpd_recipient_restrictions using
check_recipient_access. Please, let me know if I'm wrong.

It's not working, so maybe it's because I don't know if rules are applied
on first match or combined (ie: if a reject is found, is immediately
rejected or it might be permited by another rule).

This is *approximately* my configuration:

smtpd_recipient_restrictions =
    check_recipient_access ldap:ext2int, #allows any ldap account
    check_recipient_access hash:/etc/postfix/no-reply_reject, #reject
no-reply
    reject_authenticated_sender_login_mismatch,
    permit_sasl_authenticated,
    reject_unauth_destination,
    reject

Thanks
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to