Sendmail 8.13.3 Programmer's Guide

Configuring and Compiling Milter APIs
Configuring Milter in Sendmail
Chapter 460
Sendmail 8.13.3 continues with the normal handling of the current
connection. For every new connection, Sendmail 8.13.3 attempts to
contact the filter application again.
Table 4-3 lists and describes the different fields in the T= equate.
A semicolon (;) separates each field because a comma (,) already
separates the equates.
The separator between each field is a semicolon (;) because a comma (,)
already separates the equates. The value of each field is a decimal
number followed by a single letter designating the units (s for seconds
and m for minutes).
Following is an example of a myconfig.mc file, which contains 3 filters,
namely filter1, filter2, and filter3:
INPUT_MAIL_FILTER(‘filter1’, ‘S=unix:/var/run/f1.sock, F=R’)
INPUT_MAIL_FILTER(‘filter2’, ‘S=unix:/var/run/f2.sock, F=T, T=S:1s;R:1s;E:5m’)
INPUT_MAIL_FILTER(‘filter3’, ‘S=inet:999@localhost, T=C:2m’)
define(‘confINPUT_MAIL_FILTERS’, ‘filter2,filter1,filter3’)
Table 4-3 The T= Equate Values
Flag Description
C Specifies the timeout value for connecting to a
filter application. If you set C to 0, the system
connect() timeout value is used. The default
timeout value for C is 5 minutes.
S Specifies the timeout value for sending
information from Sendmail to a filter
application. The default value for S is 10
seconds.
R Specifies the timeout value for reading reply
from the filter application. The default value
for R is 10 seconds.
E Specifies the overall timeout value between
sending the end-of-message to the filter and
waiting for the final acknowledgment. The
default value for E is 5 minutes.