OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: 600 second connect timeout setting

From: Wietse Venema (wietseporcupine.org)
Date: Sun Jul 03 2005 - 22:25:36 CDT


Chris:
[ Charset ISO-8859-1 unsupported, converting... ]
> Is this the correct way to set a 600 second timeout for smtp_helo and
> smtp_connect:
>
> I have this in my master.cf:
>
> ? ? ? ?-o smtp_helo_timeout=600
> ? ? ? ?-o smtp_connect_timeout=600
>
> If so, what other reason can there be for the below errors:
>
> Jul ?3 19:44:23 cpollock postfix/smtp[26104]: 1EB7D4341F0: lost connection
> with smtpauth.earthlink.net[207.69.189.203] while sending MAIL FROM

Lost connection IS NOT timeout.

> Jul ?3 19:54:43 cpollock postfix/smtp[5211]: C20574341F3: conversation with
> smtpauth.earthlink.net[207.69.189.202] timed out while receiving the initial
> SMTP greeting

Instead of googling, RTFM the documentation.

http://www.postfix.org/smtp.8.html
man 8 smtp

        Wietse

> By googling I see that another timeout that can be set, would this be set in
> the same area as the other two?
>
> smtp_mail_timeout
> Timeout for sending the MAIL FROM command, and for receiving the
> server response.
>
> Thank You
> Chris
>
> --
> Chris
> Registered Linux User 283774 http://counter.li.org
> 20:38:49 up 2 days, 5:11, 1 user, load average: 0.43, 0.39, 0.46
> Mandriva Linux 10.1 Official, kernel 2.6.8.1-12mdk
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> <ultima> netgod: My calculator has more registers than the x86, and
> -thats- sad
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>