From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/71804 Path: news.gmane.org!not-for-mail From: Drew Hess Newsgroups: gmane.emacs.gnus.general Subject: Some issues with new nnimap Date: Sat, 25 Sep 2010 22:53:25 -0700 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: dough.gmane.org 1285480486 28577 80.91.229.12 (26 Sep 2010 05:54:46 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 26 Sep 2010 05:54:46 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M20177@lists.math.uh.edu Sun Sep 26 07:54:45 2010 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OzkC9-0006jC-9A for ding-account@gmane.org; Sun, 26 Sep 2010 07:54:41 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1OzkBE-0003xT-Bp; Sun, 26 Sep 2010 00:53:44 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1OzkB1-0003xC-OG for ding@lists.math.uh.edu; Sun, 26 Sep 2010 00:53:31 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1OzkAy-0006wE-SZ for ding@lists.math.uh.edu; Sun, 26 Sep 2010 00:53:30 -0500 Original-Received: from mail-ew0-f44.google.com ([209.85.215.44]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1OzkAy-0000DW-00 for ; Sun, 26 Sep 2010 07:53:28 +0200 Original-Received: by ewy26 with SMTP id 26so1522706ewy.17 for ; Sat, 25 Sep 2010 22:53:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=rbL5DTpV8n4y2ZFQAqem6+CsrBLnK+Sb+XWTVEPwNOY=; b=E0PXxW2UcXsk/8AVxfEfeV35uc3Wt3HMfTh2QhPMYpc+Fdqj1Xs7oqHJ4kdV1RMLKv 7478pgIn2SrR80gy1ijvGRgo3BQi8f7GACkIQcvUbsEOTCoqkecv5pcDWhSBusNSq2MY yEQs80/0hE2NuB03B6NrDxeaFwbZU+0RaOERw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=sGZVZFbZ9GzJt+du7zRvrwagrY/DLgVC/PNxZeq4u4hBN8/CimsFipj2VLoC6CxTq1 Ww7CS2u6atKr+STfRx3hdtyC/7HbCS1j0wWtLfbO8zUnsgIPAP0iPaqi09rwykpIFcqQ dCJzaRJxWo4T+Jm2rV082xTw57sNk8swRjmxc= Original-Received: by 10.213.21.129 with SMTP id j1mr4700629ebb.7.1285480405830; Sat, 25 Sep 2010 22:53:25 -0700 (PDT) Original-Received: by 10.14.37.13 with HTTP; Sat, 25 Sep 2010 22:53:25 -0700 (PDT) X-Spam-Score: -2.0 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:71804 Archived-At: Hi Lars, I'm really happy to see you working on Gnus again. Thanks for a great mail reader! I'm having a few issues with the new nnimap backend. Here's my server definition: (setq gnus-select-method '(nnnil "")) (setq gnus-secondary-select-methods '( (nnimap "imap.bothan.net" (nnir-search-engine imap)))) Without a .authinfo file, I'm unable to login. The login process appears to hang after the IMAP server sends its greeting. Here are the contents of my *nnimap.. buffer: --- Resolving 'imap.bothan.net'... Connecting to '69.36.241.48:993'... - Ephemeral Diffie-Hellman parameters - Using prime: 1024 bits - Secret key: 1023 bits - Peer's public key: 1021 bits - Certificate type: X.509 - Got a certificate list of 1 certificates. - Certificate[0] info: - subject `C=US,ST=California,L=San Francisco,O=Bothan Spy Network,OU=Server,CN=imap.bothan.net', issuer `C=US,ST=California,L=San Francisco,O=Bothan Spy Network,OU=Certificate Authority,CN=Bothan Spy Network Certificate Authority', RSA key 2048 bits, signed using RSA-SHA1, activated `2010-06-25 00:29:42 UTC', expires `2011-06-25 00:29:42 UTC', SHA-1 fingerprint `5cb747fecd4e1a74928bd40deb307b7e92669c58' - The hostname in the certificate matches 'imap.bothan.net'. - Peer's certificate issuer is unknown - Peer's certificate is NOT trusted - Version: TLS1.0 - Key Exchange: DHE-RSA - Cipher: AES-128-CBC - MAC: SHA1 - Compression: NULL - Handshake was completed - Simple Client Mode: * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE AUTH=PLAIN] Dovecot ready. --- Here are the contents of the *Messages* buffer: --- Loading /Users/dhess/elisp/gnus/lisp/gnus-load.el (source)...done Reading /Users/dhess/gnus/.newsrc.eld... Reading active file via nnnil...done Reading active file from imap.bothan.net via nnimap... Opening nnimap server on imap.bothan.net... Opening TLS connection to `imap.bothan.net'... Opening TLS connection with `gnutls-cli -p imaps imap.bothan.net'...done Opening TLS connection to `imap.bothan.net'...done Opening nnimap server on imap.bothan.net...failed: Reading active file from archive via nnfolder... Opening nnfolder server on archive...done Reading active file from archive via nnfolder...done Opening nnimap server on imap.bothan.net... Denied server nnimap+imap.bothan.net Opening nnimap server on imap.bothan.net...failed: No new newsgroups Checking new news... Reading active file from gnus-help via nndoc... Cannot read active file from nndoc server Reading active file via nndraft...done Checking new news...done No Gnus is good news No more unread newsgroups Mark set --- I looked through the mailing list and this appears to be similar to a problem someone else was having, which you chalked up to a race condition and fixed with commit 3a31df78354f7ddba9a08aed8f1a5e180f1ab032, I believe. So then I created a .authinfo.gpg file. I'm using EasyPG with (epa-file-enable) in my .emacs, and I'm able to open this file in a new buffer seamlessly, but when I try to connect to my IMAP server, I'm just repeatedly asked for my GPG passphrase. I'm certain I'm typing it correctly. Here's what my *Messages* buffer looks like when this happens: --- Loading /Users/dhess/elisp/gnus/lisp/gnus-load.el (source)...done Reading /Users/dhess/gnus/.newsrc.eld... Reading active file via nnnil...done Reading active file from imap.bothan.net via nnimap... Opening nnimap server on imap.bothan.net... Opening TLS connection to `imap.bothan.net'... Opening TLS connection with `gnutls-cli -p imaps imap.bothan.net'...done Opening TLS connection to `imap.bothan.net'...done /Users/dhess/.authin: 0% (0/655) /Users/dhess/.authin: 100% (655/655) /Users/dhess/.authin: 0% (0/655) /Users/dhess/.authin: 100% (655/655) /Users/dhess/.authin: 0% (0/655) --- This continues until I hit C-g to abort, at which time Gnus gives up trying to connect. Finally, if I just create an unencrypted .authinfo file, everything works fine: --- Loading /Users/dhess/elisp/gnus/lisp/gnus-load.el (source)...done Reading /Users/dhess/gnus/.newsrc.eld... Reading active file via nnnil...done Reading active file from imap.bothan.net via nnimap... Opening nnimap server on imap.bothan.net... Opening TLS connection to `imap.bothan.net'... Opening TLS connection with `gnutls-cli -p imaps imap.bothan.net'...done Opening TLS connection to `imap.bothan.net'...done Opening nnimap server on imap.bothan.net...done Reading active file from imap.bothan.net via nnimap...done Reading active file from archive via nnfolder... Opening nnfolder server on archive...done Reading active file from archive via nnfolder...done No new newsgroups Checking new news... Reading active file from gnus-help via nndoc... Cannot read active file from nndoc server Reading active file via nndraft...done Checking new news...done --- There's only one catch: every time I hit 'g', Emacs beeps at me. All I get in the *Messages* buffer is this: --- Checking new news... Reading active file from gnus-help via nndoc... Cannot read active file from nndoc server Reading active file via nndraft...done Checking new news...done --- The groups are refreshing properly, etc., so it's not strictly a problem, it's just annoying. I didn't have this issue with bundled Gnus. FYI, I'm running Emacs 23.2 with YAMAMOTO Mitsuharu's Mac patches. I'm willing to try this with stock Emacs 23.2 if you think it might be related. thanks again! d