On Mon, 15 Dec 1997 18:22:54 +0000 "J.Sigbrandt" wrote
My current procmail rule looks like this:
# Filtering for the HVML Digests
:0: HVMLIn/.lock
* ^From:(_dot_)*HVML(_at_)somewhere(_dot_)net
| formail +1 -I "Reply-to: HVML(_at_)somewhere(_dot_)net" \
-ds /usr/lib/mh/rcvstore +HVMLIn
(note that formail splits the digest and rcvstore puts the
messages into MH style folders and updates the unseen
sequences.)
What I am looking for, is a method to do the above but
WITHOUT updating the unseen sequences ... i.e. I want formail
to simply add the individual messages straight into the
IxionIn folder with no further fuss.
Well, according to the rcvstore man page, rcvstore will
use Unseen-sequence if it is in the MH profile.
Therefore, you will need to change your profile. The
MH environment variable contains the pathname of your
mh-profile file.
So, create a profile, and place it in $MAILDIR/.mh_profile
This new profile will contain no Unseen-sequence component.
Run formail/rcvstore from your recipe as follows:
:0: HVMLIn/.lock
* ^From:(_dot_)*HVML(_at_)somewhere(_dot_)net
| /bin/sh -c 'MH=$MAILDIR/.mh_profile \
formail +1 -I "Reply-to: HVML(_at_)somewhere(_dot_)net" \
-ds /usr/lib/mh/rcvstore +HVMLIn'
I haven't tested this, but this is the general idea.
--
Chris Mikkelson
mikk0022(_at_)maroon(_dot_)tc(_dot_)umn(_dot_)edu
U of M Tuba and Student "Life is too short for windows..."
'94-present