Tim Legant <[EMAIL PROTECTED]> writes:

> I understood that, but this seems to me to be just a specific case
> of a more general thing.  In other words, assuming multiple rule
> matches, I can do exactly what the OP wants like this:
>
> to [EMAIL PROTECTED] deliver=~/Mailbox
> to [EMAIL PROTECTED] deliver=| pager-program

This isn't very intuitive to me and doesn't really follow the "first
match wins" methodology we are used to.

> I can also do other actions not limited to delivery destinations.

Assuming this were possible, I think something like this would look
better to me:

# bounce the message, but also save it
to [EMAIL PROTECTED] bounce, deliver=~/Mailbox.bounces

# bounce the message, but also save it and pipe it to my pager
to [EMAIL PROTECTED] bounce, deliver=~/Mailbox.bounces, |pager-program

So, the comma can be used to indicate multiple actions and/or multiple
delivery destinations.

> If you feel, in your judgment, that multiple rule matches will not be
> a useful thing in the future, then I'll be happy to look at adding
> just the multiple destinations to the deliver action.  IOW, I'm not
> objecting too strenuously!

I really can't say. At first glance, multiple rule matches doesn't
seem as useful to be as having multiple delivery destinations, but who
knows what the future holds?

Perhaps it can be done in a way that wouldn't exclude this from being
added in the future?

> Well, that's good, but I think we still have to quote, because they
> are legal in filenames and a delivery destination could be an mbox
> name with a comma.  Ick.

I'd prefer to not have to quote unless one is actually using a comma
in a filename. The vast majority of users will not being doing this,
so let's not cater to the oddball.
_________________________________________________
tmda-workers mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-workers

Reply via email to