procmail
[Top] [All Lists]

Re: LASTFOLDER blues

2007-03-26 08:36:52
On Sun, Mar 25, 2007 at 10:25:11PM +0200, Dallman Ross wrote:
On Sun, Mar 25, 2007 at 08:38:50PM +0200, Axel Thimm wrote:

On Sun, Mar 25, 2007 at 10:31:14AM -0700, Bart Schaefer wrote:

You can have multiple deliveries without assigning to HOST, as long as
one of the multiples is $DEFAULT.

No, what you suggest is *unconditionally* fill them into
$DEFAULT. That defeats the purpose of having mail processed and sorted
by a program.

No, he's not suggesting that.  You can change DEFAULT on the fly,
in your conditional recipe.

   :0
   * conditions
   { DEFAULT = FolderX  SWITCHRC }

as your last of the conditional recipes in this block of multi-
deliveries.

Which means that I would have to know which my last delivery would be
and not deliver into that, but spare ot for $DEFAULT. That's quite
impossible.

o no loss of mail (should be self-understood, but anyway)
o multiple delivery actions per incoming mail with different conditions

Fine.  Have your last recipe be one that calls a binary or script
to check the delivery to $LASTFOLDER.

What, scan the mbox or Maildir or send a mail to the forwared address
to verify the mail was really forwarded? That won't work ... ;)

Be my guest and write to the "Poltergeist" maintainer of procmail
and get him to come back and fix your bug.  He has promised to come
back at least twice in the last two years, but so far it is all
"vaporware." :-)

Well, that was the same situation a decade ago, when Stephen finally
passed to Philip. I need to face the truth, no matter how procmail
addicetd I was: procmail is dead and I need to move on to find a
replacement :/

As it stands the only way is the pairing of each recipe with :0 e
bloat. Sad, but true.

I wish you'd quit using that "only way" language.  There's always
more than one way to skin a cat. :-)

I'd wish you leave cats and other animals alone ;)

Currently the pairing continues to be the "only way".
-- 
Axel.Thimm at ATrpms.net

Attachment: pgpc7MsK1YfCn.pgp
Description: PGP signature

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail
<Prev in Thread] Current Thread [Next in Thread>