[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problem with BBDB and mail split for gnus-private
From: |
Jose A. Ortega Ruiz |
Subject: |
Problem with BBDB and mail split for gnus-private |
Date: |
Sun, 27 Jun 2004 02:05:55 +0200 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (berkeley-unix) |
Hello.
I'm running BBDB 2.34, Gnus 5.10.6 and Emacs 21.3.1 on FreeBSD 5.2,
and I have the following configuration in my gnus.el in order to split
incoming mail according to my BBDB records:
(setq nnmail-crosspost nil
nnmail-split-methods 'bbdb/gnus-split-method
bbdb/gnus-split-nomatch-function 'nnmail-split-fancy
bbdb/gnus-split-myaddr-regexp gnus-ignored-from-addresses
nnmail-split-fancy
`(| (to "root@.+" "root")
("subject" ".*\\(mix\\|mdk\\|mixvm\\)" "mdk")
(any ,gnus-ignored-from-addresses "mbox")
"spam"))
In addition, I've populated my BBDB records with the requisite
gnus-public (a group name plus a regular expression) and gnus-private
(just a group name) fields.
My problem is that splitting works for gnus-public entries (i.e. mails
whose 'to' matchs one of my records) but all mails whose From: address
is in my BBDB database end up in the "spam" group (which is the
default for unmatched mails), instead of the group indicated in the
corresponding gnus-private field.
Can anyone spot what I am doing wrong?
Thanks a lot for your time.
Best Regards,
jao
--
"Beware of bugs in the above code; I have only proved it correct,
not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Problem with BBDB and mail split for gnus-private,
Jose A. Ortega Ruiz <=