Gnus development mailing list
 help / color / mirror / Atom feed
From: Richard Riley <rileyrg@googlemail.com>
To: nognus <ding@gnus.org>
Subject: splitting working now : some issues/questions
Date: Thu, 07 Oct 2010 09:28:06 +0200	[thread overview]
Message-ID: <u4pqvmjwc9.fsf@news.eternal-september.org> (raw)


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.



             reply	other threads:[~2010-10-07  7:28 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-07  7:28 Richard Riley [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=u4pqvmjwc9.fsf@news.eternal-september.org \
    --to=rileyrg@googlemail.com \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).