Thus spake "Ronald F. Guilmette":
> 
> I am signed up for many mailing lists, including this one, which
> I do not actually read on a routine basis, but which I like to
> archive locally using appropriately named MH folders that reside
> underneath my own ~/Mail directory.
> 
> Of course, as far as the MH system is concerned, the proper way to
> place a new message into a folder is the "inc" command.  But "inc"
> requires that the message be grabbed either after it has already
> been delivered to the user's onw local maildrop file or else that
> it come from a named file.  This creates a sort-of impeadance
> mismatch with the way that procmail wants to do things.  It just
> wants to pass the message file to some other command via stdin.
> Also, of course, each time "inc" runs it diddles the user's
> $HOME/Mail/context file to point to the folder/directory where the
> nes message is being refiled, regardless of whether the user desires
> this behavior or not.

Can't you use rcvstore for this?

For example, I've had this spam-filing recipe in my .procmailrc for ages:

:0w: Mail/sp/$LOCKEXT
* ^X-Bogosity: Spam, tests=bogofilter
| /usr/libexec/nmh/rcvstore +sp

-- 
J.

_______________________________________________
Nmh-workers mailing list
Nmh-workers@nongnu.org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

Reply via email to