Hi folks,
My heavily-filtered mail setup (and yours?) has two big problems:
1. Most MUAs don't really use maildirs well, and
2. Most MUAs don't handle asynchrony well
The former is illustrated by Mew, which can import mail from a
maildir, but which uses MH folders otherwise.
The latter is illustrated by MH, which routinely corrupts its
mh_sequences under heavy, asynchronous use.
Would anyone be interested in an extension to the serialmail package
which pumps a maildir through a process? The idea, for example, is to let
qmail deliver to a maildir, and then run something like:
maildircmd ~/Maildir preline procmail
or
maildircmd ~/Maildir rcvstore +lists/$EXT2
as a separate daemon? The result is that .qmail-style filtering would
be completely serialized, yet latency would be under control, and
reliability would still be perfect (modulo the filters themselves).
If folks are interested, I am willing to work on it (though it would
be a 75% ripoff of Dan's serialsmtp). Better, if folks are very
interested, can we ask Dan to include it in a future serialmail
release?
Len.
PS: example 2 above suggests that maildircmd should set all of the
same environment variables as qmail-local, insofar as this is
possible.
--
"Ideas are more dangerous than guns. We wouldn't let our enemies have
guns, why should we let them have ideas?" -- Josef Stalin