On Fri, Sep 08, 2023 at 05:15:45PM +0300, mailmary--- via Postfix-users wrote:
> Two quick questions:
>
> 1) How do I force an email address to NOT be able to send email, but still
> receive.
https://www.postfix.org/SMTPD_ACCESS_README.html#lists
https://www.postfix.org/access.5.html
https://www.postfix.org/postconf.5.html#smtpd_sender_restrictions
https://www.postfix.org/postconf.5.html#authorized_submit_users
> 2) How do I force an email address to NOT be able to receive, but still send.
https://www.postfix.org/postconf.5.html#smtpd_recipient_restrictions
Not a good idea, because remote sites performing sender address
verification may then reject outbound mail from that address.
Instead of rejecting mail for the address, you could also simply omit
it from the list of valid recipients for its address-class.
https://www.postfix.org/ADDRESS_CLASS_README.html
--
Viktor.
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]