"Russell P. Sutherland" <[EMAIL PROTECTED]> wrote:
> * Eric Lalonde ([EMAIL PROTECTED]) [ 6 Mar 2000 22:09]:
>
> > ...where do i copy currently unchecked email in /var/spool/mail,
> > so that this mail will be listed under Maildir as 'unchecked' email?
>
> See for example: <http://madhaus.utcs.utoronto.ca/qmail/mbox2maildir>
> for a perl script written by Ivan Kohler.
Or, if you're more anal about strict conformity to the maildir algorithm,
you can try safecat:
<http://www.pobox.com/~lbudney/linux/software/safecat.html>
Use formail to split the mbox into messages, and safecat to filter each
one. There's a one-liner on the one-liners page, reachable from the
main safecat page.
The point of safecat is that it returns success if and only if the
message is delivered successfully. You should arrange to catch the
exit status of safecat, and try again for any mbox for which safecat
fails (which is unlikely to happen in the first place).
Len.
--
Use prime numbers so that the hashing works well. (``Oh, that's what
/usr/games/primes is for.'')
-- Dan Bernstein