Question : Archive Linux email in/out

I need a linux program that will archive all email in and out for a domain.
Not a shell script, but a program that will take all incoming email to a linux server and archive it before someone can read and delete, will archive it out someplace with size or date criteria.  There is a nice one that will do this with an exchange server, but need to do it with standard linux mbox format files.

 

Answer : Archive Linux email in/out

Assuming you are running sendmail and have the promail FEATURE enabled you can easily backup every email with an entry in the global procmail (/etc/procmailrc) file.

something like

---begin block
:0 c
/path/for/email/backups

---end block


will copy all incoming emails before the user even sees them.
Random Solutions  
 
programming4us programming4us