Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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:
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.
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 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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.