On my companies mail server there is a mail address everyone@example.org which sends a mail to every user which is useful for internal communication etc. I want to restrict this recipient to only allow mails from our mail server and reject any mail from outside to this address. What is the best way to do this in postfix?
Asked
Active
Viewed 806 times
2 Answers
0
A workaround is to change the Mailadress of each mail to everyone@
to noreply@
so that these fast replies going straight into the void. You could do this through a header-check:
/^(To|Cc):.*everyone@your.tld/ REPLACE To:noreply@your.tld

jasonwryan
- 73,126