User Tools

Site Tools


hosting:mailman

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
hosting:mailman [2019/06/12 09:42] jimhosting:mailman [2020/07/13 11:36] (current) – [Old/Disabled lists] jim
Line 2: Line 2:
  
 The mailing lists are now running with the standard Debian packaged version of Mailman. The mailing lists are now running with the standard Debian packaged version of Mailman.
 +
 +The Mailman setup for Exim is in ''/etc/exim4/symbiosis.d/20-routes/11-mailman'' and ''/etc/exim4/symbiosis.d/30-transports/11-mailman''. It's standard Mailman/exim setup.
  
 ===== LongSig ===== ===== LongSig =====
Line 18: Line 20:
  
 appears to be necessary. appears to be necessary.
 +
 +===== Old/Disabled lists =====
 +
 +There are lists which have been moribund for a while, and which we have disabled, to save the list admins from having to handle spam messages.
 +
 +There is no official way in Mailman to disable a list. The closest you can get to is //emergency moderation//, which just makes all lists moderate every post.
 +
 +So I've disabled the mailing lists by ''chmod 000 /var/lib/mailman/lists/<list>''. Also, I've modified the Exim Mailman router to check explicitly that the list file is accessible by group ''list'':
 +
 +<code>
 +mailman_router:
 + debug_print = "R: mailman_router for $local_part@$domain"
 +  driver = accept
 +  require_files = root,list:MM_HOME/lists/$local_part/config.pck
 +  local_part_suffix_optional
 +  local_part_suffix = -bounces : -bounces+* : \
 +                      -confirm+* : -join : -leave : \
 +                      -owner : -request : -admin
 +  transport = mailman_transport
 +</code>
 +
 +This means that the list address is no longer routable, and the list no longer appears on the list of mailing lists. All list configuration and archives are preserved.
hosting/mailman.1560332569.txt.gz · Last modified: 2019/06/12 09:42 by jim