Re: [Exim] "#" on the end of email address

Pàgina inicial
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
A: Matthew Frost
CC: exim-users, Rachel Moore
Assumpte: Re: [Exim] "#" on the end of email address
On Fri, 9 Aug 2002, Matthew Frost wrote:

> And I end up with a spool -H file that has "user@???#"
> in the list of recipients list. Reading spool_in.c for Exim 4
> eludes that there could be digits and special terminators after
> the address (if I've got this right).


Yes - thanks for the pointers but you are too late! I got Rachel's copy
of the message in my private inbox and went away and figured it all out
before returning to the Exim list...

My fix for this is to remove a very, very longstanding "feature" that I
don't think has ever been used. This feature is that Exim, when
receiving messages NOT via SMTP, checks domain syntax according to RFC
[2]822 rather than RFC [2]821. The difference is that 822 allows a lot
of characters that 821 doesn't, including #. I'd completely forgotten
about this when I re-arranged the format of spool files (earlier in Exim
3, and more recently in Exim 4).

It seems to me that this is a silly "feature" and it would be better to
bounce addresses whose domains don't conform to RFC 821. After all, they
would get bounced if they arrived over SMTP.

Philip

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