Cyrus - can't create user mailbox
Jens Hoffrichter
jens.hoffrichter at gmail.com
Mon Jun 9 10:44:41 EDT 2008
This mail accidently went off-list....So here a resend
---------- Forwarded message ----------
From: Jens Hoffrichter <jens.hoffrichter at gmail.com>
Date: 2008/6/9
Subject: Re: Cyrus - can't create user mailbox
To: Stephen Liu <satimis at yahoo.com>
Hi Stephen,
2008/6/9 Stephen Liu <satimis at yahoo.com>:
>> Try to find out where you cyrus creates it's lmtp socket and point
>> your
>> postfix config to it.
>>
>> I don't know Debian but I think it should come with some docs to get
>> things to work. (Ubuntu ins mainly a copy of Debian so the same
>> should
>> apply there as well). Maybe some Debian/Ubuntu user can point you to
>> the
>> right docs.
>
>
> $ cat /etc/cyrus.conf | grep socket
> # UNIX sockets start with a slash and are absolute paths
> # (you must keep the Unix socket name in sync with imap.conf)
> lmtpunix cmd="lmtpd" listen="/var/run/cyrus/socket/lmtp"
> prefork=0 maxchild=20
> notify cmd="notifyd"
> listen="/var/run/cyrus/socket/notify" proto="udp" prefork=1
> * end *
>
>
> Would it be /var/run/cyrus/socket/lmtp ?
Yep, it would be it.
But please note that the postfix smtpd under Debian (and probably
Ubuntu as well) runs in a chroot environment. You can see this by
looking in your /etc/postfix/master.cf file, look at the line with
smtp in the beginning and look in the right column for the chroot.
Which one that is should be documented in the top of the file.
If the smtpd runs in a chroot environment, it will expect the lmtp
socket relative to the chroot path, normally /var/spool/postfix, so
the correct complete path for the socket would be
/var/spool/postfix/var/run/cyrus/socket/notify ;) This created a lot
of headache for me when configuring sasl, until I figured it out.
Regards,
Jens
More information about the Info-cyrus
mailing list