I only use gnus-private, so that I can have per-user sorting, without an
regexp entry for each person in BBDB.

gnus-public will handle mailing lists, but it's intended to override
gnus-private and uses regexps.  You set up rules with it instead of what you
currently have in nnmail-split-fancy, but I don't think it will be any simpler
than your "diplomacy" regexp.

I can't think of a way to simplify your diplomacy regexp.  Anyone else?

You can have both nnmail-split-fancy and bbdb/gnus-split-method.  (That's the
gnus-split-nomatch-function.)  I use the former for mailing lists and the
latter for individuals.

Does this make sense?  Alternately, what would you like gnus-split-method to
do?


Adam



Jack Twilley <[EMAIL PROTECTED]> writes:

> 
> Adam> Search for "from Brian Edmonds" in bbdb-gnus.el
> 
> Adam> To summarize,
> 
> Adam> (setq nnmail-split-methods 'bbdb/gnus-split-method)
> 
> Adam> and add a "gnus-private" field (or "gnus-public" for mailing
> Adam> lists) to your BBDB records.
> 
> Adam> I also added: (setq bbdb/gnus-split-nomatch-function
> Adam> 'nnmail-split-fancy) to catch the rest.
> 
> Okay, this confuses me.
> 
> Here's a way way way stripped down version of my nnmail-split-fancy,
> listing just one mailing list and just one "person".
> 
>  '(| (: nnmail-split-fancy-with-parent)
>      ("mail.gnus-warning" "duplication of messages" "duplicate")
>      (any "jmt\\+usenet@.*"
>         (| ("subject" "re:.*" "mail.misc")
>            ("references" ".*@.*" "mail.misc")
>            "mail.spam"))
>      ;; mailing lists
>      (to "bb@taex001\\.tamu\\.edu" "list.bb")
>      ;; other mail
>      (from "Cron Daemon" "mail.cron")
>      ;; people
>      (from "pesh@net-gate\\.com" "people.Alana_Phelan")
>      ;; companies
>      (any "taos\\.com" "company.taos")
>      ;; diplomacy stuff
>      (from "usef@devel\\.igo\\.org"
>          (| ("subject" "Diplomacy \\(results\\|notice:\\|waiting\\|deadline 
>missed:\\|pending orders\\) \\(\\w+\\)"
>              "diplomacy.usef.\\2")
>             "diplomacy.usef"))
>      (from "usef@devel\\.diplom\\.org"
>          (| ("subject" "Diplomacy \\(results\\|notice:\\|waiting\\|deadline 
>missed:\\|pending orders\\) \\(\\w+\\)"
>              "diplomacy.usef.\\2")
>             "diplomacy.usef"))
>      (from "judge@chorn\\.com"
>          (| ("subject" "Diplomacy \\(results\\|notice:\\|waiting\\|deadline 
>missed:\\|pending orders\\) \\(\\w+\\)"
>              "diplomacy.usch.\\2")
>             "diplomacy.usch"))
>      ;; and everything else...
>      (to "jmt" "mail.misc")
>      "mail.spam")
> 
> It appears that bbdb/gnus-split-method would only apply to "mailing
> lists" (maybe, I think), "other mail", "people", and possibly
> "companies".  However, I don't see it properly handling the diplomacy
> stuff or the spam-filtering stuff.
> 
> How do I keep all the functionality and get a smaller list?
> 
> Adam> Adam
> 
> Jack.
> (currently working on cleaning up the diplomacy stuff.)

_______________________________________________
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

Reply via email to