Re: [mailop] Gmail has a thing about dots

2024-05-06 Thread Brandon Long via mailop
The reason I added the address validation for mail from was because
otherwise we had no guarantee that we could send a bounce.  Validation
stopped us from getting a bunch of invalid addresses we would then fail to
bounce back to.

The lack of handling for quoted addresses has been true since day one,
however, and properly handling them would have required validation up and
down the whole stack, and gets into some challenging questions especially
when it comes to the "user enters an address" box.  Do we require the user
to enter addresses properly quoted?  Do we attempt to allow the nearly
everything that RFC 3696 talks about?  If we do that, then just about
anything
they enter would be allowed and most likely would be wrong.  How do you
display a quoted address, de-quoted so it looks nice but not like any email
address users are experienced with, or quoted which looks ugly but looks
closer to "right" and can be copy & pasted into places that expect an email
address?

Maybe there was some happy medium, but it almost certainly would cause
user confusion.  The longer we didn't support them, the less likely they
were actually in use... and the more the bit Ale quotes below comes to play.

Of course, the other part that's really ugly is that some gmail addresses
have multiple dots in a row, sorta, in the sense that gmail addresses
ignore dots and some people got really creative in their use of them, so
the code does handle that, but I don't recall the specifics, whether that
applies only to @gmail.com addresses or what.

Brandon

On Sat, May 4, 2024 at 4:43 AM Alessandro Vesely via mailop <
mailop@mailop.org> wrote:

> On Thu 02/May/2024 21:02:28 +0200 John Levine via mailop wrote:
> > While debugging something else, I've been trying to send messages to
> myself
> > from the address a...@m.jl.ly.  RFC 5321 says two dots in a row need to
> be
> > quoted, and I have checked that my mail system does indeed put in the
> quotes
> > and it says
> >
> > MAIL FROM:<"a..b"@m.jl.ly>
>
>
> Useless to recall the famous sentence of RFC 5321, where it defines the
> address
> syntax (Section 4.1.2):
>
> While the above definition for Local-part is relatively permissive,
> for maximum interoperability, a host that expects to receive mail
> SHOULD avoid defining mailboxes where the Local-part requires (or
> uses) the Quoted-string form or where the Local-part is case-
> sensitive.
>
>
> Best
> Ale
> --
>
>
>
>
> ___
> mailop mailing list
> mailop@mailop.org
> https://list.mailop.org/listinfo/mailop
>
___
mailop mailing list
mailop@mailop.org
https://list.mailop.org/listinfo/mailop


Re: [mailop] Gmail has a thing about dots

2024-05-04 Thread Alessandro Vesely via mailop

On Thu 02/May/2024 21:02:28 +0200 John Levine via mailop wrote:

While debugging something else, I've been trying to send messages to myself
from the address a...@m.jl.ly.  RFC 5321 says two dots in a row need to be
quoted, and I have checked that my mail system does indeed put in the quotes
and it says

MAIL FROM:<"a..b"@m.jl.ly>



Useless to recall the famous sentence of RFC 5321, where it defines the address 
syntax (Section 4.1.2):


   While the above definition for Local-part is relatively permissive,
   for maximum interoperability, a host that expects to receive mail
   SHOULD avoid defining mailboxes where the Local-part requires (or
   uses) the Quoted-string form or where the Local-part is case-
   sensitive.


Best
Ale
--




___
mailop mailing list
mailop@mailop.org
https://list.mailop.org/listinfo/mailop


Re: [mailop] Gmail has a thing about dots

2024-05-02 Thread Benny Pedersen via mailop

John Levine via mailop skrev den 2024-05-02 21:02:


Return-Path: <"a..b"@m.jl.ly>


less spammy without "

rfc or not

but imho < and > is required

in spamassassin From:addr "..." is spammy, while From:Name needs "

i noted you use rblsmtpd. with does imho not support tls

okay for testing :)



___
mailop mailing list
mailop@mailop.org
https://list.mailop.org/listinfo/mailop


[mailop] Gmail has a thing about dots

2024-05-02 Thread John Levine via mailop
While debugging something else, I've been trying to send messages to myself
from the address a...@m.jl.ly.  RFC 5321 says two dots in a row need to be
quoted, and I have checked that my mail system does indeed put in the quotes
and it says

MAIL FROM:<"a..b"@m.jl.ly>

But Gmail still doesn't like it, with the error message suggesting that 
something at
their end stripped the quotes too early   Huh?

Outlook/Hotmail accepts it but puts it in the spam folder which I guess is OK.

R's,
John

Connected to 2607:f8b0:4004:0c17::::001a but sender was rejected.
Remote host said: 553-5.1.7 The sender address  is not a valid 
RFC 5321 address. For
553-5.1.7 more information, go to
553-5.1.7  https://support.google.com/a/answer/3221692 and review RFC 5321
553 5.1.7 specifications. e5-20020a0562141d0500b0069b3262b75fsi1739474qvd.226 - 
gsmtp

 ...

Return-Path: <"a..b"@m.jl.ly>
___
mailop mailing list
mailop@mailop.org
https://list.mailop.org/listinfo/mailop