proxyd and authenticating with the backend servers

Ken Murchison ken at
Tue Jan 27 12:33:13 EST 2004

Iain_Gray at wrote:
> HI
> I am having a problem with cyrus murder setup.
> I have these configured machines
> 2 frontend machines running proxyd and mupdate slaves
> 2 backend machines running imapd and lmtpd
> 1 mupdate master running lmtpproxyd
> I am using sql for a password db
> I can happily log in to the fe servers and see user mailboxes. Also I can 
> log into the back end machines and retrieve mail . I can also deliver mail 
> to the backend machines.
> What I am having trouble with is when I try and read any mailboxes from 
> the front end machines then I get this error in the logs
> Jan 27 16:46:24 cetcb13-01-09 proxyd[5356]: login: 
>[] bigbigray plaintext+TLS 
> Jan 27 16:46:26 cetcb13-01-09 proxyd[5356]: couldn't authenticate to 
> backend server: no mechanism available
> If i run imtest from the front end machines either with or without TLS i 
> can log in and see mail as below. Also if I deliver mail to either of the 
> backends directly to the lmtpd then that is fine. 
> The problem seems to be with proxyd and lmtpd not authenticating as the 
> rest does.
> I guess that this is because I am using PLAIN passwords and this is 
> disabled unless using TLS.
> Is there a way to enable TLS with proxyd and lmtpproxyd or am i just 
> completely wrong.

You are correct, if you are only using plaintext authentication, then 
you'll need the frontend to use STARTTLS on the backend.  Unfortunately, 
  support for this is not in the 2.1 series.  You can either upgrade to 
2.2.3 or try to backport the STARTTLS patch to 2.1.16.  Here is the 
relevent patchset info:

PatchSet 4559
Date: 2002/12/13 19:28:37
Author: ken3
added client-side STARTTLS for frontend to backend authentication when
needed (still need to do something for the cert and key)

         imap/backend.c:> [cyrus-imapd-2_2]
         imap/backend.h:> [cyrus-imapd-2_2]
         imap/tls.c:> [cyrus-imapd-2_2]
         imap/tls.h:> [cyrus-imapd-2_2]

PatchSet 4769
Date: 2003/02/19 17:09:47
Author: ken3
don't compile STARTTLS support unless we have OpenSSL

         imap/backend.c:> [cyrus-imapd-2_2]
         imap/backend.h:> [cyrus-imapd-2_2]

Kenneth Murchison     Oceana Matrix Ltd.
Software Engineer     21 Princeton Place
716-662-8973 x26      Orchard Park, NY 14127
--PGP Public Key--

More information about the Info-cyrus mailing list