Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Richard Riley <rileyrg@googlemail.com>
To: info-gnus-english@gnu.org
Subject: Re: newbie splitting mail question
Date: Thu, 30 Dec 2010 18:58:41 +0100	[thread overview]
Message-ID: <ifih8h$32s$1@quimby.gnus.org> (raw)
In-Reply-To: <mailman.6.1293727811.6961.info-gnus-english@gnu.org>

Tyler Smith <tyler.smith@eku.edu> writes:

> Hi,
>
> I've just got gnus configured to read my mail via IMAP. Looks good, but
> I'm having trouble figuring out the syntax for splitting mail. Nothing
> gets split now, and when I run B q on any email, the message returned
> indicates it would be refiled to mail.misc, which doesn't exist as far
> as I can tell. I've pasted all of my gnus config details below. Can
> anyone tell me what I'm doing wrong?
>
> Thanks,
>
> Tyler
>
> ;; loaded from my .emacs.d/init.el via (load "~/.emacs.d/gnus")
>
> (add-hook 'gnus-group-mode-hook 'gnus-topic-mode)
>
> (setq gnus-select-method 
>       '(nnimap "mail"
> 		(nnimap-address "MY-IMAP-SERVER")
> 		(nnimap-stream network)
> 		(nnimap-authenticator login)
> 		(nnimap-port 143)
> 		(nnimap-split-methods 
> 		 '(("INBOX.forwarded" "^Received:.*OLD.SERVER")
> 		   ("INBOX.default" "")))))
>
> (setq gnus-secondary-select-methods '((nntp "news.gmane.org")))
>
> (defun my-gnus-summary-hook ()
>   (local-set-key "t" 'gnus-summary-mark-as-processable))
>
> (add-hook 'gnus-summary-mode-hook 'my-gnus-summary-hook)
>
> (setq gnus-posting-styles
>        '(("*"    ; Matches all groups of messages
>           (address "my.email.address@myschool.edu")
>           (name "My Name"))))
>
> (setq nnimap-split-inbox "INBOX")
> (setq nnimap-split-predicate "UNDELETED")
>

I would be interested in this too. My imap splitting doesnt work with
spam-split anymore. Unfortunately I haven't seen a working version
posted ;(

Did you try using, and excuse my poor elisp/gnus terminology, all
"globals" instead of passing them to gnus-select-method? The manual
isn't very clear about whats best or the differences.

       reply	other threads:[~2010-12-30 17:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.6.1293727811.6961.info-gnus-english@gnu.org>
2010-12-30 17:58 ` Richard Riley [this message]
2010-12-30 18:42   ` Tyler Smith
2010-12-30 16:41 Tyler Smith
2010-12-31 10:46 ` Alberto Luaces

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='ifih8h$32s$1@quimby.gnus.org' \
    --to=rileyrg@googlemail.com \
    --cc=info-gnus-english@gnu.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).