Configuring the MTA
Unlike the UW server, Cyrus IMAPâs mailstore format ties it intrinsically to the local mail transport agent or, more accurately, to the local mail delivery agent. In this book, weâre presuming that youâve chosen sendmail as your MTA. sendmail can serve just about any size user base. If, however, you elect to use another MTA, be mindful of the fact that youâll have to configure it to use the Cyrus deliver program as a delivery agent, and use this section as a rough guide.
The deliver MDA
The Cyrus deliver program is the mail delivery agent that drops mail messages into usersâ mailboxes. deliver takes a mail message on standard input and delivers it to the specified mailboxes. deliverâââs configuration options are set in /etc/imapd.conf
.
deliver uses the options listed in Table 8-2 when invoked to deliver mail. Other options are described in the deliverââ(8) manual page.
Table 8-2. deliver Options
Option | Description | Â | Â | Â |
---|---|---|---|---|
-m
|
Deliver a message to the Cyrus mailbox mailbox . To deliver to a specific mailbox, for example user.johndoe.lists, usedeliver -m user.johndoe.listsYou must have p access rights on the specified mailbox; if you donât, then delivery fails and returns the message:[a] user.johndoe.lists: Mailbox does not existIf a mailbox is specified with the âm argument and a username argument is given, then deliver will attempt delivery to the specified mailbox under the mailbox hierarchy belonging to the username. For example, ... |
Get Managing IMAP 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.