Hua Young via Postfix-users:
> 1. can sender be a specified email such as [email protected]?

Yes, according to 
https://www.postfix.org/access.5.html#email_address_patterns_in_indexed_tables

> 2. in postfix setup, how can I reject all messages to a local user (this 
> user has a valid dovecot account)?

With check_recipient_access:

/etc/postfix/main.cf:
    smtpd_recipient_restrictions =
        permit_mynetworks
        reject_unauth_destination
        check_recipient_access hash:/etc/postfix/recipient_access
        ....other stuff...

/etc/postfix/recipient_access:
     [email protected] reject

This rejects only mail for that recipient from remote systems.

        Wietse
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to