Commit Graph

609 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
Spitap
632c26596e Update backup readme 2022-07-25 21:52:15 +02:00
Antoine Nguyen
d495afd4c2 Merge pull request #420 from saaditDE/saaditDE-removeForceRenew-removeNoUpgrade-Patch
removed forcing renew, no-autoupgrade
2022-07-22 09:49:57 +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
9e1c18cd6b Fix argument passed as list instead of string 2022-07-21 19:09:53 +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
74de6a9bb1 Reset pgpass before trying to backup secondary dbs 2022-07-21 17:31:56 +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
Antoine Nguyen
9ff989a062 Merge pull request #417 from jfhovinne/start-redis
Ensure redis server is started
2022-06-28 18:43:40 +02:00
Karim
4301bcca74 removed forcing renew, no-autoupgrade
only renew, no force fix and do upgrades
https://github.com/modoboa/modoboa/issues/2129
2022-06-27 19:49:46 +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
d272118d6a Merge branch 'master' of github.com:modoboa/modoboa-installer 2021-11-04 10:26:45 +01:00
Antoine Nguyen
04b38cf52a Fixed /etc/os-release parsing.
fix #399
2021-11-04 10:26:02 +01: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
Antoine Nguyen
a4b930d337 Merge pull request #395 from TheMultii/master
corrected a typo
2021-10-14 10:05:56 +02:00
Antoine Nguyen
90cc17db95 Merge pull request #397 from Meseira/patch-1
Fix PostgreSQL URI
2021-10-14 10:05:21 +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
TheMultii
1a8c2d405a corrected a typo 2021-09-25 21:01:51 +02:00
Antoine Nguyen
f7985a9d03 Fix #393 2021-09-23 09:01:31 +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
d3f56ef8d0 Updated README file. 2021-09-22 11:47:00 +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
Antoine Nguyen
6fdf57b703 Prevent daemons to start at installation on debian like systems. 2021-03-20 09:20:02 +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
4d64618f58 Merge branch 'master' of github.com:modoboa/modoboa-installer 2020-11-10 16:09:39 +01:00
Antoine Nguyen
638f0681ba Removed modoboa-stats. 2020-11-10 16:09:18 +01:00
Christophe CHAUVET
f35ca4e81a Add Stale bot 2020-10-30 12:26:56 +01:00
Antoine Nguyen
c15d868f15 Merge pull request #341 from J0000/patch-1
Patch 1
2020-10-28 18:34:45 +01:00
Antoine Nguyen
f6b9b4b762 Merge pull request #348 from daniel-leicht/master
Fixed dist_info() case sensitivity for certbot installation
2020-10-28 18:33:28 +01:00