Gnus development mailing list
 help / color / mirror / Atom feed
* quick hack to make BBDB do The Right Thing
@ 1997-05-15 18:23 Mark Moll
  1997-05-15 19:39 ` Mark Moll
  0 siblings, 1 reply; 3+ messages in thread
From: Mark Moll @ 1997-05-15 18:23 UTC (permalink / raw)


I like it that BBDB can add e-mail addresses of personal messages to the
database, but it does the same for mailing lists. So within no time my BBDB
would be filled with people I have never heard of. Here's my solution to
work around this problem:

I use procmail to sort my mail into different folders. For each mailing list
where BBDB shouldn't automatically extract e-mail addresses, I use a recipe
that looks like this:

:0 w: $MAILDIR/other.lock
| formail -a "Newsgroups: mail.other" > $MAILDIR/other

which makes the mailing list folder "look like" a newsgroup. The next step
is to set up Gnus. I use the following setup, so that senders of news
messages that are cc-ed to me are not added to my BBDB. 

(defun mm-gnus-bbdb-hook ()
  (cond ((not (message-news-p)) (bbdb/gnus-update-record t))))
(add-hook 'gnus-article-display-hook 'mm-gnus-bbdb-hook)

-- 
Mark Moll    


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1997-05-15 20:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-05-15 18:23 quick hack to make BBDB do The Right Thing Mark Moll
1997-05-15 19:39 ` Mark Moll
1997-05-15 20:20   ` David S. Goldberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).