> Check the /etc/cyrus.conf file and make sure you have your lmtpunix enabled.
>
> -- Scott

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