Read the FAQ that comes with the qmail source.
8.2. How do I keep a copy of all incoming and outgoing mail messages?

Answer: Set QUEUE_EXTRA to "Tlog\0" and QUEUE_EXTRALEN to 5 in extra.h.
Recompile qmail. Put ./msg-log into ~alias/.qmail-log.

You can also use QUEUE_EXTRA to, e.g., record the Message-ID of every
message: run

   | awk '/^$/ { exit } /^[mM][eE][sS][sS][aA][gG][eE]-/ { print }'

from ~alias/.qmail-log.

On Sunday 23 March 2003 01:06 am, Krishna Dagli wrote:
> Hi,
>
> As per NASD rule, now I have to store each and every email which goes
> out or comes onto my mail server for atleast 3 years. For incoming
> mails I can create a duplicate email ID and forward/copy incomming
> mails to duplicate emailID. For outgoing mails what can be done, I was
> thinking on the line of recordio or something like that. Is there any
> other better way to do this. Please suggest.
>
> Thanks
> ======
> Krishna


Reply via email to