Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Jan 2004 23:21:19 -0500
From:      David Gilbert <dgilbert@dclg.ca>
To:        Nils Vogels <nivo+dated+1074989546.3b569f@yuckfou.org>
Cc:        freebsd-isp@freebsd.org
Subject:   Re: Cyrus-imapd failing on sasl_server_init
Message-ID:  <16395.23359.217640.678336@canoe.dclg.ca>
In-Reply-To: <4009CE84.9020307@yuckfou.org>
References:  <4001207E.6050602@heronetwork.com> <4009CE84.9020307@yuckfou.org>

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "Nils" == Nils Vogels <nivo+sender+a5063a@yuckfou.org> writes:

Nils> 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_ )
>> 
Nils> Your postfix cannot find it's way to the Cyrus doors.

Nils> I have the same setup running using Cyrus 2.2.3, and I
Nils> encountered this as well, and I fixed it by having Cyrus put
Nils> it's socket into the postfix environment and then pointing
Nils> postfix to the right socket.

Nils> In my case, the latter was done with a transport db, but hey,
Nils> it's a free world :)

Nils> imapd.conf: lmtpsocket: /var/spool/postfix/public/lmtp

Nils> main.cf: transport_maps = hash:$config_directory/transport-cyrus

Nils> transport-cyrus: my.virtual.domain.org lmtp:unix:public/lmtp

Nils> postmap it, reload postfix and cyrus and have fun ;)

In general, the default install of the cyrus imap server puts the lmtp
socket inside /var/spool/imap ... which isn't traversable by group
mail.  It's a permissions problem.

Dave.

-- 
============================================================================
|David Gilbert, Independent Contractor.       | Two things can only be     |
|Mail:       dave@daveg.ca                    |  equal if and only if they |
|http://daveg.ca                              |   are precisely opposite.  |
=========================================================GLO================



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