Skip to Content.
Sympa Menu

en - [en@sympa] change one parameter in all list configs using sed?

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • 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
 
 
 



Archive powered by MHonArc 2.6.19+.

Top of Page