[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reading from pipe



On January 24, 2001 at 08:16, Wojciech Komornicki wrote:

>   Tom> subscriber: "|/usr/local/bin/mhonarc ..."
> 
> One of the problems of doing this is that mhonarc will run as user
> daemon (or whatever the uid of mail is on your machine).  Hence you will
> need to make your archive directory writable by that uid.  Also, all the
> files archived in that directory will be owned by that uid.
> 
> The MHonArc distribution contains a script (webnewmail) for doing what
> you would like.  However, I have found the cron approach to be a better
> one.

I second this.  The cron approach is more scalable and allows more
flexibility.  I did the webnewmail script just to show that it
can be done, but for serious archives, using cron is better.  It
also makes it simple to abstract the underlying MTA for archiving.

--ewh


[Index of Archives]     [Bugtraq]     [Yosemite News]     [Mhonarc Home]