Re: add sender without mail if mail is in some ignored-list?
"Roland Winkler" <[email protected]> Wed, 29 Dec 2021 10:35:59 -0600
| Newsgroups | gmane.emacs.bbdb.user |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Dec 28 2021, Roland Winkler wrote: > So it seems to me, the best way to ignore mail addresses like > <[email protected]> is to define a function for > `bbdb-canonicalize-mail-function' that returns nil in such a case. > Then, BBDB should look up the record that matches the name, but it will > not associate the bogus address <[email protected]> with the record > for this name. > > Or am I still misunderstanding the nature of this issue? If such a thing does solve the problem, it can also be made more user-friendly by adding code to `bbdb-clean-address-components' that will match the mail address against a customizable regexp. If this succeeds, the mail address is ignored.