mailman: add MailmanForceSSL env var
[hcoop/domtool2.git] / lib / mailman.dtl
index 8de45ee..e1a8fbf 100644 (file)
@@ -25,6 +25,7 @@ extern val mailman_place_to_ipv6 : mailman_place -> ipv6;
 extern val mailmanVhost : host -> [Domain]
   {MailmanPlaces : [mailman_place],
   SSL : ssl,
+  MailmanForceSSL : bool,
   User : your_user,
   ServerAdmin : email};
 {{Create an Apache virtual host to serve as the web interface for some Mailman
@@ -40,7 +41,6 @@ val mailman = \ host : (host) -> begin
     mailmanWebHost mwh;
     mailmanVhost host where
       MailmanPlaces = [mailman_place_default mailman_node];
-      SSL = no_ssl
     end
   end
 end;