On Tue, Jan 18, 2000 at 10:13:36AM +0900, Steve Frampton wrote:
>
> I'm admin'ing a system which is the mail server for several hundred
> users. What I would like to do is have a copy of each incoming e-mail
> message be appended to a "logger" file (to be able to rescue the "I
> accidentally deleted my important mail!" panic calls from time to
> time). The logger should rotate, say, each time it grows to a certain
> size.
The rotating part would be logrotate's job, I suppose -> man logrotate.
As for the copy: If your mail is coming in via sendmail it might be very
easy, as Red Hat's default setup is using procmail as delivery agent.
Hence, all you'd need to do is to set up a procmail receipe to store a
copy of each mail in a defined folder. If you don't know procmail yet, a
start would be the man pages procmail, procmailrc and procmailex.
The receipe you'd need would be rather simple, I think - give me a shout
if you have a problem.
HTH,
Thomas
--
"Look, Ma, no obsolete quotes and plain text only!"
Thomas Ribbrock | http://www.bigfoot.com/~kaytan | ICQ#: 15839919
"You have to live on the edge of reality - to make your dreams come true!"
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.