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

Re: List of expected changes for sieve 05 draft - Forward

1998-11-11 13:34:38
So should forward add Resent-* information?  Pete Resnick told me a long 
time ago it should, but I forgot to write it down.

I'm under the impression that it should.

From: "Barry Leiba" <leiba(_at_)watson(_dot_)ibm(_dot_)com>
Date: Wed, 11 Nov 1998 13:27:39 -0500

Furthermore, I also would like to see a copy-forward action: instead of 
forwarding, deliver the message and send a copy to the specified address. 

There's nothing wrong with using "forward" and "fileinto" (or "keep") 
together to accomplish this.

I agree with Barry.

(BTW, I find it *much* more useful to use "envelopesender" than to use
the document header fields.  Suppose I'm subscribed to the IMAP, ACAP,
IMAPEXT, and MTA-FILTERS mailing lists, and someone posts something to
all of them.  With "envelopesender" I can sort the four copies into their
respective folders.  Without it, there's no way to do that.)

Not true.

if header ["to", "cc"] :contains ["ietf-mta-filters(_at_)imc(_dot_)org"] {
        fileinto "INBOX.mta-filters";
}
if header ["to", "cc"] :contains ["imap(_at_)cac(_dot_)washington(_dot_)edu"] {
        fileinto "INBOX.imap-list"; 
}
[etc.]

Or am I just completely missing something?

This doesn't work if a mailing list has multiple names.

Simply matching against return-path doesn't work for mailing lists that
do VERPs.  See Dan Bernstein's weekly rant on the subject for more
information, although qmail/ezmlm isn't the only one that does it,
either.  Mostly it works if you do a glob of some kind, I think.

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