LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Content Mail Filtering (https://www.linuxquestions.org/questions/linux-newbie-8/content-mail-filtering-821353/)

ultrahansolo 07-21-2010 06:00 PM

Content Mail Filtering
 
Hello,

I would like to know if there's a program that Filter All type of email from clients to my linux server? I would like to monitor all incoming and outgoing email from my employees. i have read some ways to BCC their emails but i need something that can generate email reports?
I will really appreciate any respond from this thread.


Thanks,


HANSOLO

Noway2 07-22-2010 08:08 PM

The log files would be the place where all of the information you are after is stored. There are several log file analyzers available, but your choice will be influenced by what mail server you are running.

To get you started, a popular one is pflogsumm. I also came across one called sawmill (sawmill.net), which claims to analyze 843 different email program formats.

If you are looking to "filter" you may want to consider setting up some form of rules list that will deny / allow from and to certain recipients.

Also, one caveat: you mention employees and as the employer you (probably (depends on your local laws)) have the right to be BCC'd and examine all of the email. Unless you have cause to suspect a particular problem, with a particular individual, you may want to think carefully about doing so. Your employees would likely view that as a violation or at least see it as a lack of trust and respect which could have negative consequences. Examining the logs for traffic patterns is one thing, reading all of the correspondence is another.

ultrahansolo 07-23-2010 11:25 AM

Thanks for the reply. My employees are aware of my policies like to monitor all emails. We have a lot of confidential files here that's why i implement this rules. Anyway my concern is to have a transparency of all emails coming in and out from my employees to my server. In short, i need to archive all emails to my server. tnx

unSpawn 07-23-2010 11:53 AM

You fscked up good by spamming LQ with your threads. Do not do that again. Read the LQ Rules before doing anything else.

Noway2 07-24-2010 06:50 AM

I found this link: http://www.postfix.org/ADDRESS_REWRI....html#auto_bcc, which tells how to do the auto BCC using Postfix. You didn't indicate what mail server program you are running, just that it runs under Linux. If you are not running postfix, perhaps there is a similar option for your program?

As far as reports go as you suggested in your original post, the log scanners I referenced before should do that for you. You should be able to get reports indicating who sent what to whom and when. That would summarize things and you could use that to decide if there are any you want to follow up on via the BCC.


All times are GMT -5. The time now is 02:53 AM.