This mail accidently went off-list....So here a resend

---------- Forwarded message ----------
From: Jens Hoffrichter <[EMAIL PROTECTED]>
Date: 2008/6/9
Subject: Re: Cyrus - can't create user mailbox
To: Stephen Liu <[EMAIL PROTECTED]>


Hi Stephen,

2008/6/9 Stephen Liu <[EMAIL PROTECTED]>:
>> 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
----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Reply via email to