Hello
I am using gnus+bbdd+spam-split
As you may be know gnus comes with the nnimap-split-fancy backend that
allows to use bbdb as a white list.
A typical setting is:
(setq
nnimap-split-rule 'nnimap-split-fancy
nnimap-split-inbox "INBOX"
nnimap-split-fancy '(|
(: spam-split)
"MAILBOX"))
(setq spam-use-BBDB-exclusive t)
(setq spam-use-BBDB t)
Now it turns out, that bbdb does not well distinguish between
capitalised and non capitalised letters before the @.
That is
That is
[EMAIL PROTECTED]
Will not be recognised, by the bbdb based splitting method (however
when applying bbdb/gnus-show-sender the address is correctly
associated with the bbdb entry) , even if I put it explicitly in the
bbdb database like this
Net: [EMAIL PROTECTED]
But
[EMAIL PROTECTED]
Will be recognised either with
Net: [EMAIL PROTECTED]
or
Net: [EMAIL PROTECTED]
I discussed this with Ted Zlatanov, who actually maintains spam.el of
gnus and he told me that the bbdb based splitting method uses
(bbdb-search-simple nil who)
(Bbdb/gnus-show-sender seem not to use this function.)
Now can the bbdb code changed such that the search is more
intelligent.
For me the problem is to get quite some people of my BBDB as false
positives this way.
Thanks
Uwe Brauer
Emacs : XEmacs 21.4 (patch 15) "Security Through Obscurity" [Lucid]
(i386-debian-linux) of Sat Oct 23 2004 on penell
Package: BBDB 2.35
current state:
==============
(setq
emacs-version "21.4 (patch 15) \"Security Through Obscurity\" XEmacs Lucid"
bbdb-version-date "$Date: 2003/01/31 13:00:56 $"
bbdb-file-format 6
bbdb-no-duplicates-p nil
bbdb-addresses-label-list '("Home" "Office" "Mobile" "Other")
bbdb-after-change-hook '(bbdb/gnus-score-invalidate-alist)
bbdb-after-read-db-hook nil
bbdb-always-add-addresses nil
bbdb-auto-notes-alist '(("X-Face" (".+" face 0 (quote replace)))
("Face" (".+" cface 0 (quote
replace))))
bbdb-auto-revert-p nil
bbdb-canonicalize-net-hook nil
bbdb-canonicalize-redundant-nets-p t
bbdb-case-fold-search t
bbdb-change-hook '(spam-clear-cache-BBDB bbdb-timestamp-hook)
bbdb-completion-display-record t
bbdb-completion-type nil
bbdb-create-hook 'bbdb-creation-date-hook
bbdb-csv-export-fields '((web\.de ("nickname" mail-alias) ("Vorname" firstname)
("Nachname" lastname)
("Stra�e privat" street "home")
("Postleitzahl privat" zip
"home")
("Ort privat" city "home")
("Staat privat" country
"home") ("Geburtstag" birthday)
("Notizen" notes)
("Web-Seite" www)
("E-Mail-Adresse" email)
("E-Mail 2: Adresse" email 1)
("Telefon privat" phone
"home")
("Telefon gesch�ftlich"
phone "job")
("Mobilfunktelefon" phone
"mobile")
("Fax privat" phone "home
fax"))
(mozilla-1\.7 ("First"
firstname) ("Last" lastname)
("Display" firstname)
("Nickname" mail-alias)
("email" email) ("add email"
email 1) ("work" tel)
("home" tel 1) ("fax")
("pager") ("mobil") ("address1")
("address2") ("city" city)
("state") ("zip") ("country")
("add1") ("add2") ("city")
("state") ("zip") ("country")
("title") ("department")
("org") ("http://webpage" www)
("http://webpage" www) (" "
www) (" " www) (" " www)
("custom1" birthday)
("custom2" anniversary)
("custom3" hochzeit)
("custom4" url) ("Notes" notes))
(gmx\.de ("nickname"
mail-alias) ("Vorname" firstname)
("Nachname" lastname)
("Stra�e privat" street "home")
("Postleitzahl privat" zip
"home")
("Ort privat" city "home")
("Staat privat" country
"home") ("Geburtstag" birthday)
("Notizen" notes)
("Web-Seite" www)
("E-Mail-Adresse" email)
("e-mail-2-Adresse" email 1)
("Telefon privat" phone
"home")
("Telefon gesch�ftlich"
phone "job")
("Mobilfunktelefon" phone
"mobile")
("Fax privat" phone "home
fax"))
(outlook-german ("Vorname"
firstname)
("Nachname" lastname)
("Geburtstag" birthday)
("Kategorien" dir)
("E-Mail-Adresse" email)
("E-Mail 2: Adresse" email
1) ("Webseite" www)
("Stra�e privat" street
"home")
("Postleitzahl privat" zip
"home")
("Ort privat" city "home")
("Land privat" country
"home")
("Telefon privat" phone
"home")
("Fax privat" phone "home
fax")
("Mobiltelefon" phone
"mobile")
("Telefon gesch�ftlich"
phone "job") ("Notizen" notes))
(outlook ("Title") ("First
Name" firstname)
("Middle Name") ("Last Name"
lastname) ("Suffix")
("Company" company)
("Department") ("Job Title")
("Business Street" street
"Office")
("Business Street 2")
("Business Street 3")
("Business City" city
"Office")
("Business State" state
"Office")
("Business Postal Code" zip
"Office")
("Business Country" country
"Office")
("Home Street" street
"Home") ("Home Street 2")
("Home Street 3") ("Home
City" city "Home")
("Home State" state "Home")
("Home Postal Code" zip
"Home")
("Home Country" country
"Home")
("Other Street" street (not
"Home\\|Office"))
("Other Street 2") ("Other
Street 3")
("Other City" city (not
"Home\\|Office"))
("Other State" state (not
"Home\\|Office"))
("Other Postal Code" zip
(not "Home\\|Office"))
("Other Country" country
(not "Home\\|Office"))
("Assistant's Phone")
("Business Fax" phone "Fax")
("Business Phone" phone
"Office")
("Business Phone 2" phone
"Office" 1)
("Business Phone 3" phone
"Office" 2) ("Callback")
("Car Phone") ("Company Main
Phone") ("Home Fax")
("Home Phone" phone "Home")
("Home Phone 2" phone "Home"
1) ("ISDN")
("Mobile Phone" phone "Cell")
("Mobile Phone 2" phone
"Cell" 1)
("Mobile Phone 3" phone
"Cell" 2) ("Other Fax")
("Other Phone" phone (not
"Fax\\|Home\\|Cell\\|Office"))
("Other Phone 2" phone
(not
"Fax\\|Home\\|Cell\\|Office") 1)
("Other Phone 3" phone
(not
"Fax\\|Home\\|Cell\\|Office") 2)
("Pager")
("Primary Phone" phone
("home" "mobile" "job"))
("Radio Phone") ("TTY/TDD
Phone") ("Telex") ("Account")
("Anniversary")
("Assistant's Name")
("Billing Information")
("Birthday")
("Categories" mail-alias)
("Categories 2" mail-alias 1)
("Categories 3" mail-alias 2)
("Categories 4" mail-alias
3) ("Children")
("Directory Server")
("E-mail Address" email)
("E-mail Display Name")
("E-mail 2 Address" email 1)
("E-mail 2 Display Name")
("E-mail 3 Address" email 2)
("E-mail 3 Display Name")
("Gender")
("Government ID Number")
("Hobby") ("Initials")
("Internet Free Busy")
("Keywords") ("Language")
("Location") ("Manager's
Name") ("Mileage")
("Notes" notes) ("Office
Location")
("Organizational ID Number")
("PO Box") ("Priority")
("Private") ("Profession")
("Referred By" aka)
("Sensitivity") ("Spouse")
("User 1") ("User 2")
("User 3") ("User 4") ("Web
Page" www))
(kde3\.1-german
("Formatierter Name")
("Nachname" lastname)
("Vorname" firstname)
("Zus�tzliche Namen")
("Titel-Abk. (vorn)")
("Titel-Abk. (hinten)")
("Spitzname" aka)
("Geburtstag" birthday)
("Stra�e (Privatadresse)"
street "home")
("Ort (Privatadresse)" city
"home")
("Region (Privatadresse)"
state "home")
("Postleitzahl
(Privatadresse)")
("Land (Privatadresse)"
country "home")
("Aufkleber (Privatadresse)")
("Stra�e (Firmenadresse)"
street "job")
("Ort (Gesch�ftsadresse)"
city "job")
("Region (Gesch�ftsadresse)"
state "job")
("Postleitzahl
(Firmenadresse)" zip "job")
("Land (Firmenadresse)"
country "job")
("Aufkleber
(Gesch�ftsadresse)")
("Privattelefon" phone
"home")
("Telefon (gesch�ftlich)"
phone "job")
("Mobiltelefon" phone
"mobile")
("Fax (privat)" phone "home
fax")
("Fax (gesch�ftlich)" phone
"job fax") ("Autotelefon")
("ISDN") ("Pager")
("Mail-Adresse" email)
("Mail-Programm") ("Titel")
("Rolle")
("Organisation/Firma"
company) ("Notiz" notes)
("Adresse") ("Abteilung")
("Beruf")
("Name des Assistenten")
("Name des Managers")
("Name des Ehegatten")
("B�ro") ("IM-Adresse")
("Jubil�um"))
)
bbdb-csv-export-file "~/bbdb.csv"
bbdb-csv-export-newline "
\n"
bbdb-csv-export-type 'mozilla-1\.7
bbdb-default-area-code nil
bbdb-default-country "Emacs"
bbdb-default-domain nil
bbdb-default-label-list '("Home" "Office" "Mobile" "Other")
bbdb-define-all-aliases-field 'mail-alias
bbdb-define-all-aliases-mode 'first
bbdb-display-layout 'multi-line
bbdb-display-layout-alist '((one-line (order phones mail-alias net notes)
(name-end . 24)
(toggle . t)
(omit last-access
permanent))
(multi-line (omit
creation-date timestamp last-access)
(toggle . t))
(pop-up-multi-line
(omit last-access permanent))
(full-multi-line))
bbdb-dwim-net-address-allow-redundancy t
bbdb-electric-p nil
bbdb-expire-this-old 7
bbdb-extract-address-component-handler 'message
bbdb-extract-address-component-ignore-regexp
"\\(\\(undisclosed\\|unlisted\\)[^,]*recipients\\)\\|no To-header on input"
bbdb-extract-address-component-regexps '(("\"\\([^\"]*\\)\"\\s-*<\\([^>]+\\)>"
(car
(mail-extract-address-components
(concat "\"" (match-string 1 adstring)
"\"")
)
)
2)
("\\([^<>, ][^<>,]+[^<>, ]\\)\\s-*<\\([^>]+\\)>" 1 2)
("<\\([^>,]+\\)>" nil 1)
("\\(\\b[^<\",()]+\\b\\)\\s-*(\\([^)]+\\))"
(car
(mail-extract-address-components
(concat
"\""
(match-string 2 adstring)
"\"")
)
)
1)
("\\b\\(\\([^@ \n.]+\\.[^@ \n.]+\\)@[^@ \n]+\\)\\b"
(car
(mail-extract-address-components
(concat
"\""
(match-string 2 adstring)
"\"")
)
)
1)
("\\b\\(\\([^@ \n]+\\)@[^@ \n]+\\)\\b" nil 1)
("\\b\\([^@ \n]+\\)\\b" nil 1))
bbdb-file "~/.bbdb"
bbdb-file-remote nil
bbdb-file-remote-save-always t
bbdb-finger-host-field 'finger-host
bbdb-get-addresses-headers '((authors "From" "Resent-From" "Reply-To")
(recipients
"Resent-To" "Resent-CC" "To" "CC" "BCC"))
bbdb-get-only-first-address-p t
bbdb-gui t
bbdb-hashtable-size 1021
bbdb-ignore-most-messages-alist nil
bbdb-ignore-selected-messages-confirmation nil
bbdb-ignore-some-messages-alist nil
bbdb-info-file nil
bbdb-initialize-hook nil
bbdb-list-hook nil
bbdb-load-hook nil
bbdb-message-caching-enabled t
bbdb-message-marker-field 'mark-char
bbdb-mode-hook '(my-bbdb-keys)
bbdb-new-nets-always-primary nil
bbdb-north-american-phone-numbers-p t
bbdb-notes-default-separator ", "
bbdb-notes-sort-order '((notes . 0) (www . 1) (ftp . 2) (gopher . 3) (telnet .
4)
(mail-alias . 5) (mail-folder
. 6) (lpr . 7)
(creation-date . 1000)
(timestamp . 1001))
bbdb-notice-auto-save-file nil
bbdb-notice-hook '(bbdb-expire-make-permanent
bbdb-expire-update-last-access-time
bbdb-auto-notes-hook
bbdb/vm-auto-add-label)
bbdb-offer-save t
bbdb-phones-label-list '("Home" "Office" "Mobile" "Other")
bbdb-pop-up-display-layout 'pop-up-multi-line
bbdb-pop-up-target-lines 5
bbdb-print-alist '((omit-area-code . "^(000) ")
(phone-on-first-line . "^[ ]*$")
(ps-fonts) (font-size . 6)
(quad-hsize . "3.15in") (quad-vsize .
"4.5in"))
bbdb-print-brief-alist '((columns . 1) (separator . 1) (n-phones . 2)
(n-addresses . 1)
(include-files
"bbdb-print-brief" "bbdb-cols"))
bbdb-print-epilog "\\endaddresses\n\\bye\n"
bbdb-print-file-name "~/bbdb.tex"
bbdb-print-full-alist '((columns . 3) (separator . 2)
(include-files "bbdb-print"
"bbdb-cols"))
bbdb-print-latex-list-field 'dir
bbdb-print-latex-list-predicate ".*"
bbdb-print-latex-list-table '(("[rp]" . "Robert Widhopf")
("[bp]" . "Birgit
Widhopf")
("[rbp]" . "Birgit
\\& Robert Widhopf")
("." .
"\\Birgit \\&
Robert Widhopf \\(Alle Adressen)")
)
bbdb-print-net 'primary
bbdb-print-omit-fields '(omit tex-name aka mail-alias)
bbdb-print-prolog "%%%% ====== Phone/Address list in -*-TeX-*- Format
=====\n%%%% produced by bbdb-print, version 3.0\n\n"
bbdb-print-require '(or address phone)
bbdb-quiet-about-name-mismatches nil
bbdb-readonly-p nil
bbdb-refile-notes-default-merge-function
'bbdb-refile-notes-default-merge-function
bbdb-refile-notes-generate-alist '((last-access .
bbdb-refile-notes-string-most)
(permanent . bbdb-refile-notes-string-most)
(creation-date . bbdb-refile-notes-string-least)
(timestamp . bbdb-refile-notes-string-most))
bbdb-save-db-timeout nil
bbdb-send-mail-style 'vm
bbdb-silent-running nil
bbdb-use-alternate-names t
bbdb-user-mail-names "\\boub\\b"
bbdb-write-file-hooks '(bbdb-write-file-hook-fn)
bbdb/gnus-lines-and-from-length 18
bbdb/gnus-split-crosspost-default nil
bbdb/gnus-split-default-group "mail.misc"
bbdb/gnus-split-myaddr-regexp "^oub$\\|[EMAIL
PROTECTED]([-a-z0-9]+\\.\\)*Gilgamesch$"
bbdb/gnus-split-nomatch-function nil
bbdb/gnus-split-private-field 'gnus-private
bbdb/gnus-split-public-field 'gnus-public
bbdb/gnus-summary-mark-known-posters t
bbdb/gnus-summary-show-bbdb-names t
bbdb/mail-auto-create-p t
bbdb/news-auto-create-p nil
bbdb/send-auto-create-p t
bbdb/send-auto-notes-alist nil
bbdb/send-ignore-most-messages-alist nil
bbdb/send-ignore-some-messages-alist nil
bbdb/send-notice-hook nil
bbdb/send-prompt-for-create-p t
bbdb/vm-auto-add-label-field 'mail-alias
bbdb/vm-auto-add-label-list nil
bbdb/vm-set-auto-folder-alist-field 'vm-folder
bbdb/vm-set-auto-folder-alist-headers '("From:" "To:" "CC:")
bbdb/vm-virtual-folder-alist-by-mail-alias-alist nil
features '(reporter message-utils facemenu enriched smtpmail debug bbdb-gui
moy-bbdb rect atomic-extents latex-toolbar latex tex
flyspell footnote
auto-capitalize ispell vm-undo vm-page vm-toolbar
tapestry vm-motion
vm-folder vm-misc vm-mouse vm-window regexp-opt
vm-serial vm-biff
vm-mime vm-summary vm-summary-faces vm-pcrisis vm-reply
vm-menu
vm-ps-print vm-save db-vm-interactive-virtual-folders
vm-minibuf
vm-rfaddons edmacro vm-pine vm-macro vm-message
vm-avirtual bbdb-vm
vm-grepmail annotations sort gnus-cite ansi-color
flow-fill gnus-bcklg
gnus-async gnus-ml mailcrypt comint ring gnus-topic
nndoc nnfolder utf7
nndraft nnmh bbdb-gnus passwd nnimap imap gnus-agent
gnus-srvr
gnus-score score-mode nnvirtual nntp gnus-cache spam
gnus-uu gnus-msg
spam-stat gnus-stat nnweb mm-url url mm mule-sysdp
url-parse url-vars
vc-hooks lazy-shot cal-china cal-islam cal-hebrew
holidays font
x-symbol-xmacs x-symbol-hooks my-smiley
backup-each-save toolbarx
popfix my-admin-3rd-pkg my-add-bbdb hashcash myurl
check-attachment
icalendar vm-do-fcc rs-gnus my-fill my-color-todo
calc-macs calc
calc-ext bbdb-anniv bbdb-rf vm-autoload vm-vars
highlight-headers
vm-startup vm-version vm bbdb-print bbdb-snarf bm
ee-autoloads
my-locate-library ffap my-downcase-abbrev tempbuf
tex-wcount assoc
u-vm-return-receipt xdvi-search ps-bdf ps-mule ps-print
vvb-mode
gnuserv appt-to-calendar session my-change-region
lookout csv
vm-calendar undoc bbdb-expire bbdb-hooks organizer-mode
wdired
dired-faces dired-xemacs dired lstlisting htmlize
vm-feedmail-extra
feedmail euro esms esms-conf esms-ssp-funs my-replace
rcy-paren
file-confirm my-paragraph lazy-capitialize smiley
gnus-art mm-uu
mml2015 pgg password pgg-parse pgg-def mm-view gnus-sum
nnoo gnus-group
gnus-undo nnmail mail-source format-spec gnus-start
gnus-spec gnus-int
gnus-range gnus-win recent-files my-count-ascii-region
remember
auto-insert-tkld ivl2r vishebrew AbHebrew-mode
AbIvrit-mode bidi-utils
my-hebrew-font highlight-current-line saveplace
saveconf template
cal-desk-calendar lunar solar cal-dst cal-persia
cal-julian todo-mode
time-stamp view-less view hyper-apropos diary-lib appt
calendar
supercite mail-extr regi sigadapt bbdb-com message mml
mml-sec
mml-smime smime dig mm-decode mm-bodies mm-encode
mailcap lpr
mail-parse rfc2045 rfc2231 rfc2047 qp ietf-drums
mail-abbrevs sendmail
rfc822 mailheader canlock sha1 executable hex-util
gnus-fun gnus
gnus-ems gnus-xmas messagexmas nnheader nnheaderxm
run-at-time
gnus-util netrc time-date parse-time mail-utils mm-util
mail-prsvr
wid-edit bbdb timezone change-mode disp-table dimish
crypt crypt++
crypt+pgp-pub align-string goto-addr overlay thingatpt
align iso2win
font-lock filladapt my-fly-mail checkdoc texmathp paren
mic-paren timer
latex-all-hs time footnote-cla word2txt extra follow
ccheck-brac
iso-acc rotate counter redo cus-face whitespace-mode ln
unscroll
query-replace-region uuencode mailfile date
switch-buffer byte-optimize
bytecomp byte-compile advice advice-preload tiny-test
tinypair tinylib
efs-cu efs-x19\.15 efs-fnh efs-ovwrt efs-auto tinylibm
tinylibb all
my-functions dired-tar compile xemacs_keys tex-site
toggle
auctex-autoloads zenirc-autoloads xwem-autoloads
xslt-process-autoloads
xslide-autoloads xlib-autoloads xemacs-devel-autoloads
xemacs-base-autoloads x-symbol-autoloads w3-autoloads
vm-autoloads
viper-autoloads view-process-autoloads vhdl-autoloads
vc-cc-autoloads
vc-autoloads tramp-autoloads tpu-autoloads
tooltalk-autoloads
tm-autoloads time-autoloads textools-autoloads
text-modes-autoloads
texinfo-autoloads supercite-autoloads strokes-autoloads
speedbar-autoloads sounds-wav-autoloads
sounds-au-autoloads
sml-mode-autoloads slider-autoloads sieve-autoloads
sh-script-autoloads
sgml-autoloads semantic-autoloads scheme-autoloads
sasl-autoloads
ruby-modes-autoloads rmail-autoloads riece-autoloads
reftex-autoloads
python-modes-autoloads psgml-dtds-autoloads
psgml-autoloads
ps-print-autoloads prog-modes-autoloads pgg-autoloads
perl-modes-autoloads pcomplete-autoloads
pcl-cvs-autoloads pc-autoloads
os-utils-autoloads oo-browser-autoloads ocaml-autoloads
net-utils-autoloads mmm-mode-autoloads
misc-games-autoloads
mine-autoloads mh-e-autoloads mew-autoloads
mailcrypt-autoloads
mail-lib-autoloads liece-autoloads jde-autoloads
ispell-autoloads
ilisp-autoloads igrep-autoloads idlwave-autoloads
ibuffer-autoloads
hyperbole-autoloads hm--html-menus-autoloads
haskell-mode-autoloads
gnus-autoloads gnats-autoloads general-docs-autoloads
games-autoloads
fsf-compat-autoloads frame-icon-autoloads
fortran-modes-autoloads
forms-autoloads footnote-autoloads eudc-autoloads
eterm-autoloads
ess-autoloads eshell-autoloads escreen-autoloads
erc-autoloads
emerge-autoloads elib-autoloads eieio-autoloads
efs-autoloads
edt-autoloads edit-utils-autoloads ediff-autoloads
edebug-autoloads
ecrypto-autoloads ecb-autoloads docbookide-autoloads
dired-autoloads
dictionary-autoloads debug-autoloads crisp-autoloads
cookie-autoloads
clearcase-autoloads cc-mode-autoloads
calendar-autoloads calc-autoloads
c-support-autoloads build-autoloads bbdb-autoloads
apel-autoloads
ada-autoloads Sun-autoloads lisp-autoloads loadhist
auto-show
fontl-hooks x-iso8859-1 code-cmds gutter-items
menubar-items x-menubar
mode-motion mouse itimer auto-save lisp-mode easymenu
iso8859-1 page
buff-menu lib-complete help-nomule cus-file derived
frame text-props
obsolete cus-start custom widget cl-extra mini-cl cl
cl-19 packages
backquote very-early-lisp file-coding lucid-scrollbars
cut-buffer
lucid-menubars athena-dialogs x c-balloon-help
tty-frames tty toolbar
native-sound scrollbar unix-processes multicast
network-streams
subprocesses modules menu-accelerator-support menubar
berkeley-db md5
xemacs gutter tiff png gif jpeg xface xpm xbm
lisp-float-type linux
dialog devices window-system base64)
)
Signaling: (void-function
my-smiley-insert-smiley)HW�j)b��h��+y��N�L��v�-�y�v'z�\jwbv����,�xn���v�!3�ۜ���j�j[�z���(����'!����l����X�z�m��^�*^J֫���v)���!�����v�-��z+fjv�z�#���jW(���u��~�b��,���y�+��m����+-��.�ǟ�����+-��b�ا~��m���0G�g�j������n�.�ǟ����
