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

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Eli
Dátum:  
Címzett: exim-users
Tárgy: RE: [Exim] Acceptable/legal characters for a local part?
>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.

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?

Eli.

-----Original Message-----
From: exim-users-admin@??? [mailto:exim-users-admin@exim.org] On Behalf
Of Holger Mauermann
Sent: Wednesday, February 04, 2004 3:28 AM
To: exim-users@???
Subject: Re: [Exim] Acceptable/legal characters for a local part?


Eli wrote:
> I was just doing up a document for something here at work describing
> what valid characters can be used in a local part of an email address


Have a look at http://www.remote.org/jochen/mail/info/chars.html. This
pages explains which characters are allowed and how they are used.

Holger

--

## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
details at http://www.exim.org/ ##