Cyrus-imapd failing on sasl_server_init

David Gilbert dgilbert at dclg.ca
Sun Jan 18 20:21:23 PST 2004


>>>>> "Nils" == Nils Vogels <nivo+sender+a5063a at 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 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_ )
>> 
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 at daveg.ca                    |  equal if and only if they |
|http://daveg.ca                              |   are precisely opposite.  |
=========================================================GLO================


More information about the freebsd-isp mailing list