Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Nov 2003 16:26:52 +0000
From:      Scott Mitchell <scott+freebsd@fishballoon.org>
To:        "Matthew A. Lee" <matthew@myfables.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Newbie question with Squirrelmail 1.41 and IMAP
Message-ID:  <20031124162652.GA83831@llama.fishballoon.org>
In-Reply-To: <000b01c3b2a0$8618ce70$05906a8c@sccnt.sinclair.edu>
References:  <000b01c3b2a0$8618ce70$05906a8c@sccnt.sinclair.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Nov 24, 2003 at 10:34:40AM -0500, Matthew A. Lee wrote:
> I just recently installed 4.9 on a fresh server.  I was also 
> installing squirrelmail 1.41 from the ports directory and also imap-uw
> (imap4rev1).  I pointed my virtual server to the squirrelmail 
> directory.  I can get the login prompt, but when I login with a 
> username and password, I receive an error message that says unknown 
> user or incorrect password.  On my console, it tells me the login
> has been disabled with whatever username I use and auth=username
> and host=127.0.0.1.  It prefaces the error with imapd[151].
> 
> I looked at the pkg-message in imap-uw and it says that by default 
> imap will not accept unencrypted logins.  Since this is just a test 
> server, I dont mind using unencrypted logins, but I dont know how to 
> install it so it will work without them.  Or, I am not certain of 
> what I need to do in order for it work with encrypted logins.  I 
> looked at both the squirrelmail site and washington.edu's site on 
> imap, but I dont really see the solution.  It is probably something 
> very simple that I am missing or that I am doing incorrectly.  Still, 
> any light someone may be able to shed on this or to point me in th 
> right direction would be greatly appreciated.

If you read right to the end of /usr/ports/mail/imap-uw/pkg-message you
should have seen this:


===>   NB: IMAP-UW now rejects non-encrypted logins by default. To change this
===>   behaviour, recompile and reinstall cclient and imap-uw ports with one of
===>   the following make variables defined:

WITHOUT_SSL - build without SSL/encryption support.
WITH_SSL_AND_PLAINTEXT - build with SSL/encryption support, but allow
non-encrypted logins.


So the answer is that you need to rebuild/reinstall the cclient and imap-uw
ports with either '-DWITHOUT_SSL' or '-DWITH_SSL_AND_PLAINTEXT' on the make
command line.  I believe either of these will give you a server that will
accept plaintext logins, but I don't have my notes from when I did this to
check for sure.  At least one of them should work, anyway.

	Scott

-- 
===========================================================================
Scott Mitchell           | PGP Key ID | "Eagles may soar, but weasels
Cambridge, England       | 0x54B171B9 |  don't get sucked into jet engines"
scott at fishballoon.org | 0xAA775B8B |      -- Anon



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