Commit Graph

5004 Commits

Author SHA1 Message Date
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
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
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
Florent Daigniere
8ea66c219a fix snappymail 2025-08-15 21:08:11 +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
Florent Daigniere
880312db30 roundcube 1.6.11 and carddav 5.1.1 2025-08-13 09:38:53 +02:00
Florent Daigniere
61de34f5c5 Fix CI by upgrading 2025-08-13 09:31:21 +02:00
Sven Schwyn
bf8e98e200 Remove OCSP stapling by Nginx 2025-08-12 16:58:44 +02:00
bors-mailu[bot]
d615fe4e98 Merge #2932
2932: Add FAQ entry for deleting IPs from rate limiter r=mergify[bot] a=sholl

## What type of PR?

enhancement of documentation

## What does this PR do?

adds an FAQ-entry how to manually delete an IP from rate limiter

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

## 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: Stephan Holl <stephan@holl-land.de>
Co-authored-by: Stephan Holl <1610827+sholl@users.noreply.github.com>
2025-06-10 20:43:32 +00:00
bors-mailu[bot]
fcde401344 Merge #3851
3851: Update Dockerfile to contain latest roundcube version r=nextgens a=ctrl-i

Due to security update, see [this link](https://github.com/roundcube/roundcubemail/releases/tag/1.6.11) for further details

## What type of PR?

Security update

## What does this PR do?

Updates roundcube to the latest version

## 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: ctrl-i <1422608+ctrl-i@users.noreply.github.com>
Co-authored-by: Florent Daigniere <nextgens@freenetproject.org>
2025-06-10 15:33:24 +00:00
Florent Daigniere
e21f2f388d towncrier 2025-06-10 17:26:49 +02:00
ctrl-i
2df7d86831 Update Dockerfile to contain latest roundcube version
Due to security update
2025-06-01 09:33:08 +01:00
AJ Jordan
d02ad8f456 Clarify RELAYNETS requirements 2025-05-17 14:32:50 -04:00
bors-mailu[bot]
4fc4237e23 Merge #3839
3839: fix #3836: healthcheck of clamav r=mergify[bot] a=nextgens

## What type of PR?

bug-fix

## What does this PR do?

Fix the healthcheck of clamav

### Related issue(s)
- closes #3836 
- closes #3823
- closes #3741

## 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-05-08 13:07:59 +00:00
Florent Daigniere
8c2420d8cb fix #3836: healthcheck of clamav 2025-05-08 13:54:56 +02:00
bors-mailu[bot]
1c362b4af0 Merge #3790
3790: Replace marshmallow missing with load_default r=mergify[bot] a=DjVinnii

## What type of PR?

Enhancement

## What does this PR do?
Replace the `missing` parameter with `load_default`. This changed in version 3.13.0 of marshmallow (Mailu currently uses 3.21.2) and `missing` will be removed in marshmallow 4.

## 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: Vincent Kling <vkling@vinniict.nl>
2025-03-16 12:29:34 +00:00
Vincent Kling
29f42ed4eb Replace missing with load_default 2025-03-14 08:49:58 +01:00
bors-mailu[bot]
8924846a7c Merge #3729
3729: Allow setting collation via env variable and add uvloop r=mergify[bot] a=Grennith

## What type of PR?

Enhancement / Bugfix

## What does this PR do?

As of https://github.com/Mailu/Mailu/pull/3701, the collation shall be set by overwriting `SQLALCHEMY_DATABASE_URI` to contain the collation of the related DB. However, this is currently not possible in the Helm chart of Mailu at all. It's statically set there and would also require not setting DB_NAME etc. to not have it overwritten, see https://github.com/Mailu/Mailu/blob/master/core/admin/mailu/configuration.py#L144

Additionally, uvloop is added to the prod requirements of which postfix-mta-sts-resolver makes use of.

### Related issue(s)
- Mention an issue like: #3449 

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


Co-authored-by: Till Skrodzki <till@mueskro.de>
2025-02-28 23:33:12 +00:00
Jumper78
463b261370 put all newsfragments into bugfix file 2025-02-25 19:00:56 +00:00
Jumper78
18bfeb77c6 cleanup of requested changes 2025-02-25 14:42:11 +00:00
Jumper78
8e18fe03a6 simplify function Alternative.dns_dmarc_report_needed
Co-authored-by: Florent Daigniere <nextgens@users.noreply.github.com>
2025-02-25 15:33:30 +01:00
Jumper78
ced2763035 simplify function Domain.dns_dmarc_report_needed
Co-authored-by: Florent Daigniere <nextgens@users.noreply.github.com>
2025-02-25 15:32:34 +01:00
Jumper78
e865f96d5a Update 3760.feature 2025-02-24 22:00:32 +01:00
Jumper78
b46a4318ee Merge pull request #5 from Jumper78/feature-remove-dmarc-report-entry-for-same-domain
Feature remove dmarc report entry for same domain
2025-02-24 21:31:14 +01:00
Till Skrodzki
ebd3459738 Add towncrier entry for PR #3729 2025-02-24 21:05:38 +01:00
Jumper78
8a8c5b79e6 in the details page of domains, the dns entries get puny encoded now 2025-02-24 19:59:57 +00:00
Sascha Ludwig
c9e0782261 Add saveState to dataTables, add "∞" to page length
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.
2025-02-18 12:25:35 +01:00
Till Skrodzki
0ff1d4858e Add uvloop to requirements-dev.txt 2025-02-16 23:13:12 +01:00
Jumper78
a5d2783604 added functionality that DNS DMARC entry for report is only shown when needed also to zonefile 2025-02-16 21:26:34 +00:00
Jumper78
fa74b19f90 added functionality that DNS DMARC entry for report is only shown when needed 2025-02-16 21:08:19 +00:00
bors-mailu[bot]
9223472520 Merge #3758
3758: added idna function to perform puny encoding on IDN domains r=mergify[bot] a=Jumper78

## What type of PR?

bug-fix

## What does this PR do?

### Related issue(s)
- fixes issue where DKIM signatures from domains with IDN are not accepted by some mail servers: closes #3743

## 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] 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-02-15 16:10:43 +00:00
Jumper78
23dce74637 Update webadministration.rst 2025-02-15 09:01:57 +01:00
Jumper78
226a70214c Create 3760.bugfix 2025-02-15 07:25:50 +01:00
Jumper78
ad6b381e34 Create 3760.feature 2025-02-15 07:24:32 +01:00