procmail
[Top] [All Lists]

Re: mh format

2001-03-18 18:10:28
Landy Roman <landie(_at_)concentric(_dot_)net> writes:
trying to use procmail with another client that uses MH folder type;

how would i use those in the recipe?

Put "/." at the end of the folder name in the action and procmail will
treat the folder as an MH folder.

To take an example from my own .procmailrc:
        :0
        * ^Return-Path:(_dot_)*owner-drums(_at_)cs\(_dot_)utk\(_dot_)edu
        MH/Lists/drums/.


Note that procmail does *NOT* update the "new" folder sequence.  Doing so
requires modifying the context or .mh_sequences file and is best left to
the rcvstore program.  Neither MH nor nmh lock either of those files,
so asynchronous updates to them, such as when rcvstore is invoked by
procmail may corrupt your sequences unless you wrap *all* MH/nmh calls
(not just rcvstore) with locks.

Personally, I find the loss of "new" to be a small cost to pay to
get automatic sorting of mail.


Philip Guenther
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>