Gnus development mailing list
 help / color / mirror / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
To: ding@gnus.org
Subject: Re: splitting, spam-split
Date: Wed, 19 Jan 2011 15:53:01 -0600	[thread overview]
Message-ID: <87sjwopnlu.fsf@lifelogs.com> (raw)
In-Reply-To: <xa7heh2dn6.fsf@news.eternal-september.org>

On Fri, 07 Jan 2011 11:48:13 +0100 Richard Riley <rileyrg@googlemail.com> wrote: 

RR> I've posted my set up and a backtrace a few times now but still no
RR> pointer to getting it working.  Possibly someone else using spam-split
RR> could post their nnimap and nnmail split settings?

My foreign server method:

(nnimap "lifelogs.com"
        (nnimap-address "imap.lifelogs.com")
        (nnimap-server-port 993)
        (nnimap-inbox "INBOX")
        (nnimap-split-methods nnimap-courier-lifelogs-split-fancy)
        (nnimap-stream ssl))

This is in my gnus.el:

(defun nnimap-courier-lifelogs-split-fancy ()
  (let ((nnmail-split-fancy nnimap-courier-lifelogs-split-fancy)
        (spam-split-group "INBOX.spam"))
    (nnmail-split-fancy)))

(setq
 nnimap-split-inbox "INBOX"
 nnimap-courier-lifelogs-split-fancy '(|
                      (: gnus-registry-split-fancy-with-parent)
                      (: spam-split 'spam-use-regex-headers)
                      ;; folder rules here
                      (any "spamassassin" "INBOX.sa")
                      ;; folder rules end
                      (: spam-split)
                      ;; default mailbox
                      "INBOX.mail"))

Sorry if I'm posting bogus info, but I believe this works for me.

Ted




      reply	other threads:[~2011-01-19 21:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-07 10:48 Richard Riley
2011-01-19 21:53 ` Ted Zlatanov [this message]

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=87sjwopnlu.fsf@lifelogs.com \
    --to=tzz@lifelogs.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).