Cyrus-imapd failing on sasl_server_init
Nils Vogels
nivo+sender+a5063a at yuckfou.org
Sat Jan 17 16:08:45 PST 2004
W. Ryan Merrick wrote:
> hello,
>
> I have been abused this for a while. I am trying to setup
> Postfix-2.0.16+cyrus-Imap-2.1.16_1+cyrus-sasl-2.1.17_1 on my FreeBSD
> 4.9 Stable server's inside NIC. I tried questions with no replies.
>
> Postfix is configured with: sasl2, TLS, BDB_ver 40
> cyrus-imapd2' => '--with-sasl --with-openssl WITH_BDB_VER=4'
> cyrus-sasl2' => '--with-openssl WITH_BDB_VER=4 --enable-auth-sasldb
> --enable-login'
>
> Postfix runs fine by itself It complains that:
>
> Jan 10 02:47:22 c1529030-a postfix/pipe[35530]: 51BDF4113:
> to=<wrmine at cell.attbi.com>, orig_to=<root at cell.attbi.com>,
> relay=cyrus, delay=9701, status=deferred (temporary failure. Command
> output: couldn't connect to lmtpd: Connection refused_ 421 4.3.0
> deliver: couldn't connect to lmtpd_ )
>
Your postfix cannot find it's way to the Cyrus doors.
I have the same setup running using Cyrus 2.2.3, and I encountered this
as well, and I fixed it by having Cyrus put it's socket into the postfix
environment and then pointing postfix to the right socket.
In my case, the latter was done with a transport db, but hey, it's a
free world :)
imapd.conf:
lmtpsocket: /var/spool/postfix/public/lmtp
main.cf:
transport_maps = hash:$config_directory/transport-cyrus
transport-cyrus:
my.virtual.domain.org lmtp:unix:public/lmtp
postmap it, reload postfix and cyrus and have fun ;)
HTH,
Nils.
--
Simple guidelines to happiness:
Work like you don't need the money,
love like your heart has never been broken and
dance like no one can see you.
More information about the freebsd-isp
mailing list