unix:lmtp vs /usr/cyrus/bin/deliver ?

Wietse Venema wietse at porcupine.org
Mon Jan 20 19:43:29 EST 2003


Thomas Hannan:
[ Charset ISO-8859-1 unsupported, converting... ]
> Hi all,
> 
> I'm working on a Postfix+Cyrus IMAPd system, and am looking at whether to
> have Postfix deliver mail to Cyrus via a unix lmtp socket
> (/var/imap/socket/lmtp)
> in /etc/postfix/main.cf:
> mailbox_transport (or local_transport) = lmtp:unix:/var/imap/socket/lmtp
> in /etc/postfix/master.cf:
>   lmtp     unix   -    -    n   -    -   lmtp
> and in /etc/cyrus.conf under SERVICES:
> lmtpunix cmd="lmtpd" listen="/var/imap/socket/lmtp" prefork=1

This uses the same mail delivery process multiple times.

> **OR** use /usr/cyrus/bin/deliver as follows:
> 
> in /etc/postfix/master.cf
> cyrus     unix  -       n       n       -       -       pipe
>   flags= user=cyrus argv=/usr/cyrus/bin/deliver -r ${sender} -m
> ${extension} ${user}
> in /etc/postfix/main.cf:
> mailbox_transport = cyrus

This executes the /usr/cyrus/bin/deliver file once for every mail
delivery.

	Wietse




More information about the Info-cyrus mailing list