Name

cyrusv2

Synopsis

The cyrusv2 delivery agent is intended for use with the Cyrus V1 IMAP server from CMU. It is much like the cyrus delivery agent (described earlier) but delivers using LMTP via a Unix-domain socket, and requires a Cyrus version 2 IMAP server. First note that the local delivery agent must be defined before you can define cyrusv2:

MAILER(`local') define first
MAILER(`cyrusv2') define second

The cyrusv2 delivery agent can be used for local delivery, if you use an mc configuration statement such as this:

define(`confLOCAL_MAILER', `cyrusv2')

The cyrusv2 delivery agent, in addition to performing local delivery, will also recognize local addresses of the form user+where. When found, and if permitted, it will deliver to an existing subfolder of the INBOX on the IMAP server.

The defaults for the cyrusv2 delivery agent are listed in Table 20-3. The mc configuration macros at the left can be used to modify or replace those defaults.

Table 20-3. mc macros to modify the cyrusv2 delivery agent

mc macro

§

Default

CYRUSV2_MAILER_ARGS

See this section

A=FILE /var/imap/socket/lmtp

CYRUSV2_MAILER_CHARSET

C=

no C= default

CYRUSV2_MAILER_FLAGS

See this section

F=lsDFMnqXzA@/:|m

CYRUSV2_MAILER_MAXMSGS

m=

no m= default

CYRUSV2_MAILER_MAXRCPTS

r=

no r= default

CYRUSV2_MAILER_QGRP

Q=

no Q= default

Note that mc configuration macro definitions must always precede the MAILER declaration to which they relate.

The IMAP server and cyrusv2 delivery agent are available from ...

Get Sendmail, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.