I am working for a company who wants to throw away NT and shift to
linuxfor their email based services. They have requested me to setup a
system where all incoming and outgoing mails are to be forwarded to
another mailbox so that there is a copy of all transactions.
I know you can use sendmail -X to log all transcactions but how do i then
get th emails to be forwarded to another mail account?
so, i think procmail will be the only go.
does procmailrc gets checked for both incoming and outgoing mails by
sendmail or is it just that all incoming mails are subjected to procmail?
A way to to this in sendmail is described at
procmail is normally set up either as ^Mlocal, or called through .forward,
and in both cases it affects only incoming mail. If you can make sure that
your user only use a limited set of MUA's (or only one, ideally), and can
not install their own, it is possible to set up most MUA's to invoke
procmail instead of sendmail. THis was discussed here recently, search
http://www.xray.mpe.mpg.de/mailing-lists/procmail/ for the
"Subject: .backward" thread.
Also, there is no ned to archive local transactions ie. within the same