LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-31-2018, 07:52 AM   #1
rjkfsm
Member
 
Registered: Apr 2004
Location: Charleston, SC
Distribution: RHEL, CentOS, Debian, Gentoo, Knoppix & DSL
Posts: 126

Rep: Reputation: 15
Sendmail not waiting for 250 response


Hello,

I am using 4 ea sendmail servers to act as proxy servers to filter out abuse from the NDRs & FBLs being returned. The NDRs are being processed by the 20 Selligent StrongMail servers that sent the original message. The FBLs get forwarded to another server that processes them.

The issue is that sendmail is not waiting for the 250 response after sending the RCPT TO which is causing the Selligent server to reset the connection and cause the emails to be deferred & queued.

Code:
220 mta-RRRF.cluster2.<company>.net - ready at Fri, 31 Aug 2018 07:42:49 -0500 for server 32737
>>> EHLO mail301.<company>.net
250-mta-RRRF.cluster2.<company>.net
250-PIPELINING
250-SIZE 10240000
250 8BITMIME
>>> MAIL From:<fbl@bounce.mailstream.senderscore.net> SIZE=19447 BODY=8BITMIME
250 Ok
>>> RCPT To:<complaint@cluster3.<company>.net>
>>> DATA
250 Ok
354 send the mail data, end with .
>>> .

... Deferred: Connection reset by [74.xx.xx.xx]
I have used tcpdump to capture the packets and confirm the issue.

So, the question is: How do I fix this? How do I get Sendmail to wait for the 250 response before sending the DATA?

Russ

Last edited by rjkfsm; 08-31-2018 at 08:22 AM.
 
Old 08-31-2018, 02:14 PM   #2
rjkfsm
Member
 
Registered: Apr 2004
Location: Charleston, SC
Distribution: RHEL, CentOS, Debian, Gentoo, Knoppix & DSL
Posts: 126

Original Poster
Rep: Reputation: 15
Update: I have been informed that RFC 2920 states that when a server advertises PIPELINING (which the Selligent server is doing), the client MTA does not have to wait for a 250 response before sending the next command. I have thrown this at Selligent and they now acknowledge a bug with "no timeline" for resolution. They advise, "In the meantime, unfortunately, the only workaround for the moment is to avoid batching of commands (i.e. not making use of pipelining)."

Is there a way to do this in sendmail? Disable that feature?

Russ
 
Old 08-31-2018, 02:33 PM   #3
rjkfsm
Member
 
Registered: Apr 2004
Location: Charleston, SC
Distribution: RHEL, CentOS, Debian, Gentoo, Knoppix & DSL
Posts: 126

Original Poster
Rep: Reputation: 15
Update2: The only way to disable command batching in Sendmail is to change the source code and re-compile. (It's not a runtime option)

Russ
 
Old 08-31-2018, 08:18 PM   #4
rjkfsm
Member
 
Registered: Apr 2004
Location: Charleston, SC
Distribution: RHEL, CentOS, Debian, Gentoo, Knoppix & DSL
Posts: 126

Original Poster
Rep: Reputation: 15
Update3: Selligent support had me alter a mapping file so that the PIPELINING doesn't come up anymore after the EHLO and so Sendmail does not try to batch commands.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SendSMTPCommand: Timeout waiting for response after 15 seconds lq_win Linux - Newbie 2 02-02-2017 07:39 PM
Apache response "HTTP request sent; waiting for response" too long ALInux Linux - Server 1 07-19-2011 06:45 PM
dhcpcd timing out waiting for server response theofb Linux - Newbie 2 09-15-2008 08:43 AM
tor - waiting for response noir911 *BSD 1 06-29-2006 06:33 AM
Linux times out waiting for a valid dhcp response enigma Z Linux - Networking 11 10-29-2003 04:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration