procmail
[Top] [All Lists]

Re: Feature request

1996-08-20 16:04:46
"Alan Stebbens <stebbens(_at_)anywhere(_dot_)engr(_dot_)sgi(_dot_)com>" wrote:

"Brian R. Becker <beckerb(_at_)cs(_dot_)ucdavis(_dot_)edu>" wrote:

When delivering to directories, procmail can correctly handle delivery
to multiple folders using links.  However, LASTFOLDER only contains
the name of the first file delivered to.  I would prefer that ALL of
the files delivered to be present, allowing further processing
(specifically, adding all of the messages to MH unseen sequences).

Hacking procmail to understand MH idiosyncrasies is not a good solution.
Apply this algorithm for everyone's favorite mailer, and you get a piece
of junk. 

You misunderstood.  I was not asking for procmail to understand MH
idiosyncracies.  I was asking for procmail to put all destinations
into LASTFOLDER when it stores into multiple folders.  This way, it's
possible to write recipes which will allow (for example) the updating
of the MH sequence files.  This seems like a reasonable behavior for
procmail to exhibit.

What follows is a modified version of my recipe which saves a mail into
one or more folders.  It is untested, but should be fairly close to
working as it is.

Except that you lose the ability for the message to be hardlinked into
each folder.  rcvstore doesn't help either, as it accepts only one
destination.

Anyway, I added the functionality I wanted (extending LASTFOLDER) and 
have submitted a patch to Stephen (at his request).

-- 

Brian R. Becker
beckerb(_at_)cs(_dot_)ucdavis(_dot_)edu

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