home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


sendmail Desktop Reference

sendmail Desktop ReferenceSearch this book
Previous: 2.6 Options Chapter 2
The sendmail.cf File
Next: 2.8 Rule Sets
 

2.7 The Timeout Option

The Timeout option is used to set many internal timeouts. Its general form looks like this:


OTimeout.


event

=

interval

Here we describe each event . Each interval is represented by an integer followed by a unit of time: s for seconds; m for minutes; h for hours; d for days; and w for weeks. They may be chained, as for example:

3d22h4s

sets an interval of 3 days, 22 hours, and 4 seconds.

Timeout.command= interval

Sets the maximum interval of time to wait for arrival of the next anticipated SMTP command (see §34.8.70.1, or define confTO_COMMAND with the m4 technique).

Timeout.connect= interval

Sets the maximum interval to wait for the connect (2) system call to return (see §34.8.70.2, or define confTO_CONNECT with the m4 technique).

Timeout.datablock= interval

Sets the maximum interval to wait for each DATA block read to complete (see §34.8.70.3, or define confTO_DATABLOCK with the m4 technique).

Timeout.datafinal= interval

Sets the maximum interval to wait for acknowledgment of the final dot that terminates the DATA phase (see §34.8.70.4, or define confTO_DATAFINAL with the m4 technique).

Timeout.datainit= interval

Sets the maximum interval to wait for acknowledgment of the SMTP DATA command (see §34.8.70.5, or define confTO_DATAINIT with the m4 technique).

Timeout.fileopen= wait

Specifies how long to wait for an NFS-mounted file to open (see §34.8.70.6, or define confTO_ FILEOPEN with the m4 technique).

Timeout.helo= interval

Sets the maximum interval to wait for acknowledgment of the SMTP HELO or EHLO commands (see §34.8.70.7, or define confTO_HELO with the m4 technique).

Timeout.hoststatus= interval

Specifies the interval for which persistent host status should be considered still valid (see §34.8.70.8, or define confTO_HOSTSTATUS with the m4 technique).

Timeout.iconnect= interval

Sets the maximum interval to wait for the first connect (2) system call to complete (see §34.8.70.9, or define confTO_ICONNECT with the m4 technique).

Timeout.ident= interval

Sets the maximum interval to wait for the RFC1413 identification protocol to complete (see §34.8.70.10, or define confTO_IDENT with the m4 technique).

Timeout.initial= interval

Sets the maximum interval to wait for the initial SMTP greeting message (see §34.8.70.11, or define confTO_INITIAL with the m4 technique).

Timeout.mail= interval

Sets the maximum interval to wait for acknowledgment of the SMTP MAIL command (see §34.8.70.12, or define confTO_MAIL with the m4 technique).

Timeout.misc= interval

Sets the maximum interval to wait for acknowledgment of SMTP commands, other than those specifically mentioned here (see §34.8.70.13, or define confTO_MISC with the m4 technique).

Timeout.queuereturn [ . [*| urgent | normal |\% non-urgent ]]= interval

Sets the maximum interval to try to deliver a message. The first time it fails after this interval, it is bounced. Three optional keywords can follow to what is bounced. They correspond to values given in a message's Priority: header. The literal ".*" is a wildcard that encompasses all three keywords (see §34.8.70.14, or define one of confTO_ QUEUERETURN , confTO_QUEUERETURN_ NONURGENT , confTO_QUEUERETURN_NORMAL , or confTO_QUEUERETURN_URGENT with the m4 technique).

Timeout.queuewarn [ . [*| urgent | normal |% non-urgent ]]= interval

Causes a warning to be sent to the sender when a message is still undelivered after this interval . Three optional keywords can follow as described above (see §34.8.70.15, or define one of confTO_ QUEUEWARN , confTO_QUEUEWARN_NONURGENT , confTO_QUEUEWARN_NORMAL , or confTO_ QUEUEWARN_URGENT with the m4 technique).

Timeout.quit= interval

Sets the maximum interval to wait for acknowledgment of the SMTP QUIT command (see §34.8.70.16, or define confTO_QUIT with the m4 technique).

Timeout.rcpt= interval

Sets the maximum interval to wait for acknowledgment of the SMTP RCPT command (see §34.8.70.17, or define confTO_RCPT with the m4 technique).

Timeout.rset= interval

Sets the maximum interval to wait for acknowledgment of the SMTP RSET command (see §34.8.70.18, or define confTO_RSET with the m4 technique).