[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: newbie splitting mail question
From: |
Richard Riley |
Subject: |
Re: newbie splitting mail question |
Date: |
Thu, 30 Dec 2010 18:58:41 +0100 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux) |
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.