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
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
Deliver a message to the Cyrus mailbox |
deliver -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, ...