Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* imap-Problem
@ 2009-12-08 21:45 Christoph Herzog
  2009-12-19 20:31 ` imap-Problem Christoph Herzog
       [not found] ` <mailman.13211.1261254787.2239.info-gnus-english@gnu.org>
  0 siblings, 2 replies; 3+ messages in thread
From: Christoph Herzog @ 2009-12-08 21:45 UTC (permalink / raw)
  To: info-gnus-english

I'm new to gnus so please bear with me if this turns out to be a trivial 
issue and I'm missing something obvious.
Using gnus 5.13 with Emacs 23.1 on linux I fail to fetch my imap 
messages from the mail server. It shows me the new mails in my INBOX 
correctly but when I try to look at them it says: "Group INBOX contains 
no messages". Also it does not show me my subgroups of INBOX of which I 
have a few when I try to subscribe with "U".

My .gnus contains:

(setq gnus-select-method '(nnimap "myname"
(nnimap-address "imap.myserver.de")
(nnimap-server-port 993)
(nnimap-stream tls)
(nnimap-authenticator login)))

(setq imap-log t)


I have logged what happens. Please see below.
Any help is appreciated

Chris

***********************************
/bin/bash: gnutls-cli: command not found
depth=0 /C=DE/ST=***/L=***/O=***/OU=***/CN=mail.xxx
verify error:num=20:unable to get local issuer certificate
verify return:1
depth=0 /C=DE/ST=***/L=***/O=***/OU=***CN=mail.***
verify error:num=27:certificate not trusted
verify return:1
depth=0 /C=DE/ST=***/L=***/O=***/OU=***/CN=mail.***
verify error:num=21:unable to verify the first certificate
verify return:1
CONNECTED(00000003)
---
Certificate chain
  0 s:/C=DE/ST=***/L=***/O=***/OU=***/CN=mail.***
    i:/C=DE/O=***/OU=***/CN=*** CA - G02/emailAddress=***
---
Server certificate
-----BEGIN CERTIFICATE-----
***
-----END CERTIFICATE-----
subject=/C=DE/ST=***/L=***/O=***/OU=***/CN=mail.***
issuer=/C=DE/O=***/OU=***/CN=*** CA - G02/emailAddress=***
No client certificate CA names sent
---
SSL handshake has read 1589 bytes and written 419 bytes
---
New, TLSv1/SSLv3, Cipher is AES256-SHA
Server public key is 2048 bit
Compression: NONE
Expansion: NONE
SSL-Session:
     Protocol  : TLSv1
     Cipher    : AES256-SHA
     Session-ID: ***
     Session-ID-ctx:
     Master-Key: ***
     Key-Arg   : None
     Start Time: 1260306532
     Timeout   : 300 (sec)
     Verify return code: 21 (unable to verify the first certificate)
