Re: which timeout for "cmd read"?
- From: "Robert Harker" <harker@xxxxxxxxxx>
- Date: 27 Feb 2006 17:19:45 -0800
I'm noticing most of my incoming SMTP connections sit in the "cmd read"
state for a long time.
Is there a timeout I change change in my mc file
for this specific "cmd read" state?
Try Timeout.command which is the time the SMTP server waits for
a command to be issued. I have seen this type of problem with POP
or IMAP clients holding a connection open "just in case" the client
has a message to send. This is also the state on the server of a
connection that the SMTP client (sendmail) is holding open via
the connection cache.
The default is 1 hour, I would suggest 1 minute or maybe 30 seconds.
My attitude is that if the SMTP client can not get it together to send
a command in a short period of time, then its their problem and just
close the connection.
You can set this with:
define(`confTO_COMMAND',`1m')
Hope this helps
RLH
For info about our "Managing Internet Mail, Setting Up and Trouble
Shooting sendmail and DNS" and a schedule of dates and locations,
please send email to info@xxxxxxxxxx, or visit www.harker.com
.
- References:
- which timeout for "cmd read"?
- From: Ken Williams
- which timeout for "cmd read"?
- Prev by Date: Re: Virutal server relaying denied problem
- Next by Date: Re: How can i block this spammer?
- Previous by thread: which timeout for "cmd read"?
- Next by thread: Virutal server relaying denied problem
- Index(es):