b4 send: how to selectively suppress Cc?
How do I pursuade b4 send to selectively *not* send emails to some of the emails it finds in to/from/sob etc?
e.g. due to job changes, there's an email address I know is going to bounce, but b4 send is still finding it and adding it to the Cc list.
Right now the only way I'm finding to do this is to use --no-trailer-to-cc and then manually list all the emails I actually want with --to and --cc
If there's not an existing way to do this, might be nice to be able to add a Suppress-Cc: to the cover letter along with the other To:/Cc:
fields there?
Thanks,
Kevin
Quoted 2 lines · Kevin Hilman
How do I pursuade b4 send to selectively *not* send emails to some of the emails it finds in to/from/sob etc?
You should be able to accomplish this with b4.email-exclude:
A list of addresses to always exclude from the message recipients. Expects a comma-separated list with shell-style globbing. E.g.:
email-exclude = *@codeaurora.org, *@obsolete.example.com
Let me know if this doesn't work.
-K
Quoted 4 lines · Konstantin Ryabitsev
Quoted 2 lines · Kevin Hilman
How do I pursuade b4 send to selectively *not* send emails to some of the emails it finds in to/from/sob etc?
Quoted 8 lines
You should be able to accomplish this with b4.email-exclude:
A list of addresses to always exclude from the message recipients. Expects a comma-separated list with shell-style globbing. E.g.:
email-exclude = *@codeaurora.org, *@obsolete.example.com
Let me know if this doesn't work.
It works perfectly, thanks!
I guess I missed it because I didn't think to look at the b4 ty docs for email settings while getting b4 send to work. Maybe an item for your TODO list is to add a pointer to those settings in the b4 send doc?
Anyways, thanks for the tip and for the work on this really useful too.
Kevin
P.S. I just discovered the b4 prep feature of creating/tracking a
branch from a sent series[1], and it's great! Exactly what I needed for taking over a series from someone else. Thanks!
[1] https://b4.docs.kernel.org/en/latest/contributor/prep.html#creating-a-branch-from-a-sent-series