[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Code questions...
> 10 minutes is the *minimum* timeout that RFC 1123 section 5.3.2
> permits during the DATA command, in practice the timeout should be
> larger. Sendmail defaults to 1 hour. See RFC 1047 for details.
Look closer at the section you are referring to :-)
------- transports/smtp/smtp.c -----------
#define TIMEOUT (5*60) /* timeout in seconds, per exchange */
#define ALARM_BLOCKSIZE 1024
#define ALARM_DOTTOOK (10*60)
/* RFC 1123 recommends:
- Initial 220: 5 minutes
- MAIL, RCPT : 5 minutes
- DATA initialization (until "354.."): 2 minutes
- While writing data, a block
at the time: 3 minutes (How large a block ?)
- From "." to "250 OK": 10 minutes
I think we simplify: 5 minutes each, except "."
to "250 ok" which is 10 minutes.
Block-size is 1kB. 4-Feb-95: [mea@utu.fi]
*/
-----------------------------------------------
The SMTP-SERVER does await 20 minutes for any command, and
10 minutes for each 1024 bytes received from the connection.
Are those values ok ?
Or should the "." to "250 Ok" be increased ? How high ?
> --
> _.John G. Myers Internet: jgm+@CMU.EDU
> LoseNet: ...!seismo!ihnp4!wiscvm.wisc.edu!give!up
/Matti Aarnio <mea@utu.fi> <mea@nic.funet.fi>