ietf-mta-filters
[Top] [All Lists]

Re: Multiple actions in Sieve script.

1999-01-22 18:22:05
Date: Fri, 22 Jan 1999 17:15:33 -0800
From: Randall Gellens <randy(_at_)qualcomm(_dot_)com>

At 7:49 PM -0500 1/22/99, Tim Showalter wrote:

I think it is OK to both reject and redirect (forward) a message.
The message is not kept.
I am strongly opposed to this. It's been discussed before.

I can live with these being mutually exclusive.  What is the rule if 
both are executed?  Last one wins?  First one wins?  Script aborts 
(filing into INBOX as default)?

Incidentially, I really think we should dump implicit keep. If this is
not the case, I'd really like to know it now.

What does that mean?  Surely the default action must still be keep.


That's my point exactly.  We need to distinguish a single file-into
from a multiple file-into.  Let's say we spell them "FileInto" and
"CopyInto".  Then, if more than one "FileInto" is executed, only one
of them is effective (which one is an open point).  If more than one
CopyInto is done, all are effective.  If both a CopyInto and a
FileInto are done, both are effective.

I suggest "FileInto" and "FileOnlyInto", or possibly, add an optional
tagged argument to Fileinto, ":only".

Is the intent of the "only" part to prevent also doing a non-only? 

No.  I wasn't clear.  I find the terminology "FileInto" and "CopyInto"
confusing because the terms do not clearly specify what they do.

Actually, neither do "FileOnlyInto" and "FileInto" or whatever.  Blah.

My intent was that many "FileInto"s can be obeyed IF the server supports 
FileInto at all.

If the server supports "FileOnlyInto", only one invocation works (either 
the first or the last).

Ack.  Perhaps "MoveInto" is best, and the last one is the only one
obeyed.  I dunno.

-- 
Tim Showalter <tjs+(_at_)andrew(_dot_)cmu(_dot_)edu>