info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: nnimap splitting emacs 24, does not split


From: Damon Haley
Subject: Re: nnimap splitting emacs 24, does not split
Date: Tue, 03 Jul 2012 08:54:03 -0600
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.1 (gnu/linux)

pramble@xemaps.com writes:

Hi,

If you're using fancy splitting with the gnus that ships with emacs 24,
you probably just need to configure these three variables:


(setq nnimap-split-methods 'nnmail-split-fancy)
(setq nnmail-split-abbrev-alist
      '((any . 
"from\\|to\\|cc\\|sender\\|apparently-to\\|resent-from\\|resent-to\\|resent-cc")
        (mail . "mailer-daemon\\|postmaster\\|uucp")
        (to . "to\\|cc\\|apparently-to\\|resent-to\\|resent-cc")
        (from . "from\\|sender\\|resent-from")
        (daemon-errors . "Cron daemon\\|mailer-daemon")
        (list . "list-id\\|x-mailing-list\\|to\\|cc\\|sender")))


(setq nnmail-split-fancy
      '(| ("from" mail (| ("subject" "warn.*" "mail.warning")
                          "mail.misc"))
          (& (|
              (any "ding@gnus.org" "list.ding")
                ("subject" "ding" "ding.misc"))
             ;; Other mailing lists...
             ("list-id" "conkeror\\.mozdev\\.org" "list.conkeror")
             (any "infosecnews" "list.infosecnews")
             (any "orgmode" "list.orgmode")
             (any "emacs-orgmode" "list.orgmode")
             (any "bbdb-info"  "list.bbdb-info")
             (any "info-gnus" "list.info-gnus")
             (any "emacs-devel" "list.emacs-devel")
             )
          "INBOX.mail.unsorted"))

In a nutshell, gnus got rid of the old nnimap-split-fancy function (used
in Emacs 23), so you now need to use nnmail-split-fancy with nnimap.

Damon

               
> After upgrading from emacs 23 to 24, nnimap splitting does not split.
> Sorry if this sounds vague, but I would be so grateful for pointers as
> to where to start looking.
> From the customize buffer, the relevant parts look like the section
> below. I only post this, hoping it is more readable than the lines
> from my .emacs file.
>
> I have no problem collecting mail from three imap servers. Everything
> simply goes into my INBOX.
>
> I do not expect anybody to fix this for me, but do not hesitate to
> tell me which variables I should set to get some more information.
> I did have "default" before the start of the list below, but that did
> not make any difference.
> Many thanks for any advice.
>
> Gnus Secondary Select Methods:
> INS DEL Select Method:
>             Method: Value Menu nnimap
>             Address: muenchen
>             Options:
>             INS DEL Variable: nnimap-address
>                         Value: "mailhost.uni-blah.de"
>             INS DEL Variable: nnimap-server-port
>                         Value: 993
>             INS DEL Variable: nnimap-stream
>                         Value: ssl
>             INS DEL Variable: nnimap-inbox
>                         Value: "INBOX"
>             INS DEL Variable: nnimap-split-methods
>                         Value:
> (("INBOX.moocow" "From:.*moocow*")
>  ("INBOX.spam" "from:.*knauer.net")
>  ("INBOX.spam" "subject: .*symposium on neural networks"))
> _______________________________________________
> info-gnus-english mailing list
> info-gnus-english@gnu.org
> https://lists.gnu.org/mailman/listinfo/info-gnus-english
>

-- 
Damon K. Haley ಠ_ಠ
e-mail: d k h @ member.fsf.org
jabber: vinylisl @ jabber.sdf.org
thaweb: vinylisland.org (including pgp sig, irc handle)
    
    



reply via email to

[Prev in Thread] Current Thread [Next in Thread]