# Copyright (C) 2008-2017 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
# GNU Mailman is free software: you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free
# Software Foundation, either version 3 of the License, or (at your option)
# any later version.
#
# GNU Mailman is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
# more details.
#
# You should have received a copy of the GNU General Public License along with
# GNU Mailman. If not, see .
# This file contains the Debian configuration for mailman. It uses ini-style
# formats under the lazr.config regime to define all system configuration
# options. See for details.
[mailman]
# This address is the "site owner" address. Certain messages which must be
# delivered to a human, but which can't be delivered to a list owner (e.g. a
# bounce from a list owner), will be sent to this address. It should point to
# a human.
#>GNUNUX
#site_owner: changeme@example.com
site_owner: {{ general.mailman.mailman_mail_owner }}
#GNUNUX
#default_language: en
default_language: fr
#>>
# Banner to show on startup.
banner: Welcome to the GNU Mailman shell
# Use IPython as the shell, which must be found on the system. Valid values
# are `no`, `yes`, and `debug` where the latter is equivalent to `yes` except
# that any import errors will be displayed to stderr.
use_ipython: no
# Set this to allow for command line history if readline is available. This
# can be as simple as $var_dir/history.py to put the file in the var directory.
history_file:
[paths.debian]
# Important directories for Mailman operation. These are defined here so that
# different layouts can be supported. For example, a developer layout would
# be different from a FHS layout. Most paths are based off the var_dir, and
# often just setting that will do the right thing for all the other paths.
# You might also have to set spool_dir though.
#
# Substitutions are allowed, but must be of the form $var where 'var' names a
# configuration variable in the paths.* section. Substitutions are expanded
# recursively until no more $-variables are present. Beware of infinite
# expansion loops!
#
# This is the root of the directory structure that Mailman will use to store
# its run-time data.
#>GNUNUX
#var_dir: /var/lib/mailman3
var_dir: /srv/mailman/
#GNUNUX
#log_dir: /var/log/mailman3
log_dir: /srv/mailman/log
#GNUNUX
class: mailman.database.postgresql.PostgreSQLDatabase
#GNUNUX
url: postgresql://{{ general.postgresql.pg_client_username }}:{{ general.postgresql.pg_client_password }}@{{ general.postgresql.pg_client_server_domainname }}/{{ general.postgresql.pg_client_database }}?sslmode=verify-full&sslcert={{ general.tls_cert_directory }}/postgresql.crt&sslkey={{ general.tls_key_directory }}/postgresql.key&sslrootcert={{ general.tls_ca_directory }}/PostgreSQL.crt
#GNUNUX
#FIXME format: %(asctime)s (%(process)d) %(message)s
#FIXME datefmt: %b %d %H:%M:%S %Y
#FIXME propagate: no
#FIXME level: info
#FIXME path: mailman.log
#GNUNUX
#hostname: localhost
hostname: {{ general.mailman.mailman_domains }}
#GNUNUX
#port: 8001
port: 443
#GNUNUX
#use_https: no
use_https: yes
#GNUNUX
#SEE https://gitlab.com/mailman/mailman/-/issues/455
incoming: mailman.mta.exim4.LMTP
#incoming: mailman.mta.postfix.LMTP
#GNUNUX
#smtp_host: localhost
smtp_host: {{ general.smtp.smtp_relay_address }}
smtp_port: 25
#smtp_user:
smtp_user: {{ general.smtp.smtp_relay_user }}@{{ general.smtp.smtp_client_ip }}
#smtp_pass:
smtp_pass: {{ general.smtp.smtp_relay_password }}
smtp_secure_mode: starttls
smtp_verify_cert: yes
smtp_verify_hostname: yes
#GNUNUX
#lmtp_host: 127.0.0.1
lmtp_host: {{ general.network.interface_0.ip_eth0 }}
#GNUNUX
configuration: python:mailman.config.exim4
#configuration: python:mailman.config.postfix
#