Unless I'm missing something, it's the first bullet in RFC5321 4.5.2.

- Mark Alley


On 3/1/2024 3:49 PM, Cyril - ImprovMX via mailop wrote:
@Julien Bradfield:
I've initially shared the exact line in the code on what Aiosmtpd - not my software - is doing, which it is saying is following the RFC by removing the first character if it's a dot. I could share emails that went through Aiosmtpd and another that didn't, which would only show that the one that didn't still has a starting dot whereas the other doesn't. I don't see what I can add on top of that. It seems clear, precise and detailed as it includes references and links. If anything is missing, coud you please ask clearly and precisely what do you expect more from it?

@John Levine <mailto:jo...@taugh.com>, I'm not sure which line you are mentioning, the one I used from the RFC ("... If the first character is a period and there are other characters on the line, the first character is deleted.") does mention "deleted", not "inserted".
From where did you get your quote?


Le ven. 1 mars 2024 à 20:04, John Levine <jo...@taugh.com> a écrit :

    It appears that Cyril - ImprovMX via mailop <cy...@improvmx.com> said:
    >-=-=-=-=-=-
    >-=-=-=-=-=-
    >
    >Just to clarify, I'm not trying to pin some issue on a company
    (Google) but
    >I'm trying to understand why aiosmtpd seems to follow an RFC that
    >appears to be clear on the behavior, that GMail doesn't do but
    doesn't
    >appear to be the only one (as my user is generating a document
    that also
    >doesn't seems to follow it).
    >
    >I'm more thinking about a different interpretation on the RFC
    that leads to
    >various behavior between aiosmtpd and (some) others.

    You might want to reread the paragraph before the one you quoted
    in your last message:

       o  Before sending a line of mail text, the SMTP client checks the
          first character of the line.  If it is a period, one additional
          period is inserted at the beginning of the line.

    It's quite clear, and if your software isn't adding a second dot
    in front of the
    line that starts with a dot, it's wrong.

    R's,
    John


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

--
- Mark Alley
_______________________________________________
mailop mailing list
mailop@mailop.org
https://list.mailop.org/listinfo/mailop

Reply via email to