1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-10-30 23:37:43 +02:00

5034 Commits

Author SHA1 Message Date
bors-mailu[bot]
9082055ad0 Merge #3934 #3940
3934: chore: fix link to charts r=nextgens a=dekarl

charts moved to the charts folder in f76c60a540

## What type of PR?

documentation

## What does this PR do?
track moved link destination

### Related issue(s)
- the chart was moved in: [#001](https://github.com/Mailu/helm-charts/pull/389)

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


3940: Reenable nginx request buffering to fix roundcube r=nextgens a=nextgens

## What type of PR?

bug-fix

## What does this PR do?

Re-enable nginx request buffering to fix roundcube

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

## 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: Karl Egly <dekarl@web.de>
Co-authored-by: Florent Daigniere <nextgens@freenetproject.org>
2025-10-20 11:16:00 +00:00
bors-mailu[bot]
aaec71397c Merge #3938
3938: Switch to clamav's base image r=nextgens a=nextgens

## What type of PR?

bug-fix

## What does this PR do?

Use clamav's lighter base-image

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

## 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>
2025-10-20 11:07:05 +00:00
Florent Daigniere
418aee8634 stick with 1.4 TLS then 2025-10-20 10:42:09 +02:00
Florent Daigniere
ca89739174 Reenable nginx request buffering to fix roundcube 2025-10-18 21:48:59 +02:00
Florent Daigniere
e9df0159f7 Upgrade clamav to 1.5, use base image 2025-10-18 20:25:19 +02:00
Karl Egly
1e9e87b2d9 chore: fix link to charts
charts moved to the charts folder in f76c60a540
2025-10-15 15:34:47 +02:00
bors-mailu[bot]
0ce884df29 Merge #3927
3927: Fixes around non-blocking I/O in the thread manager r=mergify[bot] a=sdomi

## What type of PR?

bug-fix

## What does this PR do?

Attempts to fix an issue around blocking I/O in `start.py`. Currently, if a process crashes leaving a zombie thread, `start.py` will use 100% CPU on two threads (trying to read stdout/stderr). This can be reproduced by starting a vanilla Mailu, and running `killall dovecot` (can be outside the container); Dovecot always leaves one zombie thread on crash/exit, so the container *never* restarts. My patch fixes this.

This is related to (closes #3852), although I haven't been able to create a repro for that exact case. Nonetheless, I added `errors='replace'` to the popen invocation, as it should prevent mangling the log output. I've seen a couple more issues that are likely related, but can't find them now.

**Important note**: Despite my efforts, `mailu-front` still seems to connect to the old dovecot process, which renders the UI unusable (webmail throws me into a redirect loop). Restarting `mailu-front` frees up the defunct dovecot process and fixes the application - I suppose someone should look into detecting this condition and restarting `mailu-front` if it happens. Unfortunately, I'm not sure how to approach this.


Co-authored-by: sdomi <dominique.liberda@initos.com>
2025-10-07 13:17:29 +00:00
sdomi
b6eebc516e Fixes around non-blocking I/O in the thread manager 2025-10-07 11:47:56 +02:00
bors-mailu[bot]
1f6fcade1c Merge #3930
3930: Remove mail-* flavors from comments and config wizard r=mergify[bot] a=ghostwheel42

## What type of PR?

documentation

## What does this PR do?

mail-* flavors removed in a former PR - this removes it from the config wizard and comments.


Co-authored-by: Alexander Graf <ghostwheel42@users.noreply.github.com>
2025-10-06 11:54:05 +00:00
Alexander Graf
e6f0cba50c Remove mail-* flavors from comments and config wizard 2025-10-06 13:46:32 +02:00
bors-mailu[bot]
e34771d346 Merge #3864
3864: Allow custom options to be given to fetchmail via environment variable r=mergify[bot] a=DaCHack

## What type of PR?

Feature

## What does this PR do?
PR allows the user to add custom options to fetchmail via environment variable in the docker-compose file

### Related issue(s)
PR can close issue #3863

Pragmatic approach for review by maintainers

Co-authored-by: DaCHack <62812480+DaCHack@users.noreply.github.com>
2025-09-07 17:48:30 +00:00
DaCHack
964ae98149 Merge branch 'master' into patch-1 2025-08-30 23:20:01 +02:00
DaCHack
e83bc1c41c Update fetchmail.py 2025-08-30 23:15:27 +02:00
bors-mailu[bot]
c0f4fb84b4 Merge #3897
3897: fix: update ssloptions for fetchmail r=mergify[bot] a=WebSpider

## What type of PR?

bug-fix

## What does this PR do?

Fetchmail has updated SSL behaviour in v6.4.0, causing some unencrypted fetchmail jobs to fail. This repairs the functionality by adding a fallback.

### Related issue(s)
- Closes #3670 

## 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: Nils Vogels <n.vogels@aves-it.nl>
2025-08-27 17:32:21 +00:00
DaCHack
32ac61f1f8 Update webadministration.rst 2025-08-24 02:47:07 +02:00
DaCHack
222571df8e Add invisible flag documentation 2025-08-24 02:23:47 +02:00
DaCHack
464eebbcba Create 3864.feature 2025-08-24 02:12:03 +02:00
DaCHack
5b2c0a1800 Merge branch 'Mailu:master' into patch-1 2025-08-24 02:03:32 +02:00
DaCHack
b399ef7133 Update fetchmail.py 2025-08-24 02:00:53 +02:00
bors-mailu[bot]
fa2165687c Merge #3907
3907: Fix passphrase changed errors in snappymail r=mergify[bot] a=nextgens

## What type of PR?

bug-fix

## What does this PR do?

Fix "passphrase changed" errors in snappymail; tell it to encrypt data against the email address instead of the transient token used by SSO.

You may need to run the following for the error message to disappear completely
   ``find webmail/_data_/_default_/storage/ -name .cryptkey -delete``

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

## 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>
2025-08-22 16:32:03 +00:00
bors-mailu[bot]
d5b78fc048 Merge #3908
3908: Snuffleupagus v0.12 r=mergify[bot] a=nextgens

## What type of PR?

bug-fix

## What does this PR do?

Upgrade to Snuffleupagus 0.12 to fix a NULL ptr deref; re-enable the related rules.

See https://github.com/jvoisin/snuffleupagus/issues/515

`@ghostwheel42` Do we want to backport this or are we content for it to be master only?

### Related issue(s)
- #3899 

## 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>
2025-08-22 16:10:06 +00:00
Florent Daigniere
146202a902 Fix passphrase changed errors in snappymail 2025-08-22 12:47:50 +02:00
Florent Daigniere
e9825477dc Snuffleupagus v0.12 2025-08-22 12:24:38 +02:00
bors-mailu[bot]
2f89dc6b9a Merge #3904
3904: Upgrade Tika to fix CVE-2025-54988 r=mergify[bot] a=nextgens

## What type of PR?

bug-fix

## What does this PR do?

Upgrade Tika to fix CVE-2025-54988 ; Current stable is v3.2.2 ... we pin latest as we have a poor record of keeping up with upstream and the interface we use ought to be stable.

You will need to run setup again for the fix to be applied.

This is defence in depth (very low risk on docker deployments).

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

## 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>
2025-08-22 06:54:21 +00:00
Florent Daigniere
895beec0b9 Upgrade Tika to fix CVE-2025-54988 2025-08-21 13:44:11 +02:00
DaCHack
301235f5b2 Update fetchmail.py
Add invisible Option of Option is ticked
2025-08-18 19:12:18 +02:00
DaCHack
e68d69a4fe Update forms.py
Add invisible flag
2025-08-18 19:07:03 +02:00
DaCHack
7d8f98b51c Update create.html
Add invisible Tick box
2025-08-18 18:58:04 +02:00
DaCHack
7619b16e32 Merge branch 'Mailu:master' into patch-1 2025-08-18 18:40:48 +02:00
bors-mailu[bot]
7bb14b34ba Merge #3899
3899: fix snappymail r=mergify[bot] a=nextgens

## What type of PR?

bug-fix

## What does this PR do?

fix snappymail, add caching for static content, turn off fastcgi request buffering

Workaround what looks like a snuffleupagus bug by disabling the recently added config tweaks; see https://github.com/jvoisin/snuffleupagus/issues/515 for details.

### Related issue(s)
- closes #3896 
- closes #3868

## 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>
Co-authored-by: Alexander Graf <ghostwheel42@users.noreply.github.com>
2025-08-17 17:47:03 +00:00
Alexander Graf
e7a9b1b16f Keep fastcgi split as is 2025-08-17 19:45:19 +02:00
Florent Daigniere
84f00a759c As per review by ghost 2025-08-17 11:27:09 +02:00
Florent Daigniere
4a73383251 Use upstream's regexp 2025-08-16 14:32:38 +02:00
Florent Daigniere
5d62ea0617 Better rules 2025-08-16 06:04:47 +02:00
Florent Daigniere
4c0bd55fb1 Fix TLS_FLAVOR=notls and indent 2025-08-15 21:51:41 +02:00
DaCHack
f8604be3c8 Update fetchmail.py
Corrected wrong quotation marks
2025-08-15 21:11:19 +02:00
Florent Daigniere
8ea66c219a fix snappymail 2025-08-15 21:08:11 +02:00
DaCHack
9054bd7f0c Merge branch 'Mailu:master' into patch-1 2025-08-15 21:01:15 +02:00
Nils Vogels
38c5cd7a7c chore: add towncrier fragment 2025-08-14 16:26:08 +02:00
Nils Vogels
dd3f681b79 fix: update ssloptions for fetchmail 2025-08-14 15:39:33 +02:00
bors-mailu[bot]
91d571aec8 Merge #3760
3760: Improve details page of domains by completing the zonefile, hiding unneeded entries, and puny encoding domains r=mergify[bot] a=Jumper78

## What type of PR?

feature, bug-fix

## What does this PR do?

The PR improves the quality of the details page for the domains. In detail, it:
- adds the lines for the alternative domains shown in the details page also to the zonefile
- hides the entries for the DMARC report (_domain1_._report._dmarc._domain2_) if _domain1_ and _domain2_ are equal; in that case the entries are not needed to allow the sending of the DMARC report
- makes sure that the entries shown in the details page and in the zone file are puny encoded
- the PR also includes a small bugfix; the zonefile included only one of the two DMARC lines for the main domain; the dmarc report dns entry is now also included for the main domain

### Related issue(s)
- in PR #3350, a list of dns entries for alternative domains was added to the details page; the lines for the alternative domains were missing in the download of the zonefile
- in issue #3661 it was discussed how the entries for the DMARC report exactly has to look like

## 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: Jumper78 <52802286+Jumper78@users.noreply.github.com>
2025-08-13 15:02:14 +00:00
bors-mailu[bot]
16f077da75 Merge #3887
3887: Remove OCSP stapling by Nginx r=nextgens a=svoop

Let's Encrypt has dropped OCSP support and the resulting warning may cause problems when restarting or reloading the frontend Nginx e.g. as part of a post cert update hook.

## What type of PR?

Feature removal

## What does this PR do?

### Related issue(s)
closes #3886

## 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: Sven Schwyn <sven.schwyn@bitcetera.com>
2025-08-13 12:49:49 +00:00
bors-mailu[bot]
ec8041e093 Merge #3769
3769: Add saveState to dataTables, add "∞" to page length r=mergify[bot] a=saschaludwig

## What type of PR?

enhancement

## What does this PR do?

Add saveState to dataTables, so that the selected page length and sort direction(s) will be saved for the individual tables. Add "∞" option to the page length menu to display all table entries.

### Related issue(s)
none

## Prerequisites
considered as minor change, please notify, if not. Thanks


Co-authored-by: Sascha Ludwig <sascha@astrastudio.de>
Co-authored-by: Alexander Graf <ghostwheel42@users.noreply.github.com>
2025-08-13 12:28:16 +00:00
bors-mailu[bot]
cec1f2bb5b Merge #3842
3842: Clarify RELAYNETS requirements r=mergify[bot] a=strugee

## What type of PR?

Documentation

## What does this PR do?

Essentially, it puts https://github.com/Mailu/Mailu/issues/369#issuecomment-358071523 into the documentation. For context, I was using the client submission port with a username/password combo _along_ with `RELAYNETS` because I gave up trying to get client auth to work the way that I wanted it, and only fell back to using `RELAYNETS` (with a single IP) as a last-ditch effort to get client mail working.

### Related issue(s)

None

## 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: AJ Jordan <alex@strugee.net>
2025-08-13 12:13:02 +00:00
Alexander Graf
390cafedf8 fix indent 2025-08-13 14:04:40 +02:00
bors-mailu[bot]
5f077739fb Merge #3889
3889: Fix CI, upgrade base image r=mergify[bot] a=nextgens

## What type of PR?

bug-fix

## What does this PR do?

Fix CI by upgrading the base image:
- Alpine: 3.21.4
- Carddav: 5.1.1
- docs infra, snufflepagus rules

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


Co-authored-by: Florent Daigniere <nextgens@freenetproject.org>
Co-authored-by: Florent Daigniere <nextgens@users.noreply.github.com>
2025-08-13 11:59:48 +00:00
Florent Daigniere
2359a9e8e4 Merge branch 'master' into fix_ci 2025-08-13 09:59:01 +02:00
Florent Daigniere
9131a5a8c2 towncrier 2025-08-13 09:54:15 +02:00
Florent Daigniere
241d3cb6dd Add snuffleupagus rules from upstream 2025-08-13 09:50:09 +02:00
Florent Daigniere
c72fa20e41 alpine 3.21.4 2025-08-13 09:40:01 +02:00