On Tue, Mar 07, 2023 at 01:29:37PM -0500, David Sovereen via mailop wrote:
> > On Mar 7, 2023, at 12:54 PM, Bastian Blank via mailop <mailop@mailop.org> 
> > wrote:
> > 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.

And one that ignores the "Mail-Followup-To" header.

Please note that people on mailing lists usually don't want a personal
reply.  It is even considered rude, as this circumvents the filter that
moves mail into a different inbox.

> 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

421 is a hard error.  You must close the connection and abort the
transaction.  The client will not hear anything after that and retry.

> [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

This is bullshit.  After a disconnect, no transaction exists and no 250
reply can happen.

> [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.

You are running into timeouts.  You have network problems or
synchronization issues.  Now you need to look at a real dump.  Use
wireshark.

Bastian

-- 
A father doesn't destroy his children.
                -- Lt. Carolyn Palamas, "Who Mourns for Adonais?",
                   stardate 3468.1.
_______________________________________________
mailop mailing list
mailop@mailop.org
https://list.mailop.org/listinfo/mailop

Reply via email to