---
* OK IMAP4 Server (IMail 10.02)
1 NOOP
1 OK NOOP completed
2 CAPABILITY
* CAPABILITY IMAP4 IMAP4rev1 AUTH=CRAM-MD5 AUTH=PLAIN AUTH=LOGIN
2 OK CAPABILITY completed
3 LOGIN "***" "***"
3 OK LOGIN completed
4 NOOP
4 OK NOOP completed
5 NOOP
5 OK NOOP completed
6 NOOP
6 OK NOOP completed
7 STATUS "Sent" (UIDVALIDITY UIDNEXT UNSEEN)
8 STATUS "INBOX" (UIDVALIDITY UIDNEXT UNSEEN)
9 EXAMINE "INBOX"
* STATUS Sent.mbx (UIDNEXT 536113066 UIDVALIDITY 1223307165 UNSEEN 0)
7 OK STATUS completed
* STATUS INBOX (UIDNEXT 552404868 UIDVALIDITY 1222340420 UNSEEN 4)
8 OK STATUS completed
* FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
* 1684 EXISTS
* 18 RECENT
* OK [UNSEEN 1662] 4 Messages unseen
* OK [UIDVALIDITY 1222340420] UIDs valid
* OK [UIDNEXT 552404868] Predicted next UID
* OK [PERMANENTFLAGS ()]
9 OK [READ-ONLY] EXAMINE completed
10 FETCH 1,* UID
* 1 FETCH (UID 522340425)
10 OK FETCH completed
11 EXAMINE "Sent"
* FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
* 750 EXISTS
* 0 RECENT
* OK [UIDVALIDITY 1223307165] UIDs valid
* OK [UIDNEXT 536113066] Predicted next UID
* OK [PERMANENTFLAGS ()]
11 OK [READ-ONLY] EXAMINE completed
12 FETCH 1,* UID
* 1 FETCH (UID 523307166)
12 OK FETCH completed
13 STATUS "Sent" (UIDNEXT)
* STATUS Sent.mbx (UIDNEXT 536113066)
13 OK STATUS completed
14 STATUS "Sent" (UNSEEN)
* STATUS Sent.mbx (UNSEEN 0)
14 OK STATUS completed
15 NOOP
15 OK NOOP completed
16 NOOP
16 OK NOOP completed
17 EXAMINE "Sent"
* FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
* 750 EXISTS
* 0 RECENT
* OK [UIDVALIDITY 1223307165] UIDs valid
* OK [UIDNEXT 536113066] Predicted next UID
* OK [PERMANENTFLAGS ()]
17 OK [READ-ONLY] EXAMINE completed
18 CLOSE
18 OK Close completed, now in authenticated state
19 LSUB "" "*%"
* LSUB (\Marked) "/" Trash
* LSUB (\Marked) "/" Sent
* LSUB (\Marked) "/" Drafts
* LSUB (\Marked) "/" Junk
19 OK LSUB completed
20 EXAMINE "Drafts"
* FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
* 16 EXISTS
* 0 RECENT
* OK [UIDVALIDITY 1223307517] UIDs valid
* OK [UIDNEXT 523308346] Predicted next UID
* OK [PERMANENTFLAGS ()]
20 OK [READ-ONLY] EXAMINE completed
21 FETCH 1,* UID
* 1 FETCH (UID 523308158)
21 OK FETCH completed
22 EXAMINE "Junk"
* FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
* 16 EXISTS
* 0 RECENT
* OK [UIDVALIDITY 1231933035] UIDs valid
* OK [UIDNEXT 531933072] Predicted next UID
* OK [PERMANENTFLAGS ()]
22 OK [READ-ONLY] EXAMINE completed
23 FETCH 1,* UID
* 1 FETCH (UID 531933036)
23 OK FETCH completed
24 EXAMINE "Trash"
* FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
* 17 EXISTS
* 0 RECENT
* OK [UIDVALIDITY 1223278322] UIDs valid
* OK [UIDNEXT 523278533] Predicted next UID
* OK [PERMANENTFLAGS ()]
24 OK [READ-ONLY] EXAMINE completed
25 FETCH 1,* UID
* 1 FETCH (UID 523278516)
25 OK FETCH completed
26 EXAMINE "Sent"
* FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
* 750 EXISTS
* 0 RECENT
* OK [UIDVALIDITY 1223307165] UIDs valid
* OK [UIDNEXT 536113066] Predicted next UID
* OK [PERMANENTFLAGS ()]
26 OK [READ-ONLY] EXAMINE completed
27 FETCH 1,* UID
* 1 FETCH (UID 523307166)
27 OK FETCH completed
28 NOOP
28 OK NOOP completed
29 SELECT "INBOX"
* FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
* 1684 EXISTS
* 18 RECENT
* OK [UNSEEN 1662] 4 Messages unseen
* OK [UIDVALIDITY 1222340420] UIDs valid
* OK [UIDNEXT 552404868] Predicted next UID
29 OK [READ-WRITE] SELECT completed
30 UID SEARCH RECENT
* SEARCH 552404850 552404851 552404852 552404853 552404854 552404855 
552404856 552404857 552404858 552404859 552404860 552404861 552404862 
552404863 552404864 552404865 552404866 552404867
30 OK UID Completed
31 EXAMINE "INBOX"
* FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
* 1684 EXISTS
* 0 RECENT
* OK [UNSEEN 1662] 4 Messages unseen
* OK [UIDVALIDITY 1222340420] UIDs valid
* OK [UIDNEXT 552404868] Predicted next UID
* OK [PERMANENTFLAGS ()]
31 OK [READ-ONLY] EXAMINE completed
32 CLOSE
32 OK Close completed, now in authenticated state

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: imap-Problem
  2009-12-08 21:45 imap-Problem Christoph Herzog
