Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Simon Josefsson <jas@extundo.com>
Subject: Re: Two IMAP problems
Date: Sun, 07 Sep 2003 02:33:33 +0200	[thread overview]
Message-ID: <ilubrtxxwrm.fsf@latte.josefsson.org> (raw)
In-Reply-To: <m3iso5h4jv.fsf@c213-89-193-148.cm-upc.chello.se>

Mats Löfdahl <xyzzy@chello.se> 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.


       reply	other threads:[~2003-09-07  0:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <m3iso5h4jv.fsf@c213-89-193-148.cm-upc.chello.se>
2003-09-07  0:33 ` Simon Josefsson [this message]
2003-09-07  9:01   ` Mats Löfdahl
     [not found]     ` <ilu1xuk35db.fsf@latte.josefsson.org>
2003-09-15 18:56       ` Mats Löfdahl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ilubrtxxwrm.fsf@latte.josefsson.org \
    --to=jas@extundo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).