From owner-freebsd-questions@FreeBSD.ORG Fri Nov 2 08:37:45 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6749016A417 for ; Fri, 2 Nov 2007 08:37:45 +0000 (UTC) (envelope-from michael.grant@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.177]) by mx1.freebsd.org (Postfix) with ESMTP id 2020B13C4A6 for ; Fri, 2 Nov 2007 08:37:44 +0000 (UTC) (envelope-from michael.grant@gmail.com) Received: by py-out-1112.google.com with SMTP id u77so1482286pyb for ; Fri, 02 Nov 2007 01:37:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=ZzI/n446JHICkNCb3arNwRo6DeRoKUdwvOp9davM44w=; b=mFpuYmqqsJMgos1Kj9sN1nNoYkoIPH1JOLHds+s/1TXONUqeByouZ2xLKUOHvXD+c93qMGpe5UjgL7bknkAj0dvOaamOg+BRkpzok2gwAE0wy6eK6ma3U5t0yyg+WK8hHxWfkZANbRrvkRhc1dIC9y5uoRNJhmUBZyNmzuFhBKk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=Yl+BKVat2sBE3Z8224zyTL1YD9zP1S0zVgWRL3rb5J3cN0klaR4281Tyx/t87F7Ay/bSvtSY39DoGT6rz5GYePuMmk4HVSzJoDWm/BE4Jq8Vp1n56drOdNWCtjrfu+8sWGwrJYgKkCAkiN1U8+azFxdpQeMRmo6X0D0S6Dh060c= Received: by 10.65.205.16 with SMTP id h16mr5914058qbq.1193992643268; Fri, 02 Nov 2007 01:37:23 -0700 (PDT) Received: by 10.64.251.5 with HTTP; Fri, 2 Nov 2007 01:37:23 -0700 (PDT) Message-ID: <62b856460711020137u71919b06m40a3f4fcf866a1eb@mail.gmail.com> Date: Fri, 2 Nov 2007 09:37:23 +0100 From: "Michael Grant" Sender: michael.grant@gmail.com To: tabthorpe@freebsd.org In-Reply-To: <3f6a88120711011015j11d0a179i2b053346f33b971b@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <62b856460711010922j69bf683bu5b2a48d7a44640f2@mail.gmail.com> <3f6a88120711011015j11d0a179i2b053346f33b971b@mail.gmail.com> X-Google-Sender-Auth: 8c3c2bb9d85f7a32 Cc: FreeBSD Questions Subject: Re: imap-uw and sasl X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Nov 2007 08:37:45 -0000 On 11/1/07, Thomas Abthorpe 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 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