Now I am trying to use gnus to handle my mails, but I have some problem with imap in gnus.
The problem is as following, a little strange:
First, my simple `gnus.el' is only for mail:
--------------------------------------------------
(setq user-mail-address "foo@bar.org"
user-full-name "blahblah")
(setq gnus-select-method '(nnimap "imap.bar.org"
(nnimap-server-port 143)
(nnimap-authenticator login)
(nnimap-stream network)
))
--------------------------------------------------
When I press M-x gnus in emacs, a user&password pair will be required. That's ok, just for test.
After the startup of gnus I get *Server* buffer like this by pressing `^' :
------------------------------------
{nnfolder:archive} (closed)
{nndraft:} (opened)
{nnimap:imap.bar.org} (opened)
-------------------------------------
Then I go into {nnimap:imap.bar.org} and subscribe `INBOX' group and return to *Group* buffer like this:
-------------------------------
1: INBOX
0: nndraft:drafts
-------------------------------
Everything seems ok, ;-), and I get one new mail in INBOX, right?
But when I press `enter' on the line `1: INBOX', waiting for a second or two, and after something splashing in minibuffer(Updating !@#$%^& ), the *Group* buffer becomes:
-------------------------------
0: INBOX
0: nndraft:drafts
-------------------------------
Where is my new mail? I have checked my mailbox from webmail, and the unread flag have been cleared, so the new mail has been read, but actually I don't even touch it.
And the output of *imap-log* buffer is like this:
--------------------------------------------------------------
63 SELECT "INBOX"
* 18 EXISTS
* 0 RECENT
* FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
* OK [UNSEEN 1] Message 17 is first unseen
* OK [PERMANENTFLAGS (\Deleted \Seen \*)] Limited
* OK [UIDVALIDITY 1] UIDs valid
63 OK [READ-WRITE] SELECT completed
64 UID SEARCH UID 81
* SEARCH
64 OK UID SEARCH completed
65 UID FETCH 81 (UID RFC822.SIZE BODY BODY.PEEK[HEADER.FIELDS (Subject From Date Message-Id References In-Reply-To Xref)])
* 18 FETCH (UID 81 RFC822.SIZE 640 BODY ("text" "plain" ("format" "flowed" "delsp" "yes" "charset" "gbk") NIL NIL "8bit" 82) BODY[HEADER.FIELDS (Subject From Date Message-Id References In-Reply-To Xref)] {167}
Subject: 999999
From: "blahblah" <foo@bar.org>
FROM:
foo@bar.org
Date: Sat, 21 Aug 2004 15:27:28 +0800
Message-ID: <opsc2mz2e0w0inp9@localhost>
)
65 OK UID FETCH completed
66 UID STORE 81 +FLAGS (\Seen)
* 18 FETCH (FLAGS (\Flagged \Seen))
66 OK UID STORE completed
67 EXPUNGE
67 OK EXPUNGE completed
68 CLOSE
68 OK CLOSE completed
-------------------------------------------------------------------
I guess it is a small & silly question, but it is really annoying. I have searched google and read most of gnus manual, but it seems only this problem kisses me. Why?
Any suggestions and advice? Thank you very much.
BHW: Could somebody forward this message to the newsgroup of gnus and post the answer here for me. For some reason I temporarily cannot post messages in newsgroup( I can read, ;-( )