Article View: aus.computers.linux
Article #54867Re: Getting MH to inc qmail's "maildir" maildrop format
From: Dimitri Maziuk
Date: Sun, 07 Sep 1997 00:00
Date: Sun, 07 Sep 1997 00:00
46 lines
2320 bytes
2320 bytes
Jason Stokes wrote: > > Currently my qmail mail delivery agent is set up to deliver to an mbox > maildrop each user's directory. From there, MH incs the mail to be read by > exmh. It works fine, but the qmail documentation has ominous warnings about > the reliability of the mbox format and suggests configuring qmail to use > qmail's custom "maildir" maildrop format. The only problem is, I don't know > if it's possible to set up "inc" to read that format. Is it, and if so, how > do I set it up? [CC-ing to news in case others are interested] You can a) replace MH's inc with a wrapper script like maildir2mbox ; inc "$@" b) hack exmh to run maildir2mbox before inc (Tcl isn't too difficult to understand) c) use procmail. I use c) and strongly recommend it. Added benefits are spam-filtering, acknowledgements etc. You need | preline procmail in your ~/.qmail and a working procmail setup. Recommended procmail recipe delivering into MH's mail folder looks e.g. like this: :0:$MAILDIR/inbox/.mh_sequences.$LOCKEXT * ^TOyour@email.address | /usr/lib/mh/rcvstore +inbox Procmail can put mail into the right mh folder but it doesn't update unseen-sequence, and exmh doesn't like that. Hence the use of rcvstore for delivery. Also, with this setup it's possible that multiple rcvstores will be updating unseen-sequence at the same time, messing it up -- hence locking the file (rcvstore doesn't do that apparently). Note that this doesn't use qmail's maildir -- incoming messages are passed to procmail and delivered to mh folders right away. HTH -- Dimitri ------- This is the official notification that I do not wish to receive any unsolicited commercial e-mail. (Solicited advertisements <huh?> and other such can be sent to emaziuk at curtin dot edu dot au)
Technical Details
Message-ID:
<341190D2.644769FF@curtin.edu.au>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<5ulblb$1ng$1@clarion.carno.net.au>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 102983,5c8a2d3b06f6f63b X-Google-Attributes: gid102983,public From: Dimitri Maziuk <emaziuk@curtin.edu.au> Subject: Re: Getting MH to inc qmail's "maildir" maildrop format Date: 1997/09/07 Message-ID: <341190D2.644769FF@curtin.edu.au> X-Deja-AN: 270291717 References: <5ulblb$1ng$1@clarion.carno.net.au> To: Jason Stokes <j.stokes@bohm.anu.edu.au> Organization: Legion of Static Discord Newsgroups: aus.computers.linux