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

Re: address test with multiple addresses?

1999-05-19 14:24:47
Date: 18 May 1999 17:04:37 -0400
From: Lawrence Greenfield <leg+(_at_)andrew(_dot_)cmu(_dot_)edu>

How is the address test suppose to handle multiple addresses?

For instance, if my message has:

To: leg(_at_)andrew(_dot_)cmu(_dot_)edu, sg3y(_at_)andrew(_dot_)cmu(_dot_)edu

and I test

if address :localpart :is "to" "sg3y" {
  fileinto "INBOX.silly";
}

does this match?  When should it match with multiple addresses?

My assumption is that it would work just like header, and that if any
address appeared in any named header, it would match.

Did you have something else in mind?

I'll clarify the text.  Any ideas?

Tim


<Prev in Thread] Current Thread [Next in Thread>