Name

cyrus

Synopsis

The cyrus and cyrusbb delivery agents are intended for use with the cyrus V1 IMAP server from CMU. If you have upgraded to Cyrus V2, you should skip this section and go to the next one, which describes the cyrusv2 delivery agent. First, note that the local delivery agent must be defined before you can define cyrus:

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

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

define(`confLOCAL_MAILER', `cyrus')

The cyrus 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.

Users might or might not have local accounts, but it is assumed that they do not. Thus, if you run IMAP but have some local users who want to receive mail in the local spool, you can set up something such as this:

LOCAL_CONFIG
F{NonCyrus} /etc/mail/NonCyrus

LOCAL_RULE_0
R $={NonCyrus}                    $: $# local $: $1
R $={NonCyrus} < @ $=w . >        $: $# local $: $1

Here, users listed in the file /etc/mail/NonCyrus will have their mail delivered locally even if the local delivery agent is defined as cyrus.

The cyrusbb delivery agent is used to deliver mail to the IMAP bulletin boards so that it can be fetched by imapd(8). Any local user address that begins with bb+ will be delivered for later fetching by IMAP.

The defaults for the cyrus delivery ...

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.