At 4:29 PM -0500 11/10/98, Tim Showalter wrote:
Reject, fileinto, and envelope-sender commands all have problems that
not all systems can actually implement them, so I think we're pretty
much screwed here, although perhaps reject and envelope-sender need to
be added to the draft.
I want to be able to test "envelope-sender" too, and we have that in
our implementation...
What does the command look like? If you've got a working syntax, we
might as well use it.
My Sieve implementation uses "envelope.rcpt" and "envelope.from" as tests.
I've also implemented "Mark" as an action which adds a header to the
message; "^f" and "^r" are expanded to the envelope return-path and
recipient, respectively.
For example (from my test Sieve script):
if envelope.rcpt contains "+"
mark "x-detail: ^r";