From: Ichimusai <ichi@ichimusai.org>
Subject: Re: Gnus and IMAP
Date: 17 Nov 2002 19:45:46 +0100 [thread overview]
Message-ID: <m3lm3sdoh1.fsf@h130n1fls31o965.telia.com> (raw)
In-Reply-To: <iluu1igw0zx.fsf@latte.josefsson.org>
Simon Josefsson <jas@extundo.com> writes:
> Ichimusai <ichi@ichimusai.org> writes:
>
> > I have Gnus set up to use POP for fetching my mails, but I am
> > considering switching to IMAP4 as it would be easier with at least one
> > of the servers.
> >
> > Can I just take this:
> >
> > (setq mail-sources
> > '((file :path "/var/spool/mail/ichi")
> > (pop :server "pop.algonet.se" :user "XXXXXX" :password "XXXXXX")
> > (pop :server "pop3.activeisp.com" :user "XXXXXX" :password "XXXXXX")))
> >
> > And change it to
> >
> > (setq mail-sources
> > '((file :path "/var/spool/mail/ichi")
> > (imap :server "pop.algonet.se" :user "XXXXXX" :password "XXXXXX")
> > (imap :server "pop3.activeisp.com" :user "XXXXXX" :password "XXXXXX")))
>
> I think so.
>
> > error in process filter: imap-parse-response: Internal error, tag 5 status BAD code nil text FETCH invalid message sequence set
> > error in process filter: Internal error, tag 5 status BAD code nil text FETCH invalid message sequence set
>
> Except this it looks fine. Could you frob `imap-log' and post the
> contents of *imap-log* after you get this error? It could be a bug,
> I'm not sure anyone really uses the IMAP mail source.
Certainly, here it comes:
(oh, and pop.algonet.se and imap.algonet.se points to the same
machines so don't be confused if I have tried both below)
* OK BMR ErlangTM/OTP IMAP4rev1 v2.1 [0s9944964sheridan]
1 CAPABILITY
* CAPABILITY IMAP4 IMAP4REV1 NAMESPACE SCAN SORT THREAD=ORDEREDSUBJECT
1 OK CAPABILITY completed
2 LOGIN "XXXXXXXX" "XXXXXXXXX"
2 OK LOGIN completed
3 SELECT "INBOX"
* 2 EXISTS
* OK [UIDVALIDITY 969524230] UID validity status
* OK [UIDNEXT 1037557972] Predicted next UID
* FLAGS (\Answered \Flagged \Deleted \Draft \Seen)
* OK [PERMANENTFLAGS ()] Permanent flags
* OK [UNSEEN 1] 1 is first unseen message in INBOX
* 0 RECENT
3 OK [READ-WRITE] SELECT completed
4 UID SEARCH UNSEEN UNDELETED
* SEARCH 1037557208 1037557780
4 OK UID SEARCH completed
5 UID FETCH -36184616 RFC822.PEEK
5 OK UID FETCH completed
6 UID FETCH -36184044 RFC822.PEEK
6 OK UID FETCH completed
7 CLOSE
7 OK CLOSE completed
8 LOGOUT
* BYE angel IMAP4rev1 server terminating connection
8 OK LOGOUT completed
As you can see there are two mails in the box, one is unseen from this
client, but from the *Groups* buffer there is no access to the mail, I
doubt it is ever fetched. I don't see any errors though.
So I tried something else.
> From the *Groups* buffer I did ^ and then I added it as another
server of the nnimap type. After giving it my account name and
password it connected nicely and I got the following groups:
K 0: INBOX
K 0: Skickade brev
K 0: Trash
I hit "u" on all of them and the K's disappeared, and then I "q":ed
back to the *Groups* buffer where I did "F" and yay, my INBOX etc on
the IMAP server showed up.
However, the joy was short, because I was unable to access any folders
even after having subscribed to them :( Hitting return on one of them
produces this error message:
Retrieving newsgroup: nnimap+imap.algonet.se:INBOX...
nnimap: Updating info for nnimap+imap.algonet.se:INBOX...done
Group INBOX selected
gnus-select-newsgroup: Couldn't request group nnimap+imap.algonet.se:INBOX: Group INBOX selected
That is from the *Messages* buffer.
Below you will find the contents of the IMAP-Log buffer after such a
session (it's a bit long but I am not culling it out, maybe you can
read out more from this, I am not so experienced with IMAP):
25 SELECT "Trash"
* 7 EXISTS
* OK [UIDVALIDITY 1037289655] UID validity status
* OK [UIDNEXT 1037558247] Predicted next UID
* FLAGS (\Answered \Flagged \Deleted \Draft \Seen)
* OK [PERMANENTFLAGS ()] Permanent flags
* OK [UNSEEN 5] 5 is first unseen message in Trash
* 0 RECENT
25 OK [READ-WRITE] SELECT completed
26 EXAMINE "Trash"
* 7 EXISTS
* OK [UIDVALIDITY 1037289655] UID validity status
* OK [UIDNEXT 1037558247] Predicted next UID
* FLAGS (\Answered \Flagged \Deleted \Draft \Seen)
* OK [PERMANENTFLAGS ()] Permanent flags
* OK [UNSEEN 5] 5 is first unseen message in Trash
* 0 RECENT
26 OK [READ-ONLY] EXAMINE completed
27 CLOSE
27 OK CLOSE completed
28 EXAMINE "Trash"
* 7 EXISTS
* OK [UIDVALIDITY 1037289655] UID validity status
* OK [UIDNEXT 1037558247] Predicted next UID
* FLAGS (\Answered \Flagged \Deleted \Draft \Seen)
* OK [PERMANENTFLAGS ()] Permanent flags
* OK [UNSEEN 5] 5 is first unseen message in Trash
* 0 RECENT
28 OK [READ-ONLY] EXAMINE completed
29 FETCH 1,* UID
* 1 FETCH (UID 1037289654)
* 7 FETCH (UID 1037289660)
29 OK FETCH completed
30 SELECT "Skickade brev"
* 40 EXISTS
* OK [UIDVALIDITY 972912217] UID validity status
* OK [UIDNEXT 1037558248] Predicted next UID
* FLAGS (\Answered \Flagged \Deleted \Draft \Seen)
* OK [PERMANENTFLAGS ()] Permanent flags
* OK [UNSEEN 1] 1 is first unseen message in Skickade brev
* 0 RECENT
30 OK [READ-WRITE] SELECT completed
31 EXAMINE "Skickade brev"
* 40 EXISTS
* OK [UIDVALIDITY 972912217] UID validity status
* OK [UIDNEXT 1037558248] Predicted next UID
* FLAGS (\Answered \Flagged \Deleted \Draft \Seen)
* OK [PERMANENTFLAGS ()] Permanent flags
* OK [UNSEEN 1] 1 is first unseen message in Skickade brev
* 0 RECENT
31 OK [READ-ONLY] EXAMINE completed
32 CLOSE
32 OK CLOSE completed
33 EXAMINE "Skickade brev"
* 40 EXISTS
* OK [UIDVALIDITY 972912217] UID validity status
* OK [UIDNEXT 1037558248] Predicted next UID
* FLAGS (\Answered \Flagged \Deleted \Draft \Seen)
* OK [PERMANENTFLAGS ()] Permanent flags
* OK [UNSEEN 1] 1 is first unseen message in Skickade brev
* 0 RECENT
33 OK [READ-ONLY] EXAMINE completed
34 FETCH 1,* UID
* 1 FETCH (UID 972912211)
* 40 FETCH (UID 1037550771)
34 OK FETCH completed
35 SELECT "INBOX"
* 2 EXISTS
* OK [UIDVALIDITY 969524230] UID validity status
* OK [UIDNEXT 1037558248] Predicted next UID
* FLAGS (\Answered \Flagged \Deleted \Draft \Seen)
* OK [PERMANENTFLAGS ()] Permanent flags
* OK [UNSEEN 1] 1 is first unseen message in INBOX
* 0 RECENT
35 OK [READ-WRITE] SELECT completed
36 EXAMINE "INBOX"
* 2 EXISTS
* OK [UIDVALIDITY 969524230] UID validity status
* OK [UIDNEXT 1037558248] Predicted next UID
* FLAGS (\Answered \Flagged \Deleted \Draft \Seen)
* OK [PERMANENTFLAGS ()] Permanent flags
* OK [UNSEEN 1] 1 is first unseen message in INBOX
* 0 RECENT
36 OK [READ-ONLY] EXAMINE completed
37 CLOSE
37 OK CLOSE completed
38 EXAMINE "INBOX"
* 2 EXISTS
* OK [UIDVALIDITY 969524230] UID validity status
* OK [UIDNEXT 1037558248] Predicted next UID
* FLAGS (\Answered \Flagged \Deleted \Draft \Seen)
* OK [PERMANENTFLAGS ()] Permanent flags
* OK [UNSEEN 1] 1 is first unseen message in INBOX
* 0 RECENT
38 OK [READ-ONLY] EXAMINE completed
39 FETCH 1,* UID
* 1 FETCH (UID 1037557208)
* 2 FETCH (UID 1037557780)
39 OK FETCH completed
Any help much appreciated. There is probably just something silly
going on here which I have missed.
--
AA #769 ICQ: 1645566 Yahoo Messenger: ichimusai
Home: http://www.ichimusai.org/ IRC Ichimusai#AmigaSWE@IRCnet
I like my tea like I like my women... Green and tastes a little bit
like seaweed.
-- GranoblasticMan, alt.fan.douglas-adams
next parent reply other threads:[~2002-11-17 18:45 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <m365uxl7ya.fsf@h130n1fls31o965.telia.com>
[not found] ` <iluu1igw0zx.fsf@latte.josefsson.org>
2002-11-17 18:45 ` Ichimusai [this message]
2002-11-18 8:57 ` Simon Josefsson
2009-03-07 13:06 Archiving posts to mbox file Kamil Jońca
2009-03-07 15:36 ` Kamil Jońca
2009-03-07 17:07 ` Archiving posts Andrzej Adam Filip
2009-03-17 12:09 ` GNUS and imap [was: Re: Archiving posts] Kamil Jońca
2009-03-17 12:29 ` GNUS and imap Andrzej Adam Filip
2009-03-17 12:44 ` Kamil Jońca
2009-03-17 13:11 ` Andreas Most
2009-03-17 13:48 ` Richard Riley
2009-03-17 15:24 ` Andreas Most
2009-03-18 15:18 ` David Abrahams
2009-03-17 13:11 ` Richard Riley
2009-03-17 15:17 ` Kamil Jońca
2009-03-21 13:31 ` Kamil Jońca
2009-03-17 15:01 ` Andrzej Adam Filip
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=m3lm3sdoh1.fsf@h130n1fls31o965.telia.com \
--to=ichi@ichimusai.org \
/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).