1
0
mirror of https://github.com/Mailu/Mailu.git synced 2024-12-14 10:53:30 +02:00
Commit Graph

4837 Commits

Author SHA1 Message Date
Florent Daigniere
dc86008cb4 optimize as per review
(cherry picked from commit cdbfa4ee01)
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 5fb44bd719)
2024-06-26 12:26:15 +00:00
Florent Daigniere
fd4ba4bd86 Update autoconfig too
(cherry picked from commit b3d49599cf)
2024-06-26 12:26:14 +00:00
Florent Daigniere
42b4dd2004 ports not in PORTS should not be bound
(cherry picked from commit b7dcf45267)
2024-06-26 12:26:14 +00:00
bors-mailu[bot]
8bd5d0f23d
Merge #3317 #3318
3317: define client_ip variable (backport #3315) r=mergify[bot] a=mergify[bot]

## What type of PR?

bug-fix

## What does this PR do?

### Related issue(s)
closes #3314 

## 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.

- [x] 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 #3315 done by [Mergify](https://mergify.com).

3318: nginx should recursively set the realip until the first no trusted ad… (backport #3313) r=mergify[bot] a=mergify[bot]

## What type of PR?

bug-fix

## What does this PR do?

### Related issue(s)

closes https://github.com/Mailu/Mailu/issues/3311

## 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.

- [x] 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 #3313 done by [Mergify](https://mergify.com).

Co-authored-by: Dominik Hebeler <dominik@suma-ev.de>
2024-06-26 11:38:07 +00:00
Dominik Hebeler
33516af243 do not put real_ip_recursive within the for-loop
(cherry picked from commit 5be25b5887)
2024-06-26 07:36:28 +00:00
Dominik Hebeler
c941950344 nginx should recursively set the realip until the first no trusted address is found
(cherry picked from commit 28f3b60615)
2024-06-26 07:36:28 +00:00
Dominik Hebeler
bca4fdffdb define client_ip variable
(cherry picked from commit 34766602a8)
2024-06-26 07:30:26 +00:00
bors-mailu[bot]
0d2630c47b
Merge #3300
3300: fix warnings (backport #3299) r=mergify[bot] a=mergify[bot]

## What type of PR?

bug-fix

## What does this PR do?

fix warnings

### Related issue(s)
- close #3297 

## 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
- [ ] 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 #3299 done by [Mergify](https://mergify.com).

Co-authored-by: Florent Daigniere <nextgens@freenetproject.org>
2024-06-19 17:46:09 +00:00
Florent Daigniere
de922fd7e4 better
(cherry picked from commit 89ff26660f)
2024-06-19 17:00:57 +00:00
Florent Daigniere
2d2e9c4d8a another
(cherry picked from commit c0d0dcf713)
2024-06-19 17:00:57 +00:00
Florent Daigniere
600235f393 another one
nginx: [warn] the "listen ... http2" directive is deprecated, use the "http2" directive instead in /etc/nginx/nginx.conf:90
(cherry picked from commit e9db8c4509)
2024-06-19 17:00:57 +00:00
Florent Daigniere
a4542507b5 remove another warning
ERROR:root:Not sure what to do with  in PROXY_PROTOCOL (None)
(cherry picked from commit 12c1affc05)
2024-06-19 17:00:56 +00:00
Florent Daigniere
1bcbf4b613 fix warnings again
(cherry picked from commit cfd7e6b690)
2024-06-19 17:00:56 +00:00
Florent Daigniere
59bcf25b5b fix warnings
(cherry picked from commit 2b6daf6157)
2024-06-19 17:00:56 +00:00
bors-mailu[bot]
0320ddeb72
Merge #3296
3296: webdav (radicale) not reachable (backport #3295) r=mergify[bot] a=mergify[bot]

## What type of PR?

bug-fix

## What does this PR do?
Radicale was listening only on localhost:5232 (default setting). Due to this radicale was not reachable from front. Now it listens on 0.0.00:5232 and is reachable again.

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

## 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.

- [x] 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 #3295 done by [Mergify](https://mergify.com).

Co-authored-by: Dimitri Huisman <diman@huisman.xyz>
Co-authored-by: Dimitri Huisman <52963853+Diman0@users.noreply.github.com>
2024-06-18 20:12:33 +00:00
Dimitri Huisman
2165e51707
Add IPv6 listener for SUBNET6 2024-06-18 20:22:02 +02:00
Dimitri Huisman
a30093c6da Radicale was listening only on localhost:5232. Now listens on 0.0.0.0:5232
(cherry picked from commit 957abbf733)
2024-06-18 18:13:47 +00:00
Dimitri Huisman
3613a8bcee
Re-add the newsfragments directory 2024-06-18 08:43:03 +00:00
bors-mailu[bot]
182d504fa3
Merge #3292
3292: Use correct order for versions for docs r=Diman0 a=Diman0

## What type of PR?
minor fix

## What does this PR do?
I added the version in the wrong order to docs/conf.py

### 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.

- [ n/a] In case of feature or enhancement: documentation updated accordingly
- [ n/a] Unless it's docs or a minor change: add [changelog](https://mailu.io/master/contributors/workflow.html#changelog) entry file.


Co-authored-by: Dimitri Huisman <diman@huisman.xyz>
2024-06-18 07:58:52 +00:00
Dimitri Huisman
423387051a
Use correct order for versions for docs 2024-06-18 07:46:58 +00:00
bors-mailu[bot]
df117338fa
Merge #3195
3195: Initial changes for new release.  r=mergify[bot] a=Diman0

Releases.rst and CHANGELOG.md must still be updated.

## What type of PR?

preparations for new release

## What does this PR do?
Preparations for new release. I must still write full changelog, new features overview and upgrade instructions.

### 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.

- [x] 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.


Co-authored-by: Dimitri Huisman <diman@huisman.xyz>
Co-authored-by: Florent Daigniere <nextgens@users.noreply.github.com>
2024-06-18 07:26:34 +00:00
Florent Daigniere
caf4b1359a
Apply suggestions from code review 2024-06-14 17:47:31 +02:00
Dimitri Huisman
897d0acf75
Update release notes 2024-06-09 15:19:29 +00:00
Dimitri Huisman
f3c55cc5f9
Update CHANGELOG.md with latest towncrier entries 2024-06-09 15:03:15 +00:00
Dimitri Huisman
415c55e73b
Update version numbers 2024-06-09 14:56:34 +00:00
Dimitri Huisman
f5cc8163c5
Further finish release notes 2024-06-09 13:46:39 +00:00
Dimitri Huisman
412c8c48d6
Merge branch 'master' into preparations-release 2024-06-09 11:43:02 +00:00
bors-mailu[bot]
c5d246e08c
Merge #3209
3209: Add missing translations for Dutch, German, French and Polish r=mergify[bot] a=Diman0

## What type of PR?

bug-fix

## What does this PR do?
Adds missing translations for Dutch. These strings were introduced after 2.0. Practically **all** translations must be updated with these strings.

### 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.

- [n/a] 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.


Co-authored-by: Dimitri Huisman <diman@huisman.xyz>
2024-06-09 10:28:23 +00:00
Dimitri Huisman
e5d2fc5de0
Update newsfragment 2024-06-09 10:18:43 +00:00
bors-mailu[bot]
d91a04dd00
Merge #3221
3221: Better PROXY_PROTOCOL r=mergify[bot] a=nextgens

## What type of PR?

Feature

## What does this PR do?

- Disable IMAP, POP3 and Submission by default; see https://nostarttls.secvuln.info/ on why explicit TLS is going away.
- Change the semantic of PROXY_PROTOCOL to make it configurable per port
- fix TLS_FLAVOR=notls not working with snappymail
- fix TLS_PERMISSIVE
- remove KUBERNETES_INGRESS; shouldn't be needed anymore
- update the documentation and the reverse proxy example

### Related issue(s)
- close #3162
- close #3061

## 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.

- [x] 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.


Co-authored-by: Florent Daigniere <nextgens@freenetproject.org>
Co-authored-by: Florent Daigniere <nextgens@users.noreply.github.com>
2024-06-09 10:17:32 +00:00
Dimitri Huisman
712f5f48a8
Add missing translation for German 2024-06-09 10:13:10 +00:00
Florent Daigniere
52e02d4c56
Update core/nginx/dovecot/proxy.conf
Co-authored-by: Dimitri Huisman <52963853+Diman0@users.noreply.github.com>
2024-06-09 11:59:12 +02:00
Florent Daigniere
c63bd0ce38
Update core/nginx/conf/nginx.conf
Co-authored-by: Dimitri Huisman <52963853+Diman0@users.noreply.github.com>
2024-06-09 11:59:05 +02:00
bors-mailu[bot]
a5858afda3
Merge #3207
3207: Add Belarusian translation. r=mergify[bot] a=spoooyders

## What type of PR?

Translation.

## What does this PR do?
Adds Belarusian translation.

### 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.

- [x] 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.


Co-authored-by: pavuki <tech@i2p.cc>
2024-06-09 09:55:35 +00:00
bors-mailu[bot]
c18eb3a33c
Merge #3232
3232: simplify the logic, add an extra check on the API auth handler r=mergify[bot] a=nextgens

## What type of PR?

enhancement

## What does this PR do?

simplify the logic of API authentication, ensure that the API token is at least 3 characters

### 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
- [ ] Unless it's docs or a minor change: add [changelog](https://mailu.io/master/contributors/workflow.html#changelog) entry file.


Co-authored-by: Florent Daigniere <nextgens@freenetproject.org>
Co-authored-by: Florent Daigniere <nextgens@users.noreply.github.com>
Co-authored-by: Dimitri Huisman <diman@huisman.xyz>
2024-06-09 09:47:25 +00:00
Dimitri Huisman
12ccdebd20
Update documentation with new length requirement for API_TOKEN 2024-06-09 09:44:42 +00:00
bors-mailu[bot]
6a08a6ed14
Merge #3279
3279: Alpine 3.20 r=mergify[bot] a=nextgens

## What type of PR?

enhancement

## What does this PR do?

Switch to alpine 3.20. We still need edge for hardened-malloc.

Ensure we use 'normalize-icu' when indexing keywords in mails.

### Related issue(s)
- #2977

## 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.


Co-authored-by: Florent Daigniere <nextgens@freenetproject.org>
2024-05-28 11:24:52 +00:00
Florent Daigniere
7df8cdbe01 Ensure we normalize for all languages 2024-05-27 18:33:25 +02:00
Florent Daigniere
72bf53105c doh2 2024-05-27 16:03:03 +02:00
Florent Daigniere
6dbceeeefa doh 2024-05-27 15:43:50 +02:00
Florent Daigniere
47c53a429c towncrier 2024-05-27 15:42:42 +02:00
Florent Daigniere
eddcedf5cf Alpine 3.20 2024-05-27 15:34:53 +02:00
bors-mailu[bot]
2a0791dd79
Merge #3270
3270: Use the new image name for Tika r=mergify[bot] a=nextgens

## What type of PR?

bug-fix

## What does this PR do?

Use the new image name for Tika. See https://github.com/Mailu/Mailu/pull/3269#issuecomment-2123274960 for context.

### 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
- [ ] Unless it's docs or a minor change: add [changelog](https://mailu.io/master/contributors/workflow.html#changelog) entry file.


Co-authored-by: Florent Daigniere <nextgens@freenetproject.org>
2024-05-24 11:24:00 +00:00
Florent Daigniere
8c92bd5b4f Use the new image name 2024-05-21 21:14:13 +02:00
bors-mailu[bot]
16d99b71d2
Merge #3269
3269: Upgrade Tika and switch to the upstream image r=mergify[bot] a=nextgens

## What type of PR?

bug-fix

## What does this PR do?

Upgrade Tika to 2.9.2 and switch to the upstream image

We couldn't do it before as there was no multi-arch image upstream
See https://github.com/apache/tika-docker/pull/19

### 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
- [ ] Unless it's docs or a minor change: add [changelog](https://mailu.io/master/contributors/workflow.html#changelog) entry file.


Co-authored-by: Florent Daigniere <nextgens@freenetproject.org>
2024-05-21 09:16:34 +00:00
Florent Daigniere
3c9f825e4f Pin a version of requests that works
See https://github.com/psf/requests/issues/6707
2024-05-21 10:36:53 +02:00
Florent Daigniere
2bf19ead47 Switch to the upstream image of Tika
See https://github.com/apache/tika-docker/pull/19
Upgrade to 2.9.2 while at it
2024-05-21 10:15:27 +02:00
bors-mailu[bot]
6e08e591fb
Merge #3247
3247: Update all dependencies r=mergify[bot] a=nextgens

## What type of PR?

bug-fix

## What does this PR do?

Update all dependencies including snappymail to 2.36.1

### Related issue(s)
- close #3032 

## 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.


Co-authored-by: Florent Daigniere <nextgens@freenetproject.org>
2024-05-20 12:03:01 +00:00
Florent Daigniere
4c5ad20459 doh 2024-05-20 11:08:06 +02:00