# 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: %%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://%%pg_client_username:%%pg_client_password@%%pg_client_server_domainname/%%pg_client_database?sslmode=verify-full&sslcert=%%pg_client_crt_file&sslkey=%%pg_client_key_file&sslrootcert=%%pg_client_ca_file
#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: %%mailman_domains
#GNUNUX
#port: 8001
port: 443
#GNUNUX
#use_https: no
use_https: yes
#GNUNUX
#smtp_host: localhost
smtp_host: %%smtp_relay_address
smtp_port: 25
#smtp_user:
smtp_user: %%smtp_relay_user@%%ip_eth0
#smtp_pass:
smtp_pass: %%smtp_relay_password
smtp_secure_mode: starttls
smtp_verify_cert: yes
smtp_verify_hostname: yes
#GNUNUX
#lmtp_host: 127.0.0.1
lmtp_host: %%ip_eth0
#