Brendan, note the listen= argument in cyrus.conf, this is the name of 
the socket that lmtpd will use.

In cyrus.conf:     /var/tmp/imap/configdir/socket/imap
In error msg:      /var/tmp/imap/configdir/socket/lmtp

Make them match and you should be good to go.

Cheers
Chris Audley

[EMAIL PROTECTED] wrote:

>
>These line are present in /etc/cyrus.conf:
>
>SERVICES {
>    imap         cmd="imapd" listen="imap" prefork=1
>    imaps        cmd="imapd -s" listen="imaps" prefork=0
>    lmtpunix     cmd="lmtpd" listen="/var/tmp/imap/configdir/socket/imap"
>    lmtp         cmd="lmtpd" listen="localhost:lmtp"
>}
>
>$ telnet localhost lmtp
>Trying 127.0.0.1...
>Connected to localhost.
>Escape character is '^]'.
>220 server LMTP Cyrus v2.0.16 ready
>
>$ netstat -a | grep imap
>tcp        0      0 *:imaps                 *:*                     LISTEN      
>tcp        0      0 *:imap                  *:*                     LISTEN      
>unix  0      [ ACC ]     STREAM     LISTENING     211595 
>/var/tmp/imap/configdir/socket/imap
>
>hehehe ... in the process of writing this email I fixed the problem!
>
>The error:
>Sep 14 16:02:15 server deliver[5186]: connect(/var/tmp/imap/configdir/socket/lmtp) 
>failed: Connection refused
>
>shows that it is trying to connect to lmtp ... which doesn't exist. I
>linked lmtp -> imap and stuff started working.
>
>This is sort of strange, but whatever.
>
>Thanks Scott.
>
>Brendan
>



Reply via email to