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.
This Mails should be send:
firstname.lastname@example.org email@example.com firstname.lastname@example.org
All other Mails should not sended, for Exaple
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?