From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/2971 Path: news.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.user Subject: Re: Two IMAP problems Date: Sun, 07 Sep 2003 02:33:33 +0200 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1138669219 17138 80.91.229.2 (31 Jan 2006 01:00:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 01:00:19 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:31:30 2006 Original-Path: quimby.gnus.org!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-NNTP-Posting-Host: ssh.pdc.kth.se Original-X-Trace: quimby.gnus.org 1062895508 19832 193.10.159.36 (7 Sep 2003 00:45:08 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 7 Sep 2003 00:45:08 GMT User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:GbFlDlkDw6GlL1M/QQjgh01hlBQ= Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:3112 Original-Lines: 64 X-Gnus-Article-Number: 3112 Tue Jan 17 17:31:30 2006 Xref: news.gmane.org gmane.emacs.gnus.user:2971 Archived-At: Mats Löfdahl writes: > I've recently started trying imap in Gnus 5.10 with the following > setup: > > (setq gnus-secondary-select-methods > '((nnimap "astro" > (nnimap-address "xxx.xxx.xxx") > (nnimap-server-port 993) > (nnimap-stream ssl) > ) > (nntp "news.chello.se") > (nntp "news.cis.dfn.de") > )) > > > > I have two problems: > > I. > > When nnimap-authinfo-file is ~/.authinfo (the default), Gnus still > asks me for the login name and password. The item in ~/.authinfo is > on the form: > > machine xxx.xxx.xxx login xxx password xxx Does adding 'port 993' help? > If I instead use nnimap-authinfo-file's inline format: > > nnimap-authinfo-file's value is > (("xxx.xxx.xxx" > ("login" . "xxx") > ("password" . "xxx"))) > > then Gnus starts up without asking me for the login information but > then it fails to connect to the imap server (Server denies access). Unfortunately, and despite the custom type, this usage of nnimap-authinfo-file is not supported. > II. > > If I use the former method, which lets me access the imap server after > providing the login info at startup, then I don't seem to be able to > manipulate the contents on the server from Gnus. New mail is delivered > fine and I can read them, but I can't edit messages or create new > groups on the server. The IMAP protocol does not support editing of messages. You should be able to create new groups though. Perhaps your server require the groups to be named 'INBOX.foo' instead of just 'foo' though? > Also, deleted messages don't seem to disappear from the server, which > might be another symptom of the same problem, since the default > setting of nnimap-expunge-on-close is supposed to be "always". I now > have several weeks' worth of spam in my imap INBOX... Are you accessing the group normally, via the main group buffer? I.e., not via the server buffer or as a foreign group? If so, try (setq imap-log t) and quote the contents generated in the *imap-log* buffer by pressing 'q' in the summary buffer for INBOX. Perhaps there is a error message somehow.