Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Jan 2004 01:08:36 +0100
From:      Nils Vogels <nivo+sender+a5063a@yuckfou.org>
To:        freebsd-isp@freebsd.org
Subject:   Re: Cyrus-imapd failing on sasl_server_init
Message-ID:  <4009CE84.9020307@yuckfou.org>
In-Reply-To: <4001207E.6050602@heronetwork.com>
References:  <4001207E.6050602@heronetwork.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@cell.attbi.com>, orig_to=<root@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4009CE84.9020307>