> On Mar 7, 2023, at 12:54 PM, Bastian Blank via mailop <mailop@mailop.org> > wrote: > > Hi David > > On Tue, Mar 07, 2023 at 12:26:41PM -0500, David Sovereen via mailop wrote: >> I’m trying to reach someone at bell.ca <http://bell.ca/> who can help us >> with two inter-related issues. > > Why do you link to http://bell.ca/? Or is that some unhelpful client > again?
Yes, an unhelpful mail client. > >> 1. Their SMTP servers send mail without a QUIT. If we require a QUIT, our >> users cannot receive any bell.ca <http://bell.ca/> mail. > > SMTP servers don't send e-mail, they receive e-mail. You mean SMTP > client. However an e-mail transaction ends with <CRLF>.<CRLF>. So at > the time QUIT would be sent, no e-mail transaction is running. My apologies. I was trying to get an email out quickly before running to a meeting and completely mischaracterized the problem. The problem is that the *client* disconnects before receiving 250 OK. Here’s a log: [2023.03.06] 13:43:28.763 [204.101.223.59][57867550] cmd: DATA [2023.03.06] 13:43:28.763 [204.101.223.59][57867550] Performing PTR host name lookup for 204.101.223.59 [2023.03.06] 13:43:28.763 [204.101.223.59][57867550] PTR host name for 204.101.223.59 resolved as esa2-dor.bell.ca [2023.03.06] 13:43:28.763 [204.101.223.59][57867550] rsp: 354 Start mail input; end with <CRLF>.<CRLF> [2023.03.06] 13:43:28.810 [204.101.223.59][57867550] senderEmail(2): redac...@bell.ca parsed using: “Redacted” <redac...@bell.ca> [2023.03.06] 13:43:28.810 [204.101.223.59][57867550] Sender accepted. Weight: 4. Block threshold: 36. Failed checks: _SPF (4,None) [2023.03.06] 13:45:33.408 [204.101.223.59][57867550] rsp: 421 Command timeout, closing transmission channel [2023.03.06] 13:45:33.408 [204.101.223.59][57867550] disconnected at 3/6/2023 1:45:33 PM [2023.03.06] 13:48:59.847 [204.101.223.59][57867550] rsp: 250 OK [2023.03.06] 13:48:59.847 [204.101.223.59][57867550] Client socket is disconnected! Disconnect exception encountered: True, IsDisconnected: True, This message will still be accepted. [2023.03.06] 13:48:59.847 [204.101.223.59][57867550] Received message size: 17588 bytes [2023.03.06] 13:48:59.847 [204.101.223.59][57867550] Successfully wrote to the HDR file. (d:\mail\spool\SubSpool9\1391309161820.hdr) If we accept delivery as we did here where they disconnect before we send 250 OK, the message gets delivered to our end user. But the end user sometimes gets duplicate messages, sometimes many duplicate messages. If we don’t accept messages from clients that stay connected until the 250 OK is given, no bell.ca emails get through. Dave _______________________________________________ mailop mailing list mailop@mailop.org https://list.mailop.org/listinfo/mailop