Delivery agents are declared using the MAILER directive:
MAILER(agent
)
The available agents are listed in the cf/mailer directory (see §19.3.2). For example, consider:
MAILER(local) MAILER(smtp)
Here, the first includes support for local delivery, delivery to files, and delivery through programs. The second allows the sendmail daemon to accept incoming mail.
Declares cyrus
for delivery to the Cyrus IMAP4 server,
and cyrusbb
for delivery to a Cyrus bulletin board.
Declares fax
for delivery to a mail-to-fax gateway.
Declares local
for delivery to a local mailbox
and prog
for delivery through a shell program.
Declares mail11
for delivery to a DECnet/mail11 gateway.
Declares ph
, which
uses the phquery program to send to the ph directory service.
Declares pop
for delivery through the MH spop program.
Declares procmail
for delivery using the procmail program.
Declares smtp
, which handles SMTP mail;
esmtp
, which always speaks ESMTP instead of adapting
on the basis of the greeting message;
smtp8
, which always uses sends-8-bit data directly;
and relay
, which uses SMTP with minimal rewriting
and only works within a single domain.
Declares usenet
for delivery to a mail-to-news gateway.
Declares uucp-old
, uucp-new
,
uucp-uudom
, and uucp-dom
.
Use uucp-old
if your peers are running very old
(V7) versions of UUCP.
Use uucp-new
if they are running a newer version
(e.g., honey danber) but don't understand domain-based addressing.
Use uucp-uudom
if your peers use UUCP addresses
(e.g., host!user) in the envelope, but domain-based addresses
(user@host.domain) in the headers.
Use uucp-dom
if your peers are completely
converted to domain-based addressing.
The last two are only defined if MAILER(smtp) is declared
before MAILER(uucp).