RE: [Exim] Acceptable/legal characters for a local part?

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Edgar Lovecraft
Dátum:  
Címzett: exim-users
Tárgy: RE: [Exim] Acceptable/legal characters for a local part?
Eli wrote:
>
> >Have a look at http://www.remote.org/jochen/mail/info/chars.html.
> That was quite useful (as were everyone elses comments as well - thank
> you!). It pretty much confirmed what I had thought about possibly
> denying certain characters in the local part.
>
> So, I've decided that I shall be restricting all local parts with the
> following regex:
>
>     local_parts     = ^\\. : ^.+\\.\\. : ^.*[%/!&#$@|~`]

>
> .... Just posting it incase anyone else cares to use it.
>
>
> Oh, and one more thing which I forgot to bring up in my first email...
> The character limits to local part and domain in an email address.
> RFC821 (section 4.5.3) says that the domain section (I assume this means
> everything after @) must not be longer than 64 characters, and the same
> limit for local parts as well.
>

That has changed in the later RFC's and I believe the limit is now
256 on the domain limit with hostname.
>
> Now, I don't have any problems with limiting usernames to 64 characters,
> but limiting a domain name to 64 characters seems quite dumb since DNS
> specifies a limit of 255 characters in a domain name. Anyone know what
> the deal is with this?
>

..[snip]...
--

--EAL--