Brian Evans - Postfix List wrote:
I want a single account to only accept NDRs. Other email should be
rejected.
Would the following work correctly?
smtpd_recipient_restrictions:
...
check_recipient_access hash:/etc/postfix/receieve_only
...
/etc/postfix/receieve_only:
[EMAIL PROTECTED] check_sender_access hash:/etc/postfix/ndr_senders
/etc/postfix/ndr_senders:
<> OK
* REJECT This mailbox is not available.
Your logic is correct, but hash: maps don't support a wildcard
entry. Use a regexp: or pcre: map type instead.
/^<>$/ OK
/^/ REJECT mailbox not available
--
Noel Jones