Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Nov 2007 09:37:23 +0100
From:      "Michael Grant" <mg-fbsd3@grant.org>
To:        tabthorpe@freebsd.org
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: imap-uw and sasl
Message-ID:  <62b856460711020137u71919b06m40a3f4fcf866a1eb@mail.gmail.com>
In-Reply-To: <3f6a88120711011015j11d0a179i2b053346f33b971b@mail.gmail.com>
References:  <62b856460711010922j69bf683bu5b2a48d7a44640f2@mail.gmail.com> <3f6a88120711011015j11d0a179i2b053346f33b971b@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 11/1/07, Thomas Abthorpe <tabthorpe@gmail.com> wrote:
> Try adding the following you /etc/make.conf
>
> WITH_SSL_AND_PLAINTEXT=yes # imap-uw
> WITH_ENTOURAGE_BRAIN_DAMAGE=yes # imap-uw
>
>
> On 01/11/2007, Michael Grant <mg-fbsd3@grant.org> wrote:
> > I just installed imap-uw and saslauthd on my box.  I'm having trouble
> > getting it to accept plain text logins (in fact any logins at all).
> > I'm trying to authenticate people in the passwd file.
> >
> > I get the following in the maillog:
> >
> > Nov  1 11:14:53 myhost ipop3d[97953]: Unexpected client disconnect,
> > while reading line user=??? host=example.com [10.20.30.40]
> >
> > Yes, the user=??? is just like that with the question marks.  I am
> > definitely sending the username.
> >
> > I'm thinking it might be a sasl problem or something I've not
> > configured with saslauthd but I don't see it.
> >
> > I see these messages in /var/log/messages but they do not seem
> > correlated with the time of the I tried to login (and there's many
> > fewer of them):
> >
> > Nov  1 11:00:32 charm ipop3d[87124]: Login failed user=myname
> > auth=myname host=example.com [10.20.30.40]
> >
> >
> > Ideas?  Suggestions where to look for more error messages?
> >
> > Michael Grant
> > _______________________________________________

At first I thought that this couldn't possibly have anything to it,
but after some experimentation, I discovered that things worked if I
was using SSL.

I tried this and did a make clean and reinstalled but it didn't change anything.

I also tried selecting "Allow plain text passwords and SSL" on the
menu during the make process of imap-uw.  No, still the same behavior.

I think I'm going to give up and force everyone to use SSL which
probably isn't a bad thing.

However, it sure would have been nice if the error imap-uw generated
was a little more revealing.  Especially when the user connected
without SSL, it could have returned a very explicit error message like
"Clear connections no longer supported, use port 995 with SSL".

Thanks for the response, it did help.

Michael Grant



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