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

nnimap not updating ACTIVE file?




I am using pgnus v0.96 and nnimap 0.130.
SunOS tara 5.6 Generic_105181-12 sun4u sparc SUNW,Ultra-2

nnimap seems to work fine and it deposits mail in
/home/babus/Mail/.
I verified by looking at the INBOX.* files.

gnus lists the folders INBOX.self etc. But when I type 'g',
it doesn't show the new mail that I know is in INBOX.self.
It just shows a *. The ACTIVE file doesn't get updated.
But if I enter INBOX.self, quit it
and type a 'g', it sometimes works (shows 1 instead of *).
When it works I can see that the ACTIVE file is updated.

I even tried going to the server buffer and typed g on
'nnfolder:/home/babus/Mail' to re-generate but it doesn't
help.


When I type ^Ug, it says "nnimap: Generating active list for shorter..."
and it doesn't finish even after 2 minutes. I have to type ^G to abort.

Also what is the format of the ACTIVE file
  INBOX.junk 5 2 y
  INBOX.bugid 1 1 y
What do the second and third fields represent?


The group buffer appears like this
       0: nnfolder+/home/babus/Mail/:INBOX.avweb
       4: nnfolder+/home/babus/Mail/:INBOX.junk
How can I make it appear like this?
       0: INBOX.avweb
       4: INBOX.junk


Any pointers would be much appreciated.

Thanks,
Babu Srinivasan.




------------------------------------------------------------
Server buffer contents:
     {nnfolder:archive} (closed)
     {nntp:engnews2} (closed)
     {nnfolder:/home/babus/Mail/} (opened)
     {nnimap:shorter} (opened)
     {nntp:engnews2.eng.sun.com} (opened)
------------------------------------------------------------

------------------------------------------------------------
My .gnus file

(setq load-path
      (cons (expand-file-name "/export/home2/nnimap-0.130") load-path))
(require 'nnimap)


(define-key gnus-summary-mode-map "D" 'gnus-summary-delete-article)
(define-key gnus-summary-mode-map "o" 'gnus-summary-save-article-vm)

(setq mail-default-reply-to "babu.srinivasan@eng.sun.com")
(setq gnus-permanently-visible-groups "INBOX.*")

(setq gnus-single-article-buffer nil)

(setq gnus-auto-select-first nil)
(setq gnus-novice-user nil)
(setq gnus-expert-user nil)

(setq gnus-nntp-server nil)

(setq gnus-select-method '(nntp "engnews2.eng.sun.com"))

(setq nnfolder-directory "/home/babus/Mail/")
(setq nnfolder-active-file "/home/babus/Mail/ACTIVE")

(setq gnus-secondary-select-methods
      '( (nnimap "shorter"
      	          (nnimap-address "shorter.eng")
		  (nnimap-server-port 143)
	          (nnimap-split-inbox "inbox")
         )
	 (nnfolder "/home/babus/Mail/")
      )
)

(setq nnfolder-get-new-mail nil)
(setq gnus-read-active-file 'some)
(setq nnimap-split-crosspost nil)      

(setq nnimap-split-rule
        '(
          ("Mail/INBOX.spam"          "^Subject:.*MONEY")
	  ("Mail/INBOX.self"        "^From:.*babu")


	("Mail/INBOX.zdnet" "From:.*Jesse.*AnchorDesk")
	("Mail/INBOX.zdnet" "From:.*ZDNN")
	("Mail/INBOX.info" "From:.*bookshelf@mcp")

	("Mail/INBOX.junk" "Subject:.*ShowMe")
	("Mail/INBOX.junk" "Subject:.*showme")
	("Mail/INBOX.junk" "To:.*ShowMe")
	("Mail/INBOX.junk" "To:.*showme")
	("Mail/INBOX.junk" "From:.*ShowMe")
	("Mail/INBOX.junk" "From:.*showme")

	("Mail/INBOX.press" "From:.*press@relations")

	("Mail/INBOX.codemgr" "Subject:.*Code Manager notification")
	("Mail/INBOX.build" "Subject:.*Build.*jmf2")
        ("Mail/INBOX.bugid" "Subject:.*BugId")
	("Mail/INBOX.avflash" "From:.*AVflash@avweb.com")
	("Mail/INBOX.avweb" "From:.*AVWeb")
	("Mail/INBOX.emacs" "To:.*emacs@")

        ("Mail/INBOX.rest"       "")))


(setq gnus-local-domain "Eng.Sun.COM")
(setq gnus-use-generic-from "Eng.Sun.COM")
(setq gnus-user-login-name "Babu.Srinivasan")
(setq gnus-local-organization "Sun Microsystems, Inc.")

;(setq gnus-summary-expunge-below -100)
------------------------------------------------------------