info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

imap and agent: no check for new mail with 'g'


From: Sebastian Schubert
Subject: imap and agent: no check for new mail with 'g'
Date: Mon, 18 Dec 2006 13:31:37 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux)

Hi,

this is probably easy to solve and I probably did some stupid things
but I cannot find the solution.  I use IMAP with the agent (no problem
without agent on that server!).  The connection works:

,----[ *imap-log* (removed personal info) ]
| Resolving 'my server'...
| Connecting to 'IP Address:Port'...
| - Certificate type: X.509
|  - Got a certificate list of 1 certificates.
| 
|  - Certificate[0] info:
|   ............ 
| 
| - Peer's certificate issuer is unknown
| - Peer's certificate is NOT trusted
| - Version: TLS 1.0
| - Key Exchange: RSA
| - Cipher: AES 256 CBC
| - MAC: SHA
| - Compression: NULL
| - Handshake was completed
| 
| - Simple Client Mode:
| 
| * OK [CAPABILITY IMAP4REV1 LOGIN-REFERRALS AUTH=PLAIN AUTH=LOGIN]
| ....... IMAP4rev1 2003.339 at Mon, 18 Dec 2006 12:47:24 +0100 (CET) 1
| CAPABILITY * CAPABILITY IMAP4REV1 IDLE NAMESPACE MAILBOX-REFERRALS
| BINARY UNSELECT SCAN SORT THREAD=REFERENCES THREAD=ORDEREDSUBJECT
| MULTIAPPEND LOGIN-REFERRALS AUTH=PLAIN AUTH=LOGIN 1 OK CAPABILITY
| completed 2 LOGIN ..........  2 OK [CAPABILITY IMAP4REV1 IDLE
| NAMESPACE MAILBOX-REFERRALS BINARY UNSELECT SCAN SORT
| THREAD=REFERENCES THREAD=ORDEREDSUBJECT MULTIAPPEND] User
| ...... authenticated 3 STATUS "Mail/spam" (uidvalidity uidnext unseen)
| 4 STATUS "INBOX" (uidvalidity uidnext unseen) 5 EXAMINE "INBOX" *
| STATUS Mail/spam (UNSEEN 0 UIDNEXT 61 UIDVALIDITY 1165923516) 3 OK
| STATUS completed * STATUS INBOX (UNSEEN 0 UIDNEXT 1225 UIDVALIDITY
| 1126095215) 4 OK STATUS completed * 19 EXISTS * 0 RECENT * OK
| [UIDVALIDITY 1126095215] UID validity status * OK [UIDNEXT 1225]
| Predicted next UID * FLAGS (gnus-expire \Answered \Flagged \Deleted
| \Draft \Seen) * OK [PERMANENTFLAGS ()] Permanent flags 5 OK
| [READ-ONLY] EXAMINE completed 6 FETCH 1,* UID * 1 FETCH (UID 1120) *
| 19 FETCH (UID 1224) 6 OK FETCH completed 7 EXAMINE "Mail/spam" * 44
| EXISTS * 0 RECENT * OK [UIDVALIDITY 1165923516] UID validity status *
| OK [UIDNEXT 61] Predicted next UID * FLAGS (gnus-expire \Answered
| \Flagged \Deleted \Draft \Seen) * OK [PERMANENTFLAGS ()] Permanent
| flags 7 OK [READ-ONLY] EXAMINE completed 8 FETCH 1,* UID * 1 FETCH
| (UID 5) * 44 FETCH (UID 60) 8 OK FETCH completed 9 STATUS "Mail/spam"
| (UIDNEXT) * NO CLIENT BUG DETECTED: STATUS on selected mailbox:
| Mail/spam * STATUS Mail/spam (UIDNEXT 61) 9 OK STATUS completed 10
| LOGOUT * BYE ......... IMAP4rev1 server terminating connection 10 OK
| LOGOUT completed
`----

,----[ *Messages* ]
| Reading active file from .... via nnimap...
| Opening nnimap server on .........
| imap: Connecting to .......
| Opening TLS connection to `......'...
| Opening TLS connection with `gnutls-cli -p %p %h'...done
| Opening TLS connection to `......'...done
| Waiting for response from ............done
| Parsing authinfo file `~/.authinfo'.
| imap: Authenticating to `.........' using `login'...
| imap: Plaintext authentication...
| imap: Authenticating to `........' using `login'...done
| Opening nnimap server on ..........done
| nnimap: Checking mailboxes...done
`----

The problem is that it only shows a '*' after starting gnus or after 'g'
in the Group Buffer.  I can enter the imap group manually and it shows
the new mail (everything's fine).

My settings:

,----[ .gnus.el ]
| (add-hook 'gnus-select-article-hook 'gnus-agent-fetch-selected-article)
| (setq gnus-agent-expire-days 100)
| 
| (setq gnus-secondary-select-methods 
|       '(
|       (nnfolder "")
|       (nntp "news.gmane.org")
|       (nnimap "...."
|               (nnimap-address "........") 
|               (nnimap-stream tls)
|               (nnimap-list-pattern ("INBOX" "Mail/*"))
|               )
|       ))
`----

Any idea?

Thx
Sebastian


reply via email to

[Prev in Thread] Current Thread [Next in Thread]