On Tue, Jun 05, Jörg Spilker wrote:
the problem is that lmtp always gives me an connection refused error.
This is from /etc/postfix/master.cf
#lmtp unix - - y - - lmtp
lmtp unix - - n - - lmtp
cyrus unix - n n - - pipe
flags=R user=cyrus argv=/usr/cyrus/bin/deliver -e -m ${extension} ${user}
/etc/postfix/main.cf
mailbox_transport = lmtp:unix:/var/imap/socket/lmtp
#mailbox_transport = cyrus
/etc/cyrus.conf
# at least one LMTP is required for delivery
# lmtp cmd=lmtpd listen=lmtp prefork=0
lmtpunix cmd=lmtpd listen=/var/imap/socket/lmtp prefork=1
/var/log/mail
Jun 5 19:04:31 daolin postfix/lmtp[31062]: 4A039E31:
to=[EMAIL PROTECTED]
, relay=none, delay=209, status=deferred (connect to
/var/imap/socket/lmtp[/var
/imap/socket/lmtp]: Connection refused)
it works with mailbox_transport = cyrus which seems strange to me as deliver
itself now connects to the cyrus lmtpd socket without any problems.
Hmmm, strange. I am not sure, if lmtp of postfix is able to access
files beyond of /var/spool/postfix.
Anyway, I am running lmtp chrooted and my main.cf looks like this:
mailbox_transport = lmtp:unix:public/lmtp
cyrus.conf
lmtpunix cmd=lmtpd listen=/var/spool/postfix/public/lmtp prefork=1
But take also care, that your cyrus master process is realy
running. What shows up in /var/log/messages?
--
mit freundlichen Gruessen,
Carsten Hoeger - SuSE The Linux Experts -
SuSE GmbH,Schanzaeckerstr. 10, 90443 Nuernberg, Germany
Tel: +49-911-7405331 http://suse.com Fax: +49-911-74053674
Key fingerprint = E3B6 7FDB 4800 0F22 DC09 EB2B 7988 B6A8 6691 C94A
PGP signature