1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-02-13 13:28:30 +02:00

2079 Commits

Author SHA1 Message Date
Florent Daigniere
fa516b964d useGlobalPreferredServer=false in autoconfig
(cherry picked from commit 4cf35e7228ae2478e36d9a2ca0bb730fc619a8e7)
2025-01-09 20:35:40 +00:00
Florent Daigniere
188c1f08eb doh
(cherry picked from commit a0558bf5c079811431062b446005ae371d0af327)
2025-01-01 01:36:25 +00:00
Florent Daigniere
ea8026ba00 Add the mariadb connector as per 3449
(cherry picked from commit adc8ef9aba92450fc8c5696bffb9d8e1e1163837)
2025-01-01 01:36:25 +00:00
Fabian Stanke
a4e3ade323 Include error messages for LMTP
These are difficult to debug log messages, when instead of an error message one gets a stack trace with `KeyError: 'lmtp'`

(cherry picked from commit ec1e49d137222974f7d711ecb9bdff29597f8885)
2024-12-27 09:51:47 +00:00
Florent Daigniere
7323fbd4a0 Ensure mobileconfig has the right content-type
(cherry picked from commit 64d0bb603d168129b598f4d7bb7aa789b034066a)
2024-12-22 19:15:27 +00:00
Florent Daigniere
1805ef4480 Don't check empty passwords against HIBP
(cherry picked from commit f1c5ac5b14e9654218777cfcf311ee253233f837)
2024-11-17 14:48:36 +00:00
bors-mailu[bot]
cfae470cbb
Merge #3623
3623: alpine 3.20.3 (backport #3622) r=mergify[bot] a=mergify[bot]

## What type of PR?

bug-fix

## What does this PR do?

Upgrade from alpine 3.20.0 to alpine 3.20.3 ; We need a fix for [CVE-2024-5535](https://security.alpinelinux.org/vuln/CVE-2024-5535)

### Related issue(s)


## Prerequisites
Before we can consider review and merge, please make sure the following list is done and checked.
If an entry in not applicable, you can check it or remove it from the list.

- [ ] In case of feature or enhancement: documentation updated accordingly
- [x] Unless it's docs or a minor change: add [changelog](https://mailu.io/master/contributors/workflow.html#changelog) entry file.
<hr>This is an automatic backport of pull request #3622 done by [Mergify](https://mergify.com).

Co-authored-by: Florent Daigniere <nextgens@freenetproject.org>
2024-10-21 21:26:20 +00:00
Florent Daigniere
5b2456cc8e alpine 3.20.3
(cherry picked from commit 152b45a0e93c0b029894693017b321cd970da728)
2024-10-21 10:33:17 +00:00
Alexander Graf
9dae649f31 Flush buffer on flush() and flush explicitely after subprocess has ended
(cherry picked from commit f16467b984232ffdf7fd7294bfd9457d66514dd4)
2024-10-17 15:36:22 +00:00
Alexander Graf
5e8fdd4c9e Filter logs line based and in binary mode without decoding utf-8
(cherry picked from commit 4a49234afa2e762d178f46b3da8365164e3fb765)
2024-10-17 15:36:21 +00:00
Florent Daigniere
df3329962c Ensure healthchecks timeout
(cherry picked from commit 7aaf7ec17b3d3c736c4fce64e7d547752f9e121e)

# Conflicts:
#	towncrier/newsfragments/3398.misc
2024-10-17 12:58:46 +00:00
Florent Daigniere
450c78f7b0 Fix http2
(cherry picked from commit fb49ef905759fd71ec93650f2adcb427fb0b37da)
2024-10-15 19:33:41 +00:00
bors-mailu[bot]
6b5bb5fcd1
Merge #3559
3559: Fix #3531 (backport #3557) r=mergify[bot] a=mergify[bot]

## What type of PR?

bug-fix

## What does this PR do?

Ensure we have both RSA and ECDSA certs when using letsencrypt now that the default behaviour from certbot has changed.
This is only important for new installs, not those renewing existing certs.

### Related issue(s)
- closes #3531

## Prerequisites
Before we can consider review and merge, please make sure the following list is done and checked.
If an entry in not applicable, you can check it or remove it from the list.

- [ ] In case of feature or enhancement: documentation updated accordingly
- [x] Unless it's docs or a minor change: add [changelog](https://mailu.io/master/contributors/workflow.html#changelog) entry file.
<hr>This is an automatic backport of pull request #3557 done by [Mergify](https://mergify.com).

Co-authored-by: Florent Daigniere <nextgens@freenetproject.org>
2024-09-23 09:16:11 +00:00
Florent Daigniere
e47da4ba0d Fix #3531
(cherry picked from commit 8e4af5ad05812c9c8914582312e885a5b6010f5d)
2024-09-22 13:25:31 +00:00
Florent Daigniere
bd7a5bd235 Add delay
(cherry picked from commit c11815b3a012e16bae259b08b517d1df0886486b)
2024-09-13 07:29:26 +00:00
Florent Daigniere
6d2daebe68 Maybe fix #3402
(cherry picked from commit 8b34fbe8810239d36134cd9756904112d932e194)
2024-09-13 07:29:25 +00:00
Florent Daigniere
4dc2e0b48a Need sleep.
(cherry picked from commit 07f0ec3d0b084e93bafb3585f3c43bbcfe433a39)
2024-09-12 21:26:07 +00:00
Florent Daigniere
e7caca3e08 As per review
(cherry picked from commit 12e94b7616c1c5447e4c9beb05bb608478736905)
2024-09-12 15:34:09 +00:00
Florent Daigniere
c193cf1d60 play it safe
(cherry picked from commit f4ab22edbce7e4d2181f5821d1ae83f5ce46bd00)
2024-09-12 15:34:09 +00:00
Florent Daigniere
0bdb9e1cea Apply suggestions from code review
Co-authored-by: Alexander Graf <ghostwheel42@users.noreply.github.com>
(cherry picked from commit cdf8ee8820ec0f797c4c75329bfbf8e14a35916c)
2024-09-12 15:34:09 +00:00
Florent Daigniere
cb3ed1598d doh
(cherry picked from commit c6c4c09f08fdd130105c04d3e529f0fcda956f65)
2024-09-12 15:34:09 +00:00
Florent Daigniere
80427fb77c Fix #3450
(cherry picked from commit a875d7fe6a8dc50afbd8a08c99af1c724e85de4f)
2024-09-12 15:34:09 +00:00
Florent Daigniere
8e0809ebfe Fix #3411
(cherry picked from commit 63769c73cfcb1ca0142cf488de65541b1bd0ad3e)
2024-09-09 18:03:58 +00:00
Dimitri Huisman
883af43f7a Fix 3420 - fixed syntax errors in certwatcher.py
(cherry picked from commit c4f457e7f965c8a8e4a28bc938e147ef2c8ef558)
2024-09-09 14:18:48 +00:00
Florent Daigniere
f5bc226574 INBOUND_TLS_ENFORCE makes no sense.
(cherry picked from commit 28c28b1c84fb8699fed89fc9fc1519051f32d0d4)
2024-09-07 18:45:50 +00:00
Florent Daigniere
eb2754c211 doh
(cherry picked from commit 5ea3840fc47029f6d5cc41eb3ac41a155213806b)
2024-09-07 18:45:50 +00:00
Florent Daigniere
0e9721b7f9 Untested code that may fix the following:
Exception in thread Thread-2 (forward_text_lines):
Traceback (most recent call last):
  File "/usr/lib/python3.12/threading.py", line 1073, in _bootstrap_inner
    self.run()  File "/usr/lib/python3.12/threading.py", line 1010, in run
    self._target(*self._args, **self._kwargs)
  File "/app/venv/lib/python3.12/site-packages/socrate/system.py", line 155, in forward_text_lines
    current_line = src.readline()
                   ^^^^^^^^^^^^^^
  File "<frozen codecs>", line 322, in decode
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa8 in position 166: invalid start byte

This was reported in #3398

(cherry picked from commit 61812ac32a96b06497e2d646a60b0a2f349f1937)
2024-09-07 18:45:50 +00:00
Florent Daigniere
45c39d9416 fix #3379
(cherry picked from commit bae4855bea381a7d6f202386da0c08eea9edb306)
2024-09-07 18:45:50 +00:00
Florent Daigniere
a0cb9852ac doh
(cherry picked from commit b426c679494ca5e562679b331e3402a7637491d0)
2024-09-07 18:45:50 +00:00
Florent Daigniere
8c6b0ccdb3 fix #3403
(cherry picked from commit e5790a297aa3cfaf0092970ea3716e6cb1eda7f9)
2024-09-07 18:45:49 +00:00
Florent Daigniere
6fc97ee2cb doh2
(cherry picked from commit 1917bf7ee4ded980f66f39483547a16f80e2a107)
2024-08-11 16:43:16 +00:00
Florent Daigniere
7556df2fa7 Fix CI
(cherry picked from commit 616376eb5a56278c2ba5c454eb58aa89c18afa6b)
2024-08-11 16:43:16 +00:00
Florent Daigniere
b36018e0c1 Handle the case where PROXY_PROTOCOL_25 is set
(cherry picked from commit 0ff18c607923eaa364327dffd510d127667bea75)
2024-08-11 16:43:16 +00:00
Florent Daigniere
79a393d601 s/nginx/front
(cherry picked from commit 5cfec650dfcee49b840134bd61292ace8fe3ea15)
2024-08-09 14:35:38 +00:00
Florent Daigniere
f2c0a147fa as per review
(cherry picked from commit 78c5d34227c7e42b4f7aaef8cd431697726f0485)
2024-08-09 14:35:38 +00:00
Florent Daigniere
14196e5054 Do the same with Client-Ip
(cherry picked from commit 98f671dc2e4be4fbc2ed64a5e36263caa217183c)
2024-08-09 14:35:37 +00:00
Florent Daigniere
1366ee3fc7 doh
(cherry picked from commit d7c6528f045e50b939675fcb6730ab4813aeb6d4)
2024-08-09 14:35:37 +00:00
Florent Daigniere
a5af42a6ef Better
(cherry picked from commit 38ea029bd9b118e58627055a900ae8357e9e48e5)
2024-08-09 14:35:37 +00:00
Florent Daigniere
00ef3cb950 Remove this insanity since we don't use nginx
(cherry picked from commit 148c8f9ede32e649129eaec3eba0e3886db1d0a5)
2024-08-09 14:35:37 +00:00
Florent Daigniere
3d4a9ac29c Fix #3364
(cherry picked from commit ee243ea735744b296bb90b2c1e6a1fded8915c8d)
2024-08-09 14:35:37 +00:00
bors-mailu[bot]
30734b49aa
Merge #3363
3363: Update 3rd party deps (backport #3358) r=mergify[bot] a=mergify[bot]

## What type of PR?

bug-fix

## What does this PR do?

Update 3rd party deps (clamav & snappymail), clarify the wording in the docs related to rspamd overrides.

### Related issue(s)
- closes #3347 
- closes #3360 (thank you [ctrl-i](https://github.com/ctrl-i) for the heads up)
- #3359 

## Prerequisites
Before we can consider review and merge, please make sure the following list is done and checked.
If an entry in not applicable, you can check it or remove it from the list.

- [ ] In case of feature or enhancement: documentation updated accordingly
- [x] Unless it's docs or a minor change: add [changelog](https://mailu.io/master/contributors/workflow.html#changelog) entry file.
<hr>This is an automatic backport of pull request #3358 done by [Mergify](https://mergify.com).

Co-authored-by: Florent Daigniere <nextgens@freenetproject.org>
2024-08-06 16:44:54 +00:00
Florent Daigniere
dcd843d4ba Add a new CNAME for old MUAs
(cherry picked from commit cfec4c58cc20faf18540c574b00bc76568d62f86)
2024-08-06 16:27:34 +00:00
Florent Daigniere
95edcd8dcb As per review
(cherry picked from commit 11e72e70349c3ab89e8a6c538deb15692a40d7c0)
2024-07-30 11:08:52 +00:00
Florent Daigniere
ca6488e2ff as per review
(cherry picked from commit 0eafff00c14b44e7e6970c6fdcfa4aa54553d97e)
2024-07-30 11:08:52 +00:00
Florent Daigniere
6173f5e434 simplify again the logic
(cherry picked from commit f003c0e712ba609457695ccfa89f55a4fa544c32)
2024-07-30 11:08:52 +00:00
Florent Daigniere
745d26acf5 Fix email forwarding when set from the UI
(cherry picked from commit 9120f731fc610407a11fb72020b21c7046924efa)
2024-07-30 11:08:52 +00:00
Florent Daigniere
9392c62664 Fix smtpd_forbid_unauth_pipelining w XCLIENT
(cherry picked from commit 648c98ab0500b25e7eef9bc09c53e3ce05c56e25)
2024-07-01 15:47:49 +00:00
Florent Daigniere
47b2cd4792 Update models.py
(cherry picked from commit 98b3016bbdb0fd96e5823e140ae8e7facfedfd20)
2024-06-26 12:26:15 +00:00
Florent Daigniere
dc86008cb4 optimize as per review
(cherry picked from commit cdbfa4ee01e87ed02e9e0e5e129a6b19c8901f20)
2024-06-26 12:26:15 +00:00
Florent Daigniere
8e28050510 Don't let people disable 465 and 993
This is what we use for the other type of autoconfig... and really what
everyone should be using.

(cherry picked from commit 5fb44bd7190ec2e2d70e06927f641d0b5df44ed8)
2024-06-26 12:26:15 +00:00