OpenSMTPD MTA error: 150 connection timeout
A mail server that I frequently send to decided to make all incoming connections wait
for 40 seconds before replying. (to slow down spammers?)
This broke the alpine MTA as well as breaking OpenSMTPD on OpenBSD 5.1-stable.
Alpine was fixed by adding a parameter to the .pinerc configuration:
This allowed the initial tcp connection from alpine to socket 25 to wait for 50
seconds before giving up.
Unfortunately I have no similar solution for OpenSMTPD.
I would like to be able to change a parameter in the smtpd.conf file and set the
mta tcp connection timeout to 50 seconds.
(RFC 5321 section 22.214.171.124 states "Timeouts SHOULD be easily reconfigurable, preferably without recompiling the SMTP code.")
From looking at the OpenSMTPD source code it appears that 10 seconds is hard coded for the timeout.
( function mta_enter_state(), io_set_timeout(&s->io, 10000); )
I will probably go back to using sendmail on OpenBSD where I can change a configuration parameter to fix the problem...
|Thread||Thread Starter||Forum||Replies||Last Post|
|Working dial-up connection - No Client Connection||vigol||FreeBSD General||5||22nd November 2009 09:59 PM|
|uw-imap connection timeout||andrewm||OpenBSD Packages and Ports||4||22nd October 2009 11:03 AM|
|Openbsd 4.5 network connection timeout||andrewm||OpenBSD General||4||11th September 2009 02:32 AM|
|ILLEGAL REQUEST, PCI Error, SET_MULTI timeout - boot errors help||kTk||FreeBSD General||1||26th July 2008 03:34 AM|
|Error 504 gateway timeout||bsdbsd||FreeBSD General||0||15th June 2008 01:06 PM|