LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 09-17-2004, 12:47 AM   #1
pembo13
Member
 
Registered: May 2003
Location: Caribbean
Distribution: Fedora Core2
Posts: 403

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


Hello,

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
Arturo
 
Old 09-17-2004, 07:26 AM   #2
Ammad
Member
 
Registered: Apr 2004
Distribution: redhat 9.0, fc4, redhat as 4
Posts: 519

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

i want to know about when i type in browser http://www.google.com and as i press enter the brower opens the web http://www.google.com.pk 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, 08:09 AM   #3
scowles
Member
 
Registered: Sep 2004
Location: Texas, USA
Distribution: Fedora
Posts: 620

Rep: Reputation: 31
Checkout the following links/search:

http://www.postfix.org/postconf.5.html - Search for "check_recipient_access"
http://www.postfix.org/access.5.html - Search for the "FILTER" action

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

# cat /etc/postfix/mail.cf
smtpd_recipient_restrictions=
...bunch of restrictions
...check_recipient_access=/etc/postfix/SAfilter

# cat /etc/postfix/myfilter
mydomain.com FILTER SAfilter:spamassassin

# cat /etc/postfix/master.cf
SAfilter unix - n n - 10 pipe
flags=Fq
user=spamassassin
argv=/usr/bin/spamc -f -x -e /usr/sbin/sendmail -i -f $sender $recipient
 
  


Reply


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


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

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration