Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* imap and agent: no check for new mail with 'g'
@ 2006-12-18 12:31 Sebastian Schubert
  2006-12-20 11:23 ` Sebastian Schubert
  0 siblings, 1 reply; 2+ messages in thread
From: Sebastian Schubert @ 2006-12-18 12:31 UTC (permalink / raw)


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

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

* Re: imap and agent: no check for new mail with 'g'
  2006-12-18 12:31 imap and agent: no check for new mail with 'g' Sebastian Schubert
@ 2006-12-20 11:23 ` Sebastian Schubert
  0 siblings, 0 replies; 2+ messages in thread
From: Sebastian Schubert @ 2006-12-20 11:23 UTC (permalink / raw)


Sebastian Schubert <sebastian-schubert@gmx.de> writes:

> I use IMAP with the agent (no problem without agent on that server!).
> The connection works:

...

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


I solved my problem.  I included a white space in the name of the nnimap
secondary select method.  You have to decide whether this is just stupid
behaviour or gnus' problem is a bug.

Thx

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

end of thread, other threads:[~2006-12-20 11:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-12-18 12:31 imap and agent: no check for new mail with 'g' Sebastian Schubert
2006-12-20 11:23 ` Sebastian Schubert

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