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

Soure routes vs. "address" (was: Re: request for clarification)

2003-04-25 15:56:08

On Fri, Apr 25, 2003 at 03:03:36PM -0700, Philip Guenther explains:

The "@foo.com,@bar.com:" part is a source route.  The Sieve rfc is just
saying that tests must act as if the address didn't include the source
route when determining whether they match.

Hm!  Now that you mention it, the fact that RFC 3028 says that about
_envelope_ addresses only and not about _all_ e-mail addresses (that is,
also the ones used with "address") seems like an omission to me.

The text about the "address" test excludes comments and groups from the
comparison, but doesn't mention source routes:

#  The address primitive never acts on the phrase part of an email
#  address, nor on comments within that address.  It also never acts on
#  group names, although it does act on the addresses within the group
#  construct.

Source routes are part of the RFC 2822 "obs-angle-addr" nonterminal,
and RFC 2822 asks that they be ignored:

#  When interpreting addresses, the route portion SHOULD be ignored.

Is there any reason not to always throw out the source route?

Jutta

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