Hi,
I am trying to block all mail going to a certain domain. We use
smtpd_recipient_restrictions = check_recipient_access
hash:/etc/postfix/protected_lists
and it counterpart:
smtpd_restriction_classes = list_blocks
list_blocks = check_sender_access hash:/etc/postfix/list_members,reject
The user@host is not found in list_members.
I added the domain in protected_lists in this form.
$domain.com reject
When sending to his domain, the message bounces with a "Host or domain
name not found"
The domain does not exist but until the code can reviewed and changed, I
have to block these messages.
Any suggestions as to why this does not work? Or how do I configure
postfix to not check DNS and simply reject/discard?