LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 10-26-2005, 11:31 PM   #1
mccomber
LQ Newbie
 
Registered: Aug 2003
Distribution: Debian
Posts: 6

Rep: Reputation: 0
Server-wide outgoing mail filter


**caveat** Okay, before the argument of whether this is good or bad morally, I am only interested on doing this to my personal server.

I'm running SuSE 9.1 with Qmail. I want to filter all outgoing email, only allowing those emails that contain a specific header through to the "outside" world, and sending the rest to the bit bucket. Can I send mail to procmail for filtering some how? I'm familiar with Postfix but I don't think that'll help me much here, this is a rented "Plesk" server, so I'm pretty much stuck with whats installed.

Regards,
Doug
 
Old 11-02-2005, 08:04 PM   #2
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
You can do it with amavisd-new..

Put it before the qmail server, listening on 25, filter the headers then pass the ok ones to qmail.
Procmail is better suited to mangling before a local file system gets the message.
 
  


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
Mail Server / Spam Filter KevinGuy Linux - General 7 10-16-2004 07:18 AM
How do I tell sendmail to use my ISP's outgoing mail server which needs name & psswrd Wolfy Linux - Networking 1 09-02-2004 03:16 AM
Can i copy outgoing mail on the server? Dman33 Linux - Software 1 07-09-2004 11:45 AM
How to implement a SMTP server for outgoing mail? Nerox Programming 1 07-02-2004 03:43 AM
Procmail or other filter for outgoing mail gabriele_101 Linux - Software 3 08-18-2003 05:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:29 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
Open Source Consulting | Domain Registration