Subject: The mailing list for listmasters using Sympa
List archive
RE: [en@sympa] change one parameter in all list configs using sed?
- From: "McLaren, Terry" <address@concealed>
- To: "address@concealed" <address@concealed>
- Subject: RE: [en@sympa] change one parameter in all list configs using sed?
- Date: Mon, 27 Nov 2023 19:28:34 +0000
Been there done that… It works well. I also created a backup of the current config as a ‘cya’ (cover your assets ;^)
Terry McLaren
From: address@concealed <address@concealed>
On Behalf Of Widerski, Betty
I want to change 'mode all' to 'mode dmarc_any,dmarc_quarantine,dmarc_reject,domain_regex' in ALL of my existing Sympa lists. Is there a reason I should not do so by using a sed find/replace command on all the config files in /var/lib/sympa/list_data/listsdev.hbs.edu/*/config ? E.g.,
sed -i 's/mode all/mode dmarc_any,dmarc_quarantine,dmarc_reject,domain_regex/g' /var/lib/sympa/list_data/listsdev.hbs.edu/*/config
I'm not sure if directly editing the listname/config file is not recommended - ?
Thanks Betty
Betty Widerski Cloud & Server Engineering – HBS Information Technology HARVARD BUSINESS SCHOOL Shad 108 N | address@concealed | T: 617.495.6642
|
-
[en@sympa] change one parameter in all list configs using sed?,
Widerski, Betty, 11/27/2023
-
Re: [en@sympa] change one parameter in all list configs using sed?,
Matthew Goebel, 11/27/2023
- Re: [en@sympa] change one parameter in all list configs using sed?, Matt Taggart, 11/27/2023
- RE: [en@sympa] change one parameter in all list configs using sed?, McLaren, Terry, 11/27/2023
-
Re: [en@sympa] change one parameter in all list configs using sed?,
Matthew Goebel, 11/27/2023
Archive powered by MHonArc 2.6.19+.