Derek Martin <[email protected]> writes:

> On Thu, Jul 31, 2014 at 11:42:01AM -0700, [email protected] wrote:
>> I'm experimenting with different ways to handle email. I configured
>> procmail to deliver email in mh format by appending '/.' to the
>> folder name in a few of its delivery specification. 
> [...]
>
> I think you did not...  AFAIK--and granted it's been a very, very long
> time since I've seen anyone even mention mh format so I may be
> misremembering--you need to use the mh mail tools, by having procmail
> deliver the messages to mh's recvstore (or something like that)
> program.  Procmail, AFAIK, has no mh folder support and is not by
> itself sufficient to deliver to mh mail folders.

It's recommended that you use rcvstore to put messages into folders,
which works perfectly well with procmail. I use this all the time. I
have procmail rules like:

:0 w: mh$LOCKEXT
* ^Subject: .*(afford|cheap|credit|debt|discount|loan|mortgage|refinanc)
| rcvstore +spam

(Make sure rcvstore is on your path.)

Even so, I think you may have to create the .mh_sequences or .xmhcache
file by hand in each mail folder. It's a one time operation, so you
won't have to repeat it unless you create new folders. These files are
not required by MH/nmh, but they are used by mutt to manage MH folders,
so it's a bit of a quirk.

-pd

Reply via email to