@ 2009-12-19 20:31 ` Christoph Herzog
       [not found] ` <mailman.13211.1261254787.2239.info-gnus-english@gnu.org>
  1 sibling, 0 replies; 3+ messages in thread
From: Christoph Herzog @ 2009-12-19 20:31 UTC (permalink / raw)
  To: info-gnus-english

Ok, forget about it. I have investigated my problem further and reached 
the conclusion that it's probably a bug in either Gnus or the IMail 
server 10.2. Unfortunately, I can't solve it in either case and it's 
obviously of no interest here. Fortunately Mew works with this server 
out of the box. So for the time being I'll use Mew.
Kind regards
Christoph


Christoph Herzog wrote:
> I'm new to gnus so please bear with me if this turns out to be a trivial 
> issue and I'm missing something obvious.
> Using gnus 5.13 with Emacs 23.1 on linux I fail to fetch my imap 
> messages from the mail server. It shows me the new mails in my INBOX 
> correctly but when I try to look at them it says: "Group INBOX contains 
> no messages". Also it does not show me my subgroups of INBOX of which I 
> have a few when I try to subscribe with "U".
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: imap-Problem
       [not found] ` <mailman.13211.1261254787.2239.info-gnus-english@gnu.org>
@ 2010-01-24 12:33   ` Andreas Most
  0 siblings, 0 replies; 3+ messages in thread
From: Andreas Most @ 2010-01-24 12:33 UTC (permalink / raw)
  To: info-gnus-english

Christoph Herzog <rhogez@googlemail.com> writes:

> Ok, forget about it. I have investigated my problem further and
> reached the conclusion that it's probably a bug in either Gnus or the
> IMail server 10.2. Unfortunately, I can't solve it in either case and
> it's obviously of no interest here. Fortunately Mew works with this
> server out of the box. So for the time being I'll use Mew.
> Kind regards
> Christoph
>
>
> Christoph Herzog wrote:
>> I'm new to gnus so please bear with me if this turns out to be a
>> trivial issue and I'm missing something obvious.
>> Using gnus 5.13 with Emacs 23.1 on linux I fail to fetch my imap
>> messages from the mail server. It shows me the new mails in my INBOX
>> correctly but when I try to look at them it says: "Group INBOX
>> contains no messages". Also it does not show me my subgroups of
>> INBOX of which I have a few when I try to subscribe with "U".
>>

The problem is of interest, at least to me. ;-) 
The issue is that on x86 machines Emacs has only 28 bit integers. 
However, some mail servers use mail UIDs which need more than 28 bit 
to be represented as an integer. This can be seen from your log.

Currently there is no solution to this problem. It is either GNUS (or
imap.el) which should represent UIDs as strings or Emacs which should
use "long long" types for representing integers.

I have recently found that on amd64 machines integers in emacs have (I
think) 60 bits. I haven't yet tried but probably there will be no such
problem with these high UID numbers.

Andreas.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-01-24 12:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-08 21:45 imap-Problem Christoph Herzog
2009-12-19 20:31 ` imap-Problem Christoph Herzog
     [not found] ` <mailman.13211.1261254787.2239.info-gnus-english@gnu.org>
2010-01-24 12:33   ` imap-Problem Andreas Most

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).