Article 4VP72 Postfix, outgoing filter

Postfix, outgoing filter

by
Maris-S
from LinuxQuestions.org on (#4VP72)
Hello!

I'm a bit lost in Postfix filtering settings. I'm trying to find best way to filter outgoing mails from particular address to particular recipients, so multiple conditions.

I would need to allow all noreplay notifications to internal users only. Pseudo code would be:

IF MailFrom = noreplay@server.com AND MailTo <> *@server.com THEN REJECT

Thank you in advance!latest?d=yIl2AUoC8zA latest?i=oYVcX7FD9jY:xim4UpqdV3Y:F7zBnMy latest?i=oYVcX7FD9jY:xim4UpqdV3Y:V_sGLiP latest?d=qj6IDK7rITs latest?i=oYVcX7FD9jY:xim4UpqdV3Y:gIN9vFwoYVcX7FD9jY
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments