Re: Handling "via" addresses

Roland Winkler <[email protected]> Thu, 30 Jun 2022 20:44:40 -0500
Newsgroups gmane.emacs.bbdb.user
Message-ID <[email protected]>
On Wed, Jun 29 2022, Sam Steingold wrote:
> I often see headers like this in Gnus:
>
> From: John Doe via "Emacs development discussions." <[email protected]>
> Subject: whatever
> Newsgroups: gmane.emacs.devel
> To: "[email protected]" <[email protected]>
> Reply-To: John Doe <[email protected]>
>
> and BBDB offers to change the name of the <emacs-devel> record to "John
> Doe", which is clearly wrong.
>
> The correct behavior seems to ignore the "From:" line that looks like that.

Have you tried to make bbdb-add-name a function (or regexp)?  (I assume
you already have a record for [email protected] that you want to keep
as is.)