LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-26-2019, 04:18 AM   #1
Maris-S
Member
 
Registered: Feb 2010
Location: Latvia
Distribution: Slackware 15.0
Posts: 33

Rep: Reputation: 2
Postfix, outgoing filter


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!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
postfix filter outgoing mail by sender domain dmfelix Linux - Server 2 06-18-2010 03:32 AM
Which qmail log file details outgoing mail? (have huge outgoing mail volume) hilljockey Linux - Server 2 12-08-2008 04:26 PM
Server-wide outgoing mail filter mccomber Linux - Networking 1 11-02-2005 08:04 PM
how to add & register filter for intercepting the packets outgoing on port 80? jayashri Programming 2 11-08-2004 01:30 PM
Procmail or other filter for outgoing mail gabriele_101 Linux - Software 3 08-18-2003 05:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration