Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 09-16-2004, 11:47 PM   #1
Registered: May 2003
Location: Caribbean
Distribution: Fedora Core2
Posts: 403

Rep: Reputation: 30
mail filtering with Postfix and virtual mailboxes


I have a virtual mailbox setup of Postfix+MySQL and I would like to run a script every time mail comes in for foo@domain.tld. How do I go about doing that? I've read and googled and trialed-and-errored to no success with this one.

Please advise
Old 09-17-2004, 06:26 AM   #2
Registered: Apr 2004
Distribution: redhat 9.0, fc4, redhat as 4
Posts: 522

Rep: Reputation: 31
redirection of (web or DNS)

i want to know about when i type in browser and as i press enter the brower opens the web why and how it is ? i think it checks my ip address and redirects, if any one know its configuration please tell me
Old 09-17-2004, 07:09 AM   #3
Registered: Sep 2004
Location: Texas, USA
Distribution: Fedora
Posts: 620

Rep: Reputation: 31
Checkout the following links/search: - Search for "check_recipient_access" - Search for the "FILTER" action

For reference: This is how I call Spamassassin. Note the call to spamc in You could change that to be your script.

# cat /etc/postfix/
...bunch of restrictions

# cat /etc/postfix/myfilter FILTER SAfilter:spamassassin

# cat /etc/postfix/
SAfilter unix - n n - 10 pipe
argv=/usr/bin/spamc -f -x -e /usr/sbin/sendmail -i -f $sender $recipient


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 - track mail or browse mailboxes czezz Linux - Networking 3 07-19-2005 03:33 PM
Postfix mail filtering pembo13 Linux - Networking 0 09-02-2004 12:11 PM
Mail filtering with Postfix bentman78 Linux - Software 1 07-19-2004 08:12 PM
No Incoming postfix mail, virtual domains geokker Linux - Software 0 06-22-2004 06:09 AM
Is virtual user for mail (postfix) and ftp (proftpd) possible pembo13 Linux - Software 0 01-11-2004 03:30 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:38 PM.

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