Re: Reading from pipe

2001-01-25 18:42:07
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

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.


<Prev in Thread] Current Thread [Next in Thread>