I hope the manager has carefully researched the legal and ethical implications of this kind of monitoring. Assuming that, most flavors of Linux have aliases that allow you to create "virtual" e-mail addresses. Messages sent to a virtual address are delivered to the mail file of one...
You can accomplish your goals by treating the mail file like a log file. Either write a script to roll all the old files up one - mailfile.1 becomes mailfile.2, mailfile becomes mailfile.1 etc. deleting the last one - mailfile.180 or add the log rolling to syslog. If you write your own script...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.