Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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 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.
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.
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
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.