Commit Graph

183 Commits

Author SHA1 Message Date
Spitap
439ffb94c4 initial commit 2022-07-26 10:37:38 +02:00
Spitap
37bc21dfd3 Backup postewhite.conf instead of custom whitelist
Postwhite.conf contains a custom host list
2022-07-26 10:36:08 +02:00
Spitap
26204143af Merge branch 'master' into backup 2022-07-25 22:10:26 +02:00
Spitap
20970557de Allow to disable mail backup 2022-07-25 22:05:35 +02:00
Antoine Nguyen
2123ccf9c3 Merge pull request #415 from saaditDE/saaditDE-PatchTLSVAndCiphers-1
Replacing old TLS versions and insecure ciphers
2022-07-22 09:49:44 +02:00
Spitap
db6457c5f5 better path handling 2022-07-21 19:07:18 +02:00
Spitap
579faccfa5 added an automatic bash option (no path provided) or a path provided bash (for cron job) 2022-07-21 19:00:32 +02:00
Spitap
5318fa279b bash option 2022-07-21 18:00:50 +02:00
Spitap
54185a7c5a Fix database backup logic issue 2022-07-21 17:26:40 +02:00
Spitap
1f9d69c37c Fix copy issue 2022-07-21 17:21:59 +02:00
Spitap
8d02d2a9fb added safe mkdir in utils, use utils.mkdir_safe() in backup 2022-07-21 17:09:23 +02:00
Spitap
6f604a5fec Fix loop logic 2022-07-21 16:53:56 +02:00
Spitap
568c4a65a0 fix none-type passed to os.path 2022-07-21 16:51:32 +02:00
Spitap
dc84a79528 Note : capitalize affects only first letter 2022-07-21 14:12:35 +02:00
Spitap
304e25fa3c Fix getattr 2022-07-21 14:10:57 +02:00
Spitap
070efd61c4 Fix import 2022-07-21 14:08:39 +02:00
Spitap
9917d8023e Edited README, fix backup run process 2022-07-21 14:02:41 +02:00
Spitap
27b9de6755 database backup 2022-07-21 13:48:44 +02:00
Spitap
56ed214fb5 Starting work on backup system 2022-07-19 19:06:53 +02:00
jfhovinne
6466a68d46 Ensure redis server is started 2022-06-05 14:40:53 +02:00
Antoine Nguyen
578fc05981 Added support for amavis 2.12.X (ubuntu 22.04)
see #413
2022-05-18 10:48:53 +02:00
Karim
85dc113fe4 Replaceing old TLS versions and insecure ciphers
NEVER use SSL / TLS in outdated versions or insecure / oudated ciphers. Current state-of-the-art TLS Versions are TLSv1.2 and TLSv1.3. TLSv1.2 is only enabled for backwards compatibility. Ciphers are taken out of the guide. 

```ssl_ciphers ECDHE-RSA-AES256-GCM-SHA512:DHE-RSA-AES256-GCM-SHA512:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384;```

Are the recommended ciphers out of  source 4 in combination of all other sources.
 
source 1: https://www.linuxtechi.com/harden-secure-nginx-web-server-linux
source 2: https://beaglesecurity.com/blog/article/nginx-server-security.html
source 3: https://www.acunetix.com/blog/articles/tls-ssl-cipher-hardening/
source 4: https://raymii.org/s/tutorials/Strong_SSL_Security_On_nginx.html
2022-05-18 01:22:45 +02:00
Antoine Nguyen
7f87c2518c Merge pull request #358 from staticsafe/patch-1
Update Postfix main.cf template to allow IPv6
2021-10-14 10:09:28 +02:00
Xavier Gendre
d447bfa81b Fix PostgreSQL URI
SQLAlchemy removed support for `postgres://`, the URI has to start with `postgresql://`.
2021-10-07 22:47:15 +02:00
Antoine Nguyen
16b66a0200 Force setuptools version tp <58.0.0
see https://setuptools.pypa.io/en/latest/history.html#v58-0-0
2021-09-22 17:05:00 +02:00
Antoine Nguyen
5b506a2eb9 fix #392 2021-09-22 16:12:21 +02:00
Antoine Nguyen
58f5a8af09 Fixed issue with Debian bullseye (11). 2021-09-22 11:32:55 +02:00
Antoine Nguyen
32041a40e2 Temp. fix for django-webpack-loader compat issue. 2021-06-07 12:54:58 +02:00
Antoine Nguyen
c9d67250ba Revert change since it prevents opendkim to work properly. 2021-04-23 09:32:22 +02:00
Antoine Nguyen
33a909a264 Disable milters for amavis receiver. 2021-03-20 09:20:45 +01:00
Sadiq Saif
becd427f6b Update Postfix main.cf template to allow IPv6
setting inet_protocols to all allows Postfix to use IPv6 if available on a host

fixes issue #344
2020-12-28 13:01:27 -05:00
Antoine Nguyen
c39adcbd14 Added support for Modoboa 1.16 2020-10-05 09:15:59 +02:00
Antoine Nguyen
1960e29c97 Fixed radicale setup. 2020-09-17 21:19:54 +02:00
Antoine Nguyen
1fa390513d Python 3.8 fixes. 2020-09-15 11:14:23 +02:00
Antoine Nguyen
c3b6ce9b8e Force installation of radicale==2.1.12 2020-06-09 14:08:46 +02:00
Antoine Nguyen
68ec298fc9 Disabled radicale-storage-by-index plugin. 2020-06-09 11:08:39 +02:00
Antoine Nguyen
6da2f292cd Make sure to deploy Radicale < 3. 2020-06-09 10:18:38 +02:00
Antoine Nguyen
c0d61d86c7 Merge branch 'master' of github.com:modoboa/modoboa-installer 2020-05-18 14:51:16 +02:00
Antoine Nguyen
2b9f5cdb6b Removed bogus list.
fix #322
2020-05-18 14:50:44 +02:00
Antoine Nguyen
1fd2cf5a6c Merge pull request #297 from ionescu77/prDkimDbPrio
Pr dkim set db prio for deb & rpm, for mysql & postgres
2020-03-17 15:08:46 +01:00
Antoine Nguyen
7d06f9aaf1 Make sure /etc/mailname file exists before amavis is installed.
see #1801
2020-03-05 11:19:19 +01:00
Antoine Nguyen
b5aa1bc7e7 Do not enable cron job if dovecot is disabled. 2020-03-04 11:14:39 +01:00
Razvan Ionescu
6b1f0db475 OpenDKIM start Condition see comments in PR #217, #262 2020-02-20 10:56:00 +01:00
Antoine Nguyen
63c29c34b9 Deploy python3 virtualenvs only. 2019-12-06 12:18:01 +01:00
Antoine Nguyen
851a0f2bb1 Added Debian 10 support. 2019-12-03 21:15:07 +01:00
ga25waq
edd0a32fc6 Adds experimental support for systemd's unit "mysqld" used in CentOS 2019-04-30 21:56:34 +02:00
Antoine Nguyen
688c7744af automx: include domain name in query result. 2019-04-29 12:11:42 +02:00
ga25waq
ac018b3bff Adds systemd directive to start OpenDKIM after PostgreSQL/MySQL 2019-04-02 22:15:59 +02:00
Antoine Nguyen
6c28be4cca Merge pull request #261 from modoboa/feature/upgrade_mode
Installer upgrade mode.
2019-03-19 10:56:31 +01:00
Antoine Nguyen
503145eaad Installer upgrade mode. 2019-03-19 10:49:27 +01:00