···11+From 47469af384a6d4a0877c76d3c52013b40ab61f04 Mon Sep 17 00:00:00 2001
22+From: Peter Simons <simons@cryp.to>
33+Date: Mon, 26 Aug 2019 16:10:04 +0200
44+Subject: [PATCH] Find external tools via $PATH rather than hard-coding
55+ /usr/bin.
66+77+---
88+ src/mailman/config/mhonarc.cfg | 2 +-
99+ src/mailman/config/postfix.cfg | 2 +-
1010+ src/mailman/config/schema.cfg | 2 +-
1111+ 3 files changed, 3 insertions(+), 3 deletions(-)
1212+1313+diff --git a/src/mailman/config/mhonarc.cfg b/src/mailman/config/mhonarc.cfg
1414+index b00f93aea..096e9521b 100644
1515+--- a/src/mailman/config/mhonarc.cfg
1616++++ b/src/mailman/config/mhonarc.cfg
1717+@@ -24,4 +24,4 @@ base_url: http://$hostname/archives/$fqdn_listname
1818+1919+ # If the archiver works by calling a command on the local machine, this is the
2020+ # command to call.
2121+-command: /usr/bin/mhonarc -outdir /path/to/archive/$listname -add
2222++command: mhonarc -outdir /path/to/archive/$listname -add
2323+diff --git a/src/mailman/config/postfix.cfg b/src/mailman/config/postfix.cfg
2424+index cddda220a..934c9a977 100644
2525+--- a/src/mailman/config/postfix.cfg
2626++++ b/src/mailman/config/postfix.cfg
2727+@@ -5,7 +5,7 @@
2828+ # db file, from the associated plain text files. The file being updated will
2929+ # be appended to this string (with a separating space), so it must be
3030+ # appropriate for os.system().
3131+-postmap_command: /usr/sbin/postmap
3232++postmap_command: postmap
3333+3434+ # This variable describes the type of transport maps that will be generated by
3535+ # mailman to be used with postfix for LMTP transport. By default, it is set to
3636+diff --git a/src/mailman/config/schema.cfg b/src/mailman/config/schema.cfg
3737+index fa06ccced..406999e13 100644
3838+--- a/src/mailman/config/schema.cfg
3939++++ b/src/mailman/config/schema.cfg
4040+@@ -65,7 +65,7 @@ filtered_messages_are_preservable: no
4141+ # where the substitution variable $filename is filled in by Mailman, and
4242+ # contains the path to the temporary file that the command should read from.
4343+ # The command should print the converted text to stdout.
4444+-html_to_plain_text_command: /usr/bin/lynx -dump $filename
4545++html_to_plain_text_command: lynx -dump $filename
4646+4747+ # Specify what characters are allowed in list names. Characters outside of
4848+ # the class [-_.+=!$*{}~0-9a-z] matched case insensitively are never allowed,
4949+--
5050+2.22.0
5151+