Restrict Postfix only for allowed Mail-Adresses
Posted
by
Marcus
on Server Fault
See other posts from Server Fault
or by Marcus
Published on 2012-11-02T16:25:46Z
Indexed on
2012/11/02
17:06 UTC
Read the original article
Hit count: 442
postfix
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
© Server Fault or respective owner