Re: [Exim] commets on multiline /etc/alias files - are #comm…

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Philip Hazel
Dátum:  
Címzett: Matthew Byng-Maddick
CC: List - Exim
Tárgy: Re: [Exim] commets on multiline /etc/alias files - are #comments supported?
On Sun, 1 Dec 2002, Matthew Byng-Maddick wrote:

> >    == below fails
> > originalto: em1,
> >             em2,
> >             em3, #comment
> >             em4,
> >             em5

>
> And comments only appear to be valid at the beginning of lines.


Correct. # is a valid character in email addresses. Consider:

originalto: em1, #abc@???, em3, ...

That's perfectly legal. # is not a 'special character' to RFC 2822.

If you want comments, they should be RFC 2822 comments, that is,
parenthesized:

originalto: em1, (comment) em2, ...


--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.