Subject: The mailing list for listmasters using Sympa
List archive
[en@sympa] change one parameter in all list configs using sed?
- From: "Widerski, Betty" <address@concealed>
- To: "address@concealed" <address@concealed>
- Subject: [en@sympa] change one parameter in all list configs using sed?
- Date: Mon, 27 Nov 2023 19:20:40 +0000
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+.