Gnus development mailing list
 help / color / mirror / Atom feed
* splitting working now : some issues/questions
@ 2010-10-07  7:28 Richard Riley
  2010-10-07 20:02 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 19+ messages in thread
From: Richard Riley @ 2010-10-07  7:28 UTC (permalink / raw)
  To: nognus


My splitting is now working. Before I ask Qs, heres the essense of my
setup now.

  
,----
|   (setq spam-use-bogofilter t)
|   (setq spam-use-blackholes t)
|   
|   (require 'spam)  ; ** (1)
|   (spam-initialize)
|   
|   (setq nnimap-inbox "INBOX")
|   (setq nnimap-split-methods 'default)
|   (setq nnimap-split-download-body t)
|   
|   (setq nnmail-split-fancy '(|(: spam-split)"mail")) ; ** (2)
|   (setq nnmail-split-methods 'nnmail-split-fancy)
|   
|   (setq spam-autodetect-recheck-messages nil)
|   (setq spam-mark-ham-unread-before-move-from-spam-group t)
|   (setq spam-mark-new-messages-in-spam-group-as-spam t)
|   (setq spam-split-group "Gnus-Spam")
|   
|   (setq spam-split-disabled nil)
|   
|   (setq gnus-select-method '(nnml ""
|                                   (nnmail-split-methods nil)
|                                   ))
|   
|   (setq gnus-secondary-select-methods nil)
|   
|   (add-to-list 'gnus-secondary-select-methods
|                '(nnimap "riley"
|                         (nnir-search-engine imap) ; ** (3)
|                         (nnimap-address "offlineimap")
|                         ))
`----

I have numbered the 3 points I have Qs and comments about. 

(1) : mea culpa. because of a reorg of my startup files gnus was being
initialized before these two lines. There was no obvious error however
and bogofilter filtering still occurred. But often fell over with no
obvious reasons. Possibly something could be added to warn the user
inside spam.el? Certainly loading gnus after this removed a lot of
problems.

(2) This was a major issue. I dont or didnt really want to move my mail
from INBOX (which maps to my gmail inbox). However setting the final
clause to "INBOX" saw ALL mail processed each and very time as if it was
unread. Possibly something else triggered this but I couldnt find the
setting. Now mail is processed and moved in to "mail" there are no
problems since INBOX only contains NEW mail now. This is different than
how it worked for me in normal Gnus,

(3) Its unclear to me (a novice elisper) when one must pass values as
part of the select. Using things like the nnimap variables as an example
I had assumed this line was unnecessary if I had earlier something like

(setq nnir-search-engine 'imap)

However nnir was not enabled for the select method. Could someone please
explain this.

But the bottom line is that it now works. I *think* something has
changed with regard to it always processing all messages in the INBOX -
it didnt do it before for me but I am happy enough with the stop gap
measure of placing all processed mails into "mail" for the time being
where it is not processed further.

Powerful but heady stuff.



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

end of thread, other threads:[~2010-10-11 13:55 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-07  7:28 splitting working now : some issues/questions Richard Riley
2010-10-07 20:02 ` Lars Magne Ingebrigtsen
2010-10-08 14:46   ` Richard Riley
2010-10-08 17:30     ` Ted Zlatanov
2010-10-09 15:57       ` Lars Magne Ingebrigtsen
2010-10-10  0:38         ` Richard Riley
2010-10-10  1:09           ` Richard Riley
2010-10-10  6:13             ` Ted Zlatanov
2010-10-10  6:57               ` Richard Riley
2010-10-10  8:46                 ` Ted Zlatanov
2010-10-10 10:17                   ` Richard Riley
2010-10-10 13:38                     ` Andreas Schwab
2010-10-10 14:35                       ` Richard Riley
2010-10-10 15:04                     ` Ted Zlatanov
2010-10-10 16:28                       ` Richard Riley
2010-10-11 13:37                         ` Ted Zlatanov
2010-10-11 13:55                           ` Richard Riley
2010-10-10  7:27           ` Richard Riley
2010-10-10 11:10             ` Richard Riley

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