Previous Topic: Milter MTA - Command SyntaxNext Topic: Configure the Milter MTA Agent


Example Socket Commands

Local Socket

The following example command specifies a local socket in the /opt/milt directory. It also overrides the default time-outs; if there is a communication failure between Sendmail or Postfix and the Milter MTA agent, the Send timeout is set to five minutes while the Receive and Overall time-outs are set to 10 minutes. If the Milter MTA agent is not running, Sendmail rejects e‑mails arriving from an Exchange or Domino server.

INPUT_MAIL_FILTER
('WgnMilter',
 'S=local:/opt/milt/wgnmilter.sock,
  F=R,
  T=S:5m;R:10m;E:10m'
)dnl

Internet Socket

You must specify an Internet socket if the Milter MTA agent runs on a different machine from the Sendmail server. For this example, the Milter MTA agent is hosted on milter.my.com. and uses port 8600 to communicate with the Sendmail server. The time-outs are the same as for the ‘local socket’ example. If the Milter MTA agent is not running, e‑mails arriving from an Exchange or Domino server are pass through Sendmail without intervention.

INPUT_MAIL_FILTER
('WgnMilter',
 'S=inet:8600@milter.my.com,
  T=S:5m;R:10m;E:10m'
)dnl