summaryrefslogtreecommitdiffstats
path: root/roles/lists/files/etc
diff options
context:
space:
mode:
Diffstat (limited to 'roles/lists/files/etc')
-rw-r--r--roles/lists/files/etc/nginx/sites-available/sympa13
-rw-r--r--roles/lists/files/etc/sympa/sympa/sympa.conf (renamed from roles/lists/files/etc/sympa/sympa.conf)94
-rw-r--r--roles/lists/files/etc/sympa/wwsympa.conf85
-rw-r--r--roles/lists/files/etc/systemd/system/wwsympa.service6
4 files changed, 99 insertions, 99 deletions
diff --git a/roles/lists/files/etc/nginx/sites-available/sympa b/roles/lists/files/etc/nginx/sites-available/sympa
index 48dcf3d..f5a67bf 100644
--- a/roles/lists/files/etc/nginx/sites-available/sympa
+++ b/roles/lists/files/etc/nginx/sites-available/sympa
@@ -16,8 +16,8 @@ server {
server {
- listen 443 spdy;
- listen [::]:443 spdy;
+ listen 443 ssl http2;
+ listen [::]:443 ssl http2;
server_name lists.fripost.org;
@@ -33,6 +33,13 @@ server {
ssl_certificate_key ssl/lists.fripost.org.key;
include snippets/lists.fripost.org.hpkp-hdr;
+ location = /robots.txt {
+ allow all;
+ log_not_found off;
+ access_log off;
+ alias /etc/sympa/robots.txt;
+ }
+
location = / {
return 302 /sympa$args;
}
@@ -66,7 +73,7 @@ server {
fastcgi_pass unix:/run/wwsympa.socket;
gzip off;
- fastcgi_param SERVER_NAME $vhost;
+ fastcgi_param SERVER_NAME $vhost;
}
location / {
diff --git a/roles/lists/files/etc/sympa/sympa.conf b/roles/lists/files/etc/sympa/sympa/sympa.conf
index 606bd59..0e88baf 100644
--- a/roles/lists/files/etc/sympa/sympa.conf
+++ b/roles/lists/files/etc/sympa/sympa/sympa.conf
@@ -1,7 +1,7 @@
###\\\\ Site customization ////###
## Main robot hostname
-domain lists.fripost.org
+domain lists.fripost.org
## Local part of sympa email address
## Effective address will be [EMAIL]@[HOST]
@@ -12,7 +12,7 @@ email sympa
listmaster listmaster@fripost.org
## URL of main Web page
-#wwsympa_url https://lists.fripost.org/sympa
+wwsympa_url http://lists.fripost.org/sympa
max_wrong_password 19
@@ -26,7 +26,7 @@ css_url /static-sympa/css
## Secret used by Sympa to make MD5 fingerprint in web cookies secure
## Should not be changed ! May invalid all user password
-cookie `cat /etc/sympa/cookie`
+cookie `head -n1 /etc/sympa/cookie`
## Who is able to create lists
## This parameter is a scenario, check sympa documentation about scenarios if you want to define one
@@ -101,15 +101,15 @@ alias_manager /bin/true
sympa_packet_priority 5
## Minimum number of packets in database before the bulk forks to increase sending rate
-##
+##
bulk_fork_threshold 1
## Max number of bulks that will run on the same server
-##
+##
bulk_max_count 3
## The number of seconds a slave bulk will remain running without processing a message before it spontaneously dies.
-##
+##
bulk_lazytime 600
## The number of seconds a bulk sleeps between starting a new loop if it didn't find a message to send.
@@ -168,7 +168,7 @@ supported_lang sv,en_US
## Default language (one of supported languages)
## This is the default language used by Sympa
-lang sv
+lang sv
## If set to "on", enables support of legacy character set
## In some language environments, legacy encoding (character set) is preferred for e-mail messages: for example iso-2022-jp in Japanese language.
@@ -263,7 +263,7 @@ default_sql_fetch_timeout 300
## Path to OpenSSL
## Sympa recognizes S/MIME if OpenSSL is installed
-#openssl /usr/bin/ssl
+openssl /usr/bin/openssl
## Directory containing trusted CA certificates
#capath /etc/sympa/ssl.crt
@@ -289,6 +289,10 @@ dkim_add_signature_to robot,list
## Type of message that is added a DKIM signature before distribution to subscribers. Possible values are "none", "any" or a list of the following keywords: "md5_authenticated_messages", "smime_authenticated_messages", "dkim_authenticated_messages", "editor_validated_messages".
dkim_signature_apply_on md5_authenticated_messages,smime_authenticated_messages,dkim_authenticated_messages,editor_validated_messages
+## DMARC protection
+## https://sympa-community.github.io/manual/customize/dmarc-protection.html
+dmarc_protection_mode dmarc_reject
+
###\\\\ Antivirus plug-in ////###
## Path to the antivirus scanner engine
@@ -321,3 +325,77 @@ edit_list owner
## The password validation techniques to be used against user passwords that are added to mailing lists. Options come from Data::Password (http://search.cpan.org/~razinf/Data-Password-1.07/Password.pm#VARIABLES)
#password_validation MINLEN=8,GROUPS=3,DICTIONARY=4,DICTIONARIES=/pentest/dictionaries
+
+## Directory for storing HTML archives
+## Better if not in a critical partition
+arc_path /var/lib/sympa/wwsarchive
+
+## Default index organization when entering the web archive: either threaded
+## or in chronological order
+archive_default_index thrd
+
+## Directory for storing bounces
+## Better if not in a critical partition
+bounce_path /var/spool/sympa/wwsbounce
+
+## HTTP cookies validity domain
+cookie_domain lists.fripost.org
+
+## HTTP cookies lifetime
+cookie_expire 0
+
+## Average interval to refresh HTTP session ID.
+cookie_refresh 60
+
+## Activates a custom archiver to use instead of MHonArc. The value of this
+## parameter is the absolute path on the file system to the script of the
+## custom archiver.
+#custom_archiver
+
+## Type of main Web page ( lists | home )
+default_home home
+
+## Javascript excerpt that enables and configures the WYSIWYG HTML editor.
+#html_editor_init
+
+#htmlarea_url
+
+## When using LDAP authentication, if the identifier provided by the user was
+## a valid email, if this parameter is set to false, then the provided email
+## will be used to authenticate the user. Otherwise, use of the first email
+## returned by the LDAP server will be used.
+ldap_force_canonical_email 1
+
+#log_condition
+
+## Syslog facility for wwsympa, archived and bounced
+## Default is to use previously defined sympa log facility.
+log_facility `cat /etc/sympa/facility`
+
+#log_module
+
+## Path to MHonArc mail2html plugin
+## This is required for HTML mail archiving
+mhonarc /usr/bin/mhonarc
+
+## Password case (insensitive | sensitive)
+## Should not be changed ! May invalid all user password
+password_case insensitive
+
+## Default number of lines of the array displaying users in the review page
+review_page_size 25
+
+## Title of main Web page
+title Mailing lists service
+
+## If set to "on", users will be able to post messages in HTML using a
+## javascript WYSIWYG editor.
+use_html_editor 0
+
+## Is fast_cgi module for Apache (or Roxen) installed (0 | 1)
+## This module provide much faster web interface
+use_fast_cgi 1
+
+## Default number of lines of the array displaying the log entries in the logs
+## page
+viewlogs_page_size 25
diff --git a/roles/lists/files/etc/sympa/wwsympa.conf b/roles/lists/files/etc/sympa/wwsympa.conf
deleted file mode 100644
index 4d420a3..0000000
--- a/roles/lists/files/etc/sympa/wwsympa.conf
+++ /dev/null
@@ -1,85 +0,0 @@
-###\\\\ Site customization ////###
-
-###\\\\ Directories ////###
-
-###\\\\ System related ////###
-
-###\\\\ Sending related ////###
-
-###\\\\ Bulk mailer ////###
-
-###\\\\ Quotas ////###
-
-###\\\\ Spool related ////###
-
-###\\\\ Internationalization related ////###
-
-###\\\\ Bounce related ////###
-
-## Directory for storing bounces
-## Better if not in a critical partition
-bounce_path /var/spool/sympa/wwsbounce
-
-###\\\\ Tuning ////###
-
-###\\\\ Database related ////###
-
-###\\\\ Loop prevention ////###
-
-###\\\\ S/MIME configuration ////###
-
-###\\\\ DKIM ////###
-
-###\\\\ Antivirus plug-in ////###
-
-###\\\\ Tag based spam filtering ////###
-
-###\\\\ Web interface parameters ////###
-
-## Directory for storing HTML archives
-## Better if not in a critical partition
-arc_path /var/lib/sympa/wwsarchive
-
-## Default index organization when entering the web archive: either threaded (thrd) or in chronological (mail) order
-archive_default_index thrd
-
-## HTTP cookies lifetime
-cookie_expire 0
-
-## HTTP cookies validity domain
-cookie_domain localhost
-
-## Average interval to refresh HTTP session ID.
-cookie_refresh 60
-
-## Type of main Web page ( lists | home )
-default_home home
-
-## When using LDAP authentication, if the identifier provided by the user was a valid email, if this parameter is set to false, then the provided email will be used to authenticate the user. Otherwise, use of the first email returned by the LDAP server will be used.
-ldap_force_canonical_email 1
-
-## Syslog facility for wwsympa, archived and bounced
-## Default is to use previously defined sympa log facility.
-log_facility `cat /etc/sympa/facility`
-
-## Path to MHonArc mail2html plugin
-## This is required for HTML mail archiving
-mhonarc /usr/bin/mhonarc
-
-## Password case (insensitive | sensitive)
-## Should not be changed ! May invalid all user password
-password_case insensitive
-
-## Default number of lines of the array displaying users in the review page
-review_page_size 25
-
-## Title of main Web page
-title Mailing lists service
-
-## Is fast_cgi module for Apache (or Roxen) installed (0 | 1)
-## This module provide much faster web interface
-use_fast_cgi 1
-
-## Default number of lines of the array displaying the log entries in the logs page
-viewlogs_page_size 25
-
diff --git a/roles/lists/files/etc/systemd/system/wwsympa.service b/roles/lists/files/etc/systemd/system/wwsympa.service
index cccf508..7d2440c 100644
--- a/roles/lists/files/etc/systemd/system/wwsympa.service
+++ b/roles/lists/files/etc/systemd/system/wwsympa.service
@@ -16,10 +16,10 @@ PrivateDevices=yes
ProtectHome=yes
ProtectSystem=strict
PrivateTmp=yes
-ReadOnlyDirectories=/
-ReadWriteDirectories=-/var/lib/sympa
+ReadWriteDirectories=/etc/sympa
+ReadWriteDirectories=/var/lib/sympa
ReadWriteDirectories=-/var/run/sympa
-ReadWriteDirectories=-/var/spool/sympa
+ReadWriteDirectories=/var/spool/sympa
[Install]
WantedBy=multi-user.target