Re: can I set user-mail-address differently for each group?

"Husain Alshehhi" <[email protected]> Sun, 09 Mar 2025 22:30:02 -0500
Newsgroups gmane.emacs.gnus.general
Message-ID <[email protected]>
Uwe Brauer <[email protected]> writes:

> I enter on of the WorkMail groups and run describe-variable
> user-mail-address and see
> [email protected]
> but *not* [email protected]

Won't gnus-posting-style only work when you compose a reply, not when
you view messages?

> Why is this important?
>
> Well as I wrote in the other gnus mailing list and on email dev, I now
> use a function that checks if your address (as controlled by
> user-mail-address, is in the To or CC field in order to check that you
> have not be on the BCC and can run in potentially  embarrassing
> situation.

My guess: the check-bcc-gnus-article-followup-with-original runs before
the gnus-posting-style sets the attributes. First, verify that that
gnus-posting-style actually sets the values correctly, and then see if
you can run check-bcc-gnus-article-followup-with-original after the
attribute is set.

Alternatively, as a workaround, check whether any of the
user-mail-address you own are in the bcc or not, and alert based on
that.

-- 
Husain