List Info

Thread: Sendmail timeouts




Sendmail timeouts
country flaguser name
United States
2007-02-28 10:32:47
I've been trying to set some more aggressive timeouts in
sendmail than
the defaults. This is to stem the tide of stale connections
(most
seemingly from spam sources) that keep chew up resources on
my mail
front-end. The various things I've tried have not really
helped all that
much. And the sheer number of timeout values make it's
difficult in
choosing what to tune.

So my plea to the collective list wisdom is what do you
folks use? What
values would you recommend I try?
-- 
Stephen L Johnson                       stephen.johnsonarkansas.gov
Unix Systems Administrator              sjohnsonmonsters.org
Department of Information Systems       Phone: 501-682-4339
State of Arkansas

_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in
the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpengu
in.com
MIMEDefang mailing list MIMEDefanglists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mime
defang

Re: Sendmail timeouts
country flaguser name
United States
2007-02-28 10:38:58
I looked at the RFC's recently for something else and there
are recommendations... typically of about 5m for all of
'em.

Look in RFC 2821... There are some values mentioned.

 -Ben

-- 
Ben Kamen
============================================================
=================
Email: bkamen AT benjammin DOT net              Web: http://www.benjammin.net


"I'd love to go out with you, but I'm having all my
plants neutered."
_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in
the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpengu
in.com
MIMEDefang mailing list MIMEDefanglists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mime
defang

RE: Sendmail timeouts
country flaguser name
United States
2007-02-28 12:19:28
> -----Original Message-----
> From: mimedefang-bounceslists.roaringpenguin.com 
> [mailto:mimedefang-bounceslists.roaringpenguin.com]
On 
> Behalf Of Stephen Johnson
> 
> I've been trying to set some more aggressive timeouts
in sendmail than
> the defaults. This is to stem the tide of stale
connections (most
> seemingly from spam sources) that keep chew up
resources on my mail
> front-end. The various things I've tried have not
really 
> helped all that
> much. And the sheer number of timeout values make it's
difficult in
> choosing what to tune.
> 
> So my plea to the collective list wisdom is what do you
folks 
> use? What
> values would you recommend I try?
> -- 

I've had luck with the following settings in my .mc:

define(`confTO_INITIAL', `1m')dnl
define(`confTO_CONNECT', `1m')dnl
define(`confTO_COMMAND', `5m')dnl
define(`confTO_ICONNECT', `15s')dnl
define(`confTO_HELO', `1m')dnl
define(`confTO_MAIL', `1m')dnl
define(`confTO_RCPT', `1m')dnl
define(`confTO_DATAINIT', `1m')dnl
define(`confTO_DATABLOCK', `1m')dnl
define(`confTO_DATAFINAL', `5m')dnl
define(`confTO_RSET', `1m')dnl
define(`confTO_RESET', `1m')dnl
define(`confTO_QUIT', `1m')dnl
define(`confTO_MISC', `1m')dnl
define(`confTO_COMMAND', `1m')dnl
define(`confTO_IDENT', `0s')dnl
define(`confTO_FILEOPEN', `1m')dnl
define(`confTO_CONTROL', `1m')dnl
define(`confTO_QUEUERETURN', `2d')dnl
define(`confTO_QUEUERETURN_NORMAL', `2d')dnl
define(`confTO_QUEUERETURN_URGENT', `1d')dnl
define(`confTO_QUEUERETURN_NONURGENT', `2d')dnl
define(`confTO_QUEUEWARN', `2h')dnl
define(`confTO_HOSTSTATUS', `5m')dnl



Jason A. Bertoch
Network Administrator
jasonelectronet.net
ElectroNet Intermedia Consulting
3411 Capital Medical Blvd.
Tallahassee, FL 32308
(V) 850.222.0229 (F) 850.222.8771 

_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in
the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpengu
in.com
MIMEDefang mailing list MIMEDefanglists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mime
defang

RE: Sendmail timeouts
country flaguser name
United States
2007-02-28 13:02:54
Seems you defined TO_COMMAND twice.


-----Original Message-----
From: mimedefang-bounceslists.roaringpenguin.com
[mailto:mimedefang-bounceslists.roaringpenguin.com]
On Behalf Of Jason
Bertoch [Electronet]
Sent: Wednesday, February 28, 2007 1:19 PM
To: mimedefanglists.roaringpenguin.com
Subject: RE: [Mimedefang] [OT] Sendmail timeouts


> -----Original Message-----
> From: mimedefang-bounceslists.roaringpenguin.com 
> [mailto:mimedefang-bounceslists.roaringpenguin.com]
On 
> Behalf Of Stephen Johnson
> 
> I've been trying to set some more aggressive timeouts
in sendmail than
> the defaults. This is to stem the tide of stale
connections (most
> seemingly from spam sources) that keep chew up
resources on my mail
> front-end. The various things I've tried have not
really 
> helped all that
> much. And the sheer number of timeout values make it's
difficult in
> choosing what to tune.
> 
> So my plea to the collective list wisdom is what do you
folks 
> use? What
> values would you recommend I try?
> -- 

I've had luck with the following settings in my .mc:

define(`confTO_INITIAL', `1m')dnl
define(`confTO_CONNECT', `1m')dnl
define(`confTO_COMMAND', `5m')dnl
define(`confTO_ICONNECT', `15s')dnl
define(`confTO_HELO', `1m')dnl
define(`confTO_MAIL', `1m')dnl
define(`confTO_RCPT', `1m')dnl
define(`confTO_DATAINIT', `1m')dnl
define(`confTO_DATABLOCK', `1m')dnl
define(`confTO_DATAFINAL', `5m')dnl
define(`confTO_RSET', `1m')dnl
define(`confTO_RESET', `1m')dnl
define(`confTO_QUIT', `1m')dnl
define(`confTO_MISC', `1m')dnl
define(`confTO_COMMAND', `1m')dnl
define(`confTO_IDENT', `0s')dnl
define(`confTO_FILEOPEN', `1m')dnl
define(`confTO_CONTROL', `1m')dnl
define(`confTO_QUEUERETURN', `2d')dnl
define(`confTO_QUEUERETURN_NORMAL', `2d')dnl
define(`confTO_QUEUERETURN_URGENT', `1d')dnl
define(`confTO_QUEUERETURN_NONURGENT', `2d')dnl
define(`confTO_QUEUEWARN', `2h')dnl
define(`confTO_HOSTSTATUS', `5m')dnl



Jason A. Bertoch
Network Administrator
jasonelectronet.net
ElectroNet Intermedia Consulting
3411 Capital Medical Blvd.
Tallahassee, FL 32308
(V) 850.222.0229 (F) 850.222.8771 

_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in
the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpengu
in.com
MIMEDefang mailing list MIMEDefanglists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mime
defang

_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in
the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpengu
in.com
MIMEDefang mailing list MIMEDefanglists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mime
defang

[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )