From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/9993 Path: news.gmane.org!not-for-mail From: Bill Harris Newsgroups: gmane.emacs.gnus.user Subject: Re: IMAP problems Date: Fri, 30 Nov 2007 08:02:33 -0800 Organization: Posted via Supernews, http://www.supernews.com Message-ID: References: <4852b47b-47cd-4824-a818-aa9a7e5764b4@a35g2000prf.googlegroups.com> <16960e98-b1c8-4693-9bf9-fb22691b254c@s8g2000prg.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1196440949 11799 80.91.229.12 (30 Nov 2007 16:42:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 30 Nov 2007 16:42:29 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Fri Nov 30 17:42:37 2007 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Iy8wm-00011w-Ln for gegu-info-gnus-english@m.gmane.org; Fri, 30 Nov 2007 17:42:37 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iy8wW-0006zU-0V for gegu-info-gnus-english@m.gmane.org; Fri, 30 Nov 2007 11:42:20 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!border2.nntp.ams.giganews.com!nntp.giganews.com!sn-xt-ams-06!sn-xt-ams-03!sn-ams!sn-feed-ams-02!sn-post-ams-02!sn-post-sjc-02!sn-post-sjc-01!supernews.com!corp.supernews.com!not-for-mail Original-Newsgroups: gnu.emacs.gnus User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (windows-nt) Cancel-Lock: sha1:zbV7fk0DoiHhHX4nREB80cFyoFE= Original-X-Complaints-To: abuse@supernews.com Original-Lines: 143 Original-Xref: shelby.stanford.edu gnu.emacs.gnus:80204 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:9993 Archived-At: =2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 {accidentally sent to hhj in email instead of by news:} Hasse Hagen Johansen writes: > I am using this in my .gnus: > ;; For fetching remote mail from imap > (setq imap-ssl-program "/usr/bin/openssl s_client -ssl3 -connect %s:%p") > (setq gnus-secondary-select-methods > '((nnimap "servername" > (nnimap-server-port 993) > (nnimap-stream ssl) > ))) Thanks. I checked, now that I've got Gnus v5.11. C-h v shows ,---- | imap-ssl-program is a variable defined in `imap.el'. | Its value is=20 | ("openssl s_client -quiet -ssl3 -connect %s:%p" "openssl s_client -quiet = -ssl2 -connect %s:%p" "s_client -quiet -ssl3 -connect %s:%p" "s_client -qui= et -ssl2 -connect %s:%p") `---- I just tried=20 ,---- | (add-to-list 'gnus-secondary-select-methods | '(nnimap "my.server.address" | (nnimap-server-port 993) | (nnimap-address "my.server.address") | (nnimap-stream ssl))) `---- in my .gnus, and it didn't work. I get a *: at the start of the group line in the Group buffer (at least it's there now), and, when I try to enter it, it says, "Couldn't activate group groupname: 411 no such news group". I figure I have to give nnimap-address; how does your Gnus find the server? Any other thoughts? Any way to test to see if Gnus is succeding with=20 the SSL connection or to debug other parts of the connection? Bill {His reply, reposted with his permission} >>>>> "Bill" =3D=3D Bill Harris writes: Bill> Hasse Hagen Johansen writes: >> I am using this in my .gnus: ;; For fetching remote mail from >> imap (setq imap-ssl-program "/usr/bin/openssl s_client -ssl3 >> -connect %s:%p") (setq gnus-secondary-select-methods '((nnimap >> "servername" (nnimap-server-port 993) (nnimap-stream ssl) ))) Bill> Thanks. I checked, now that I've got Gnus v5.11. C-h v Bill> shows Bill> ,---- | imap-ssl-program is a variable defined in `imap.el'. Bill> | Its value is | ("openssl s_client -quiet -ssl3 -connect Bill> %s:%p" "openssl s_client -quiet -ssl2 -connect %s:%p" Bill> "s_client -quiet -ssl3 -connect %s:%p" "s_client -quiet Bill> -ssl2 -connect %s:%p") `---- Bill> I just tried Bill> ,---- | (add-to-list 'gnus-secondary-select-methods | Bill> '(nnimap "my.server.address" | (nnimap-server-port 993) | Bill> (nnimap-address "my.server.address") | (nnimap-stream ssl))) Bill> `---- Bill> in my .gnus, and it didn't work. I get a *: at the start of Bill> the group line in the Group buffer (at least it's there Bill> now), and, when I try to enter it, it says, "Couldn't Bill> activate group groupname: 411 no such news group". Bill> I figure I have to give nnimap-address; how does your Gnus Bill> find the server? Hmm...maybe you are trying to access a non existing folder? nnimap-address..you should replace my.server.address with your imap servers address. What I have done is. Added the above to my .gnus file and then started and got to Group mode. Then I hit ^ to get to "server browsing mode", and hit enter on the imap server...and then subscribed to the folders with the u key. Bill> Any other thoughts? Any way to test to see if Gnus is Bill> succeding with the SSL connection or to debug other parts of Bill> the connection? I don't quite remember the "debug variable" to set, but you should get some information in the Messages buffer Bill you answered me directly on mail. Could you please copy it in the newsgroup thread if you still got it?(so the discussion can help others) Regards Hasse H. Johansen {My reply to him} Hasse Hagen Johansen writes: > Hmm...maybe you are trying to access a non existing folder? > nnimap-address..you should replace my.server.address with your imap > servers address. Of course. I just changed it for the purposes of this posting; my file really has the server address. > What I have done is. Added the above to my .gnus file and then started > and got to Group mode. Then I hit ^ to get to "server browsing mode", > and hit enter on the imap server...and then subscribed to the folders > with the u key. I _knew_ there was a reason for server browsing mode, and that was it. It works. > Bill you answered me directly on mail. Could you please copy it in the > newsgroup thread if you still got it?(so the discussion can help others) That's my mistake; sorry. I'll be glad to, especially now that it works. Bill =2D --=20 Bill Harris http://facilitatedsystems.com/weblog/ Facilitated Systems Everett, WA 98208 USA http://facilitatedsystems.com/ phone: +1 425 337-5541 =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: For more information, see http://www.gnupg.org iD8DBQFHUDQd3J3HaQTDvd8RAiLgAJ0X+ZYQwxN1lSXjAiPOw18rdAhpGwCcDkKe xmCK6ET4RajI+NHwoG2n03s=3D =3DDTRm =2D----END PGP SIGNATURE-----