Hi 

If you maintain a copy from each mail message in a log file, all
messages from everybody are put together in one big file. A suggestion:
Why don't you make a daily backup (with cron) of the entire contents of
/var/spool/mail and make that backup available to users (with
permissions maintained so each user can only retrieve their own mail
folder from the backup copy). 

Cheers

Hugo   

"Thomas Ribbrock (Design/DEG)" wrote:
> 
> 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.

-- 
Dr Hugo Bouckaert - Systems Administrator, Computer Science UWA
Tel: +(61 8) 9380 2878 / Fax: +(61 8) 9380 1089
Email: [EMAIL PROTECTED] / Web: http://www.cs.uwa.edu.au/~hugo


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to