On Thu, Jun 27, 2013 at 05:23:44PM -0300, Hugo Osvaldo Barrera wrote:
> > 
> > It probably is the address size, '=' is an acceptable character.
> > With release, we had a maximum user-part of 64 bytes, which was what RFC
> > suggested. We bumped this post-release after an exchange with the FreeBSD
> > maintainer and one of the guys who wrote the RFC.
> 
> So you're accepting even those that exceed the maximum?
> What's the current maximum?
> 

It's slightly more complex than "accepting those that exceed the max":

The RFC says that a user-part should not exceed 64 bytes.
At the same time, it says that server should try not to impose limits if
possible. While at the same time, some particular limits must be imposed
to avoid issues when exchanging with other software (ie: the length of a
header or data line).

So basically, we should disregard the arbitrary 64 bytes limits if it is
possible, but we're still bound to limits we cannot disregard, and which
are completely unrelated to the email address itself...

We decided to bump to an arbitrary 255 bytes limit for the user-part and
255 bytes limit for the domain-part. An email address can be at most 511
bytes with today's code.


> > People using SMTP have been assuming infinite size in email addresses...
> 
> I see. It's somewhat interesting how *some* major providers are rejecting
> these emails, while other accept them. Lots of those emails clearly
> don't make it through.
> 

Sometimes the RFC gives too much space for interpretation.


-- 
Gilles Chehade

https://www.poolp.org                                          @poolpOrg

-- 
You received this email because you are subscribed to mailing list: 
[email protected]
To unsubscribe, send mail with subject:
        [[email protected]] unregister

Reply via email to