OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: How to deliver to Cyrus imapd mailboxes

From: Reinaldo de Carvalho (reinaldocgmail.com)
Date: Tue Oct 20 2009 - 11:38:58 CDT


On Tue, Oct 20, 2009 at 12:25 PM, Raimund Eimann <raimundbusy-byte.de> wrote:
>
> I put the lmtp pipe in /var/spool/postfix/public/lmtp and have
> corresponding config file entries:
>
> /etc/cyrus.conf:
> lmtpunix    cmd="lmtpd" listen="/var/spool/postfix/public/lmtp" prefork=1
>

Don't put pipes from external software on postfix internal directories.

# mkdir /var/spool/postfix/cyrus-socket
# chown cyrus:postfix /var/spool/postfix/cyrus-socket
# chmod 750 /var/spool/postfix/cyrus-socket

 lmtpunix cmd="lmtpd" listen="/var/spool/postfix/cyrus-socket/lmtp" prefork=1

> /etc/postfix/main.cf:
> mailbox_transport = cyrus:unix:/var/spool/postfix/public/lmtp
>

With lmtp chroot:
    mailbox_transport = lmtp:unix:/cyrus-socket/lmtp

Without chroot:
    mailbox_transport = lmtp:unix:/var/spool/postfix/cyrus-socket/lmtp

--
Reinaldo de Carvalho
http://korreio.sf.net
http://python-cyrus.sf.net

"Don't try to adapt the software to the way you work, but rather
yourself to the way the software works" (myself)