izomiac added the comment:
I agree, it's my suspicion that the server's error message and python's
outbound command are sent so close to each other that buffering ensures they
disagree about the exact sequence of commands/responses.
As for my server, it was HAProxy doing the injection and I
Pandu E POLUAN added the comment:
The "problem" is that smtplib.SMTP does the following, in essence:
1. Open connection to server
2. Send EHLO
3. Read server response
The PROXY injection causes a response from the server, but the response gets
"cached" in the incoming TCP buffer. The injecti
New submission from izomiac :
I use a custom e-mail server and noticed I wasn't getting e-mails from FreeNAS.
I tracked the bug down to Python's smtplib. My home internet can't do
outbound port 25, so I use a port forwarding script that I've since learned
injects "PROXY TCP4\r\n".
Thi