I want to restrict my postfix system. Exactly I will that my postfix allow to send mails only to allowed user, all other mails should be bounced.
For example:
This Mails should be send:
[email protected]
[email protected]
[email protected]
All other Mails should not sended, for Exaple
[email protected]
[email protected]
etc.
I tried, the following settings, but it doesn´t work:
smtpd_reject_unlisted_sender = yes
smtpd_recipient_restrictions =
check_recipient_access hash:/etc/postfix/valid_recipients
reject_unlisted_sender
reject_unknown_recipient_domain
reject
Have you any
idea how to handle it?
BR
Marcus