> local_delivery:
> driver = appendfile
> file = /var/mail/$local_part
> delivery_date_add
> envelope_to_add
> return_path_add
> # group = mail
> # mode = 0660
According to Cyrus IMAP documentation:
Configuring Exim 4
Generate an Exim configuration file which delivers local mail to the
IMAP server. See the Exim documentation for information on how to
create a complete configuration file.
Cyrus is designed to be used as a black-box server -- there are usually
no local user accounts. As a result, you must define the following
"router":
localuser:
driver = accept
transport = local_delivery
The following "transports" assume that you are using either the
lmtpunix or lmtp service from one of the sample cyrus.conf files
discussed above.
* Using lmtpunix (UNIX socket):
local_delivery:
driver = lmtp
command = "/usr/cyrus/bin/deliver -l"
batch_max = 20
user = cyrus
* Using lmtp (TCP socket -- Exim and Cyrus on same host):
local_delivery:
driver = smtp
protocol = lmtp
hosts = localhost
allow_localhost