Gnus development mailing list
 help / color / mirror / Atom feed
* Multiple Email Addresses in user-mail-address
@ 2023-11-16  3:15 Husain Alshehhi
  2023-11-16  6:19 ` Russ Allbery
  0 siblings, 1 reply; 3+ messages in thread
From: Husain Alshehhi @ 2023-11-16  3:15 UTC (permalink / raw)
  To: ding


In gnus, 'f' (gnus-summary-followup) responds to everyone in an
email. If someone sends an email to a@example.com, and b@example.com,
and both are owned by me, how can I let 'f' know that it should not
include a@example.com and b@example.com?

In the normal case, when I own a single email address, this can be done
by setting user-mail-address. Gnus respects this value and automatically
exclude this address from TO and CC. But I am not sure how to do this
when I own two email addresses.


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

* Re: Multiple Email Addresses in user-mail-address
  2023-11-16  3:15 Multiple Email Addresses in user-mail-address Husain Alshehhi
@ 2023-11-16  6:19 ` Russ Allbery
  2023-11-17  3:10   ` Husain Alshehhi
  0 siblings, 1 reply; 3+ messages in thread
From: Russ Allbery @ 2023-11-16  6:19 UTC (permalink / raw)
  To: ding

Husain Alshehhi <husain@alshehhi.io> writes:

> In the normal case, when I own a single email address, this can be done
> by setting user-mail-address. Gnus respects this value and automatically
> exclude this address from TO and CC. But I am not sure how to do this
> when I own two email addresses.

You can set message-dont-reply-to-names to a regex, list of regexes, or a
function that matches all of the addresses that you want to exclude.  For
example:

(custom-set-variables
 '(message-dont-reply-to-names
   (mapconcat 'regexp-quote
              '("eagle@eyrie.org" "rra@debian.org")
              "\\|")))

-- 
Russ Allbery (eagle@eyrie.org)             <https://www.eyrie.org/~eagle/>


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

* Re: Multiple Email Addresses in user-mail-address
  2023-11-16  6:19 ` Russ Allbery
@ 2023-11-17  3:10   ` Husain Alshehhi
  0 siblings, 0 replies; 3+ messages in thread
From: Husain Alshehhi @ 2023-11-17  3:10 UTC (permalink / raw)
  To: Russ Allbery; +Cc: ding

Russ Allbery <eagle@eyrie.org> writes:

> You can set message-dont-reply-to-names to a regex, list of regexes, or a
> function that matches all of the addresses that you want to exclude.

Thank you.  This worked!


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

end of thread, other threads:[~2023-11-17  3:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-16  3:15 Multiple Email Addresses in user-mail-address Husain Alshehhi
2023-11-16  6:19 ` Russ Allbery
2023-11-17  3:10   ` Husain Alshehhi

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).