[Exim] exim-4 and cyrus

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Phil Chambers
Data:  
Para: exim-users
Asunto: [Exim] exim-4 and cyrus
I have a couple of contributions which might help people who wish to use the cyrus
message store (2.1 on) with exim-4.

The first uses lmtp for normal delivery rather than the pipe given in the
documentation. Many cyrus users may well be using this already, but the exim
document does not cover it explicitly.

The second is for delivery to a mailbox other than the user's inbox.

1) Transport for lmtp delivery, assuming that $local_part contains the username:

cyrus_inbox:
driver =lmtp
user = cyrus
socket = /var/cyrus/socket/lmtp

2) Transport to deliver direct to a non-inbox mailbox:

cyrus_mailbox:
driver = pipe
user = $local_part
message_prefix =
message_suffix =
log_fail_output
return_output
command = "/usr/cyrus/bin/deliver -a $local_part -m <mailbox-name> $local_part"

This will deliver to the cyrus mailbox "user.$local_part.<mailbox-name>". Using
"user = $local_part" and "-a $local_part" makes it work without needing an explicit
'p' ACL set for 'anyone' on the mailbox.

Phil.
---------------------------------------
Phil Chambers (postmaster@???)
University of Exeter