From owner-freebsd-questions@FreeBSD.ORG Sun Jul 27 09:37:10 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1D04E37B401 for ; Sun, 27 Jul 2003 09:37:10 -0700 (PDT) Received: from tonnikala.nettikala.fi (tonnikala.nettikala.fi [212.182.218.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id 01F0943F75 for ; Sun, 27 Jul 2003 09:37:09 -0700 (PDT) (envelope-from mailing-lists@johanpaul.com) Received: from localhost (localhost [127.0.0.1]) by tonnikala.nettikala.fi (Postfix) with ESMTP id 267864200B5; Sun, 27 Jul 2003 19:37:13 +0300 (EEST) Received: by tonnikala.nettikala.fi (Postfix, from userid 612) id 034F94200B6; Sun, 27 Jul 2003 19:37:13 +0300 (EEST) Received: from johanpaul.com (dyn-7.milkyway [10.0.42.7]) by tonnikala.nettikala.fi (Postfix) with ESMTP id 36C854200B5; Sun, 27 Jul 2003 19:37:12 +0300 (EEST) Message-ID: <3F240021.9090708@johanpaul.com> Date: Sun, 27 Jul 2003 19:38:57 +0300 From: Johan Paul User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Andrew BOGECHO References: <3F23EBE3.8060701@johanpaul.com> <20030727162046.GC11873@cs.mcgill.ca> In-Reply-To: <20030727162046.GC11873@cs.mcgill.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-2.2 required=7.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_00_01, TO_BE_REMOVED_REPLY,USER_AGENT,USER_AGENT_MOZILLA_UA, X_ACCEPT_LANG version=2.43-cvs X-Spam-Level: X-Virus-Scanned: by AMaViS snapshot-20020531 cc: freebsd-questions@freebsd.org Subject: Re: Auth fails partly for imap X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Jul 2003 16:37:10 -0000 > Hi, Hi! > > We use plaintext over SSL. For pine to work we add the following line > in the pine.conf > > disable-these-authenticators=CRAM-MD5 > > Hope that helps. Use with care over insecure connections. Hi! That helped! Now I can log into my IMAP account even with Pine. I will use SSL to secure the authentication though. Oddly though even the login from Pine worked after the initial installation and configuration of FreeBSD and all other applications. Now I moved the server from an internal network to the Internet and if I can remember correctly Pine failed after this move. Any ideas why the change of IP (and hostname) would cause this kind of behaviour? Have I missed some setting somewhere with PAM or something? I have this in my /var/log/messages and it from the time the server was on the internal net: Jul 25 18:39:50 silakka imapd[5956]: login: localhost.milkyway[127.0.0.1] kypeli CRAM-MD5 User logged in This must be from Pine since Mozilla and webmail use plain text. Now I am even more confused :) Best regards, Johan Paul > > Andrew. > > On Sun, Jul 27, 2003 at 11:57:04AM -0400, Lucas Holt wrote: > >>Historically, Netscape has not supported encrypted (even if it is weak) >>authentication for imap and pop3. Slowly, they add standards as people >>complain. I'm sure the mozilla project is no different. I know for a >>fact that early builds of mozilla did not support cram md5. >> >>Basically, webmail and mozilla are sending clear text authentication. >>Pine is a bit smarter and uses cram md5. Look through the pine >>preferences and see if you can downgrade it to clear text. If not, >>there is probably a compile option to use cleartext. (thats how they >>do it in imapd at least) >> >>On Sunday, July 27, 2003, at 11:12 AM, Johan Paul wrote: >> >> >>>Hi all, >>> >>>What have I done wrong when I can log into my IMAP account >>>(cyrus-imapd-2.0.17) via Mozilla and web mail (Squirrelmail) but Pine >>>doesn't allow me to log in? I use PAM with MySQL authentication. This >>>is what I get to my log file (first when I log into with Mozilla from >>>a remote client, then Pine locally): >>> >>>-- 8< -- >>>Jul 27 18:04:27 silakka imapd[5665]: login: my.computer.foo[x.x.x.x] >>>kypeli plaintext >>> >>>Jul 27 18:05:09 silakka imapd[5685]: badlogin: >>>localhost.computer.foo[127.0.0.1] CRAM-MD5 authentication failure [no >>>secret in database] >>>-- 8< -- >>> >>>Why does Pine try to use CRAM-MD5 but Mozilla doesn't? I have >>>{localhost:143}inbox in Pine in inbox-path. >>> >>>Running FreeBSD 4.8. >>> >>> >>>Regards, >>> >>>Johan Paul >>> >>>_______________________________________________ >>>freebsd-questions@freebsd.org mailing list >>>http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>>To unsubscribe, send any mail to >>>"freebsd-questions-unsubscribe@freebsd.org" >>> >>> >> >>Lucas Holt >>Luke@FoolishGames.com >>________________________________________________________ >>FoolishGames.com (Jewel Fan Site) >>JustJournal.com (Free blogging) >> >>"Only two things are infinite, the universe and human stupidity, and >>I'm not sure about the former." >>- Albert Einstein (1879-1955) >> >>_______________________________________________ >>freebsd-questions@freebsd.org mailing list >>http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >> > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"