LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 03-09-2012, 06:04 AM   #1
guna_pmk
Member
 
Registered: Sep 2008
Posts: 220

Rep: Reputation: 5
Qmail content filter


Hello Guys,

I am looking to bounce emails to external domains from our domain, if the email body contains a certain combination of words (mainly to avoid leaking of one client information to the other).

My email server is qmail on CentOS5.

Can somebody suggest the right tool for this, if qmail does not provide this option already?

Please let me know if you need more information in this regard.

Thanks
 
Old 03-09-2012, 10:46 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,689

Rep: Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972
Quote:
Originally Posted by guna_pmk View Post
Hello Guys,

I am looking to bounce emails to external domains from our domain, if the email body contains a certain combination of words (mainly to avoid leaking of one client information to the other).

My email server is qmail on CentOS5. Can somebody suggest the right tool for this, if qmail does not provide this option already? Please let me know if you need more information in this regard.
Thanks
Putting "linux qmail content filtering" into Google pulls up lots:

https://www.linuxquestions.org/quest...tering-866022/
http://www.fehcom.de/qmail/filter.html
http://www.chrishardie.com/qmail-anti-spam-howto/
http://qmail.org/top.html

Plenty of resources to get you started for content-filtering. Procmail is a very powerful tool, and all you're really looking for is a spam filter program. Set up the rules, and it's on the SEND portion of things, rather than on mail received. Also, you do realize what you're asking for is pointless, right?? If someone wants to get information off the premises, all they have to do is copy it to a CD, a USB drive, or attach an encrypted ZIP file to an outgoing message. Or even easier...just go to Gmail/Yahoo mail/whatever-mail from their web browser, and bypass EVERYTHING you put in place.
 
Old 03-12-2012, 07:43 AM   #3
guna_pmk
Member
 
Registered: Sep 2008
Posts: 220

Original Poster
Rep: Reputation: 5
Thanks TBOne,

I shall look into those links you have given.

You are right. It is impossible to cover every possibilities. As I have mentioned in my original post, it is mainly to prevent accidental emails, from domain A, that may contain information (identified by combination of specific keywords) the should not go out of the domain. If the users knowingly decide to do this (by sending through a different mail server), it is unavoidable.

Thanks
 
Old 03-12-2012, 09:32 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,689

Rep: Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972
Quote:
Originally Posted by guna_pmk View Post
Thanks TBOne,
I shall look into those links you have given.

You are right. It is impossible to cover every possibilities. As I have mentioned in my original post, it is mainly to prevent accidental emails, from domain A, that may contain information (identified by combination of specific keywords) the should not go out of the domain. If the users knowingly decide to do this (by sending through a different mail server), it is unavoidable.
Thanks
You did not say in your original post it was to prevent 'accidental emails', but rather to prevent leaking client information in general. Since there is no way to prevent accidents, and you acknowledge that you can't avoid someone doing it on purpose, it seems like you're undertaking a good bit of work, and adding layers of complexity to your server (both for administration and maintenance), for no reason.

The choice is yours, of course, but I'd certainly not put time into this if it was me.
 
Old 03-13-2012, 07:31 AM   #5
guna_pmk
Member
 
Registered: Sep 2008
Posts: 220

Original Poster
Rep: Reputation: 5
Thanks TBOne,

Quote:
The choice is yours, of course, but I'd certainly not put time into this if it was me.
That's something to consider. I shall definitely take your advice. Thanks for that.
 
  


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
Email content filter rules for either postfix or qmail even any good mail server wasamzy Linux - Server 7 02-06-2010 03:15 AM
content filter in postfix jrafalek Linux - Software 0 04-05-2005 04:19 PM
Content Filter for Firefox ubuntu-addict General 5 01-06-2005 01:25 PM
Which Content Filter? jabird Linux - Networking 1 10-11-2004 06:09 PM
content filter on firewall Nerun Linux - Security 3 02-21-2002 04:24 PM

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

All times are GMT -5. The time now is 06:25 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