lwc:linux:sympa

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

lwc:linux:sympa [2025/11/28 08:44] – created - external edit 127.0.0.1lwc:linux:sympa [2025/11/28 09:43] (current) John Harrison
Line 1: Line 1:
-===== apt install sympa 6.2.70 on ubuntu 24.04 =====+===== Install ===== 
 +==== apt install sympa 6.2.70 on ubuntu 24.04 ====
   * Start with [[https://www.sympa.community/manual/install.html|the official installation docs using apt]]   * Start with [[https://www.sympa.community/manual/install.html|the official installation docs using apt]]
   * Then when that fails :-o   * Then when that fails :-o
  
-==== mysql ====+=== mysql ===
   * with install ''dbconfig-common'' to set up DB using mysql just doesn't work.   * with install ''dbconfig-common'' to set up DB using mysql just doesn't work.
   * it didn't work for mailman and it didn't work here   * it didn't work for mailman and it didn't work here
Line 21: Line 22:
 </code> </code>
  
-==== nginx ====+=== nginx ===
 //apparently standard setup is with Apache? But this works// //apparently standard setup is with Apache? But this works//
 <code> <code>
Line 67: Line 68:
 </code> </code>
  
-==== Postfix ====+=== Postfix ===
  
-=== main.cf ===+== main.cf ==
   * Postfix tries to run some sympa stuff as an unprivileged user. Add this line to have it run as the sympa user instead:   * Postfix tries to run some sympa stuff as an unprivileged user. Add this line to have it run as the sympa user instead:
 <code> <code>
Line 80: Line 81:
   * add ''alias_database = hash:/etc/sympa/aliases.sympa.postfix''   * add ''alias_database = hash:/etc/sympa/aliases.sympa.postfix''
   * suggestion (for sending larger emails): ''message_size_limit = 41943040''   * suggestion (for sending larger emails): ''message_size_limit = 41943040''
-=== master.cf ===+== master.cf ==
 <code> <code>
 sympa     unix  -                  -        -       pipe sympa     unix  -                  -        -       pipe
Line 86: Line 87:
 </code> </code>
  
-==== /etc/sympa/sympa/sympa.conf ====+=== /etc/sympa/sympa/sympa.conf ===
 <code> <code>
 wwsympa_url <YOUR_SUBDOMAIN> wwsympa_url <YOUR_SUBDOMAIN>
Line 103: Line 104:
  
 </code> </code>
-===== Notes =====+==== Notes ====
   * config is at ''/etc/sympa/sympa/sympa.conf''   * config is at ''/etc/sympa/sympa/sympa.conf''
   * when reading official documentation ''$SYSCONFDIR'' is ''/etc/sympa''   * when reading official documentation ''$SYSCONFDIR'' is ''/etc/sympa''
   * when reading official documentation ''$LIBEXECDIR'' is ''/usr/share/sympa/bin''   * when reading official documentation ''$LIBEXECDIR'' is ''/usr/share/sympa/bin''
  
-===== Troubleshooting =====+==== Troubleshooting ====
   * sympa logs go to ''syslog''. View in realtime: ''sudo tail -f /var/log/syslog | grep --line-buffered -Ei 'sympa|wwsympa''   * sympa logs go to ''syslog''. View in realtime: ''sudo tail -f /var/log/syslog | grep --line-buffered -Ei 'sympa|wwsympa''
 +
 +===== Usage =====
 +==== Customizing Templates ====
 +Sympa uses a "Cascading" template system. It looks for a template (like welcome.tt2) in this specific order:
 +  - List Level: ''/var/lib/sympa/list_data/[list_name]/mail_tt2/'' (Highest Priority)
 +  - Robot/Domain Level: ''/etc/sympa/[domain]/mail_tt2/''
 +  - Site Level: ''/etc/sympa/mail_tt2/''
 +  - Default: ''/usr/share/sympa/default/mail_tt2/'' (Lowest Priority)
 +
 +To customize a template for one specific list, copy the default file into that list's folder and edit it there.
  • lwc/linux/sympa.txt
  • Last modified: 2025/11/28 09:43
  • by John Harrison