[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: add sender without mail if mail is in some ignored-list?
From: |
Roland Winkler |
Subject: |
Re: add sender without mail if mail is in some ignored-list? |
Date: |
Wed, 29 Dec 2021 10:35:59 -0600 |
On Tue, Dec 28 2021, Roland Winkler wrote:
> So it seems to me, the best way to ignore mail addresses like
> <no-reply@exmple.com> 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 <no-reply@exmple.com> 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.