Chris Johnson <[EMAIL PROTECTED]> writes:

> On Wed, Apr 28, 1999 at 09:23:47AM -0500, Andy Walden wrote:
> > 
> > Is there anyway to fudge procmail into writing things to a
> > Maildir?
> 
> There are some patches available to make procmail deliver to
> maildirs.

If you like procmail, and don't want to patch it, then I recommend
safecat. You can download it at my web page:
<http://www.pobox.com/~lbudney/linux/software/safecat.html>.

Safecat takes stdin and writes it to a file in a Maildir, using the
same algorithm as qmail. You can invoke it from procmail (patched or
not) with a rule like:

  :0w
  |safecat $HOME/Maildir/tmp $HOME/Maildir/new

With the 'w' flag, above, procmail+safecat should be as reliable as
qmail itself.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Len Budney                 |  There are many good reasons to ignore
Maya Design Group          |  this cipher...So why bother with     
[EMAIL PROTECTED]            |  nitpicks about the code style?       
                           |              -- Prof. Dan Bernstein
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Reply via email to