I'd like to configure bbdb to not auto-notice addresses in mailing list mail. I'm trying to use the X-Mailing-List
and X-Mailman-Version
headers, since those seem to be consistently present on all the mailing lists I read, but it doesn't seem to be working (i.e. bbdb still offers to save email addresses from mails containing those headers)... What am I doing wrong?
(setq bbdb-ignore-message-alist
'((("X-Mailman-Version" "X-Mailing-List") . ".*")))
By the way, I'm using bbdbv3
.
Looking at my copy of the BBDB manual, it seems that you need to set
bbdb/mail-auto-create-p
(setting it tobbdb-ignore-some-messages-hook
) and then you wantbbdb-ignore-some-messages-alist
(note the "-some"). See section 1.7.3: Predefined Hooks.