Peter Pilsl wrote:
>
> I try to replace the unix-lmtpd-socket with a 'real' socket, cause I
> want use lmtpd for other applications too.
>
> however, if I do so, deliver wont work anymore:
>
> # cat /tmp/m | /usr/cyrus/bin/deliver -a cyrus peter
> couldn't connect to lmtpd: Invalid argument
> 421 4.3.0 deliver: couldn't connect to lmtpd
> # cat /tmp/m | /usr/cyrus/bin/deliver -l -a cyrus peter
> connect failed: Connection refused
> 421 4.3.0 deliver: connect failed
>
> and imapd.log reveals in both cases:
> Dec 13 14:29:50 server deliver[24093]: connect(/data/imap/config/socket/lmtp)
>failed: Connection refused
>
> but my cyrus.conf:
>
> # at least one LMTP is required for delivery
> lmtp cmd="lmtpd" listen="lmtp" prefork=1
> # lmtpunix cmd="lmtpd" listen="/data/imap/config/socket/lmtp" prefork=0
>
> lmtpd is listening on 2003 and - yes - I've killed all questionable processes.
> dont know why deliver still tries to access the unix-socket.
Deliver ONLY works with a UNIX socket. If you want to have lmtpd
running on a TCP socket, your MTA MUST be able to speak LMTP. If you
want to test lmtpd, then simply telnet to the port and enter commands
yourself.
Ken
--
Kenneth Murchison Oceana Matrix Ltd.
Software Engineer 21 Princeton Place
716-662-8973 x26 Orchard Park, NY 14127
--PGP Public Key-- http://www.oceana.com/~ken/ksm.pgp