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

531 Commits

Author SHA1 Message Date
Florent Daigniere
9f93ed6593 Fix letsencrypt on master 2023-10-17 13:58:38 +02:00
bors[bot]
d0d4876a85
Merge #2982
2982: Switch to upstream's clamav image r=mergify[bot] a=nextgens

## What type of PR?

enhancement

## What does this PR do?

Switch to upstream's clamav image. The only downside is that it doesn't support armv7... but odds are it won't have enough RAM anyway.

Why do we want this?
- faster build times
- will be easier to upgrade
- less maintenance required for us
- it may fix the CI tests failing because of clamav/EICAR not getting caught
- it will save bandwidth (as we won't re-download the definitions from fresh: they are in the base image)
- it puts clamav on its own network (security)

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

## 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>
2023-10-17 09:41:49 +00:00
bors[bot]
0441903361
Merge #2981
2981: Further improvements to fts r=mergify[bot] a=nextgens

## What type of PR?

enhancement

## What does this PR do?

- update instructions
- set a timeout on search: if the indexes are not up to date, it will take at most 50s to fail
- limit parallelism to 1 (is that what we want?)
- switch to a different image that has ARM support
- ensure that journald logs the output of tika and oletools
- update the upgrade instructions to ensure one doesn't DoS his server while re-indexing
- add a healthcheck for tika

### 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>
2023-10-17 09:31:48 +00:00
Florent Daigniere
2a570d0f6f Roundcube 1.6.4 2023-10-16 13:38:49 +02:00
Florent Daigniere
6a2169096c Switch to upstream's clamav image 2023-10-13 16:24:10 +02:00
Florent Daigniere
c56b58149b Further improvements 2023-10-13 09:43:34 +02:00
jonathan
7a258c19ad #2948 Add Traditional Chinese translation 2023-10-13 11:08:35 +08:00
bors[bot]
62104501d4
Merge #2972
2972: switch to fts-flatcurve r=mergify[bot] a=nextgens

## What type of PR?

bug-fix

## What does this PR do?

Switch from fts-xapian to fts-flatcurve. This should address the problem with indexes getting too big and will be the default in dovecot 2.4.

Don't forget to nuke old indexes to reclaim space.

### Related issue(s)
- close #2390
- close #2184
- close #2976

## 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>
2023-10-12 18:45:55 +00:00
Dimitri Huisman
0026b8db24
Enhance RESTful API user retrieval with quota used bytes. This is the current size of the user's email box in bytes. 2023-10-11 15:49:52 +00:00
Florent Daigniere
054fde8ac1 Tika v1 2023-10-11 15:49:04 +02:00
Florent Daigniere
954fe40134 Towncrier 2023-10-10 15:07:37 +02:00
bors[bot]
d21eb8bea8
Merge #2974
2974: Add support for managing authentication tokens to RESTful API r=mergify[bot] a=Diman0

## What type of PR?

enhancement

## What does this PR do?
Authentication tokens could not be managed yet via the RESTful API. Support for this has been added to the RESTful API. It also contains a small bug fix for updating domains. 

### Related issue(s)
n/a1

## 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>
2023-10-10 11:35:20 +00:00
Dimitri Huisman
16e9d152dd
Forbidden_file_extension.map could not be overridden. 2023-10-10 08:19:36 +00:00
Florent Daigniere
25964b61d5 Add the working command 2023-10-10 09:16:05 +02:00
Florent Daigniere
9ae8715a6a Clarify how one should upgrade 2023-10-10 08:46:13 +02:00
Dimitri Huisman
fa2fb1369d
Add changelog entry 2023-10-09 16:23:22 +00:00
Florent Daigniere
36236848d2 switch to fts-flatcurve 2023-10-09 17:15:28 +02:00
Florent Daigniere
ad5b6fe27e Upgrade dovecot: fix proxying ipv6 via xclient 2023-10-09 11:08:04 +02:00
bors[bot]
26e1077bd8
Merge #2950
2950: Upgrade snuffleupagus r=mergify[bot] a=nextgens

## What type of PR?

enhancement

## What does this PR do?

Upgrade snuffleupagus

### 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>
2023-10-09 07:24:09 +00:00
bors[bot]
04d69141c3
Merge #2961
2961: Hardened malloc was not disabled for oletools when an CPU with missing flags is used r=Diman0 a=Diman0

## What type of PR?
bug fix

## What does this PR do?
Updates oletools to also disable hardened malloc when used CPU misses flags

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

## 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>
Co-authored-by: Dimitri Huisman <52963853+Diman0@users.noreply.github.com>
Co-authored-by: Florent Daigniere <nextgens@users.noreply.github.com>
Co-authored-by: Florent Daigniere <nextgens@freenetproject.org>
2023-10-08 13:14:28 +00:00
Florent Daigniere
a6f57ca3d4 Upgrade snappymail to v2.29.1 2023-10-08 14:58:39 +02:00
Florent Daigniere
92e861d4fa There is no reason not to enable it ourselves. 2023-10-07 10:09:04 +02:00
Florent Daigniere
dd58d51156 change the logic as discussed 2023-10-07 09:45:59 +02:00
bors[bot]
dd1de62eb0
Merge #2958
2958: Upgrade to alpine 3.18.4 r=mergify[bot] a=nextgens

## What type of PR?

bug-fix

## What does this PR do?

Upgrade to alpine 3.18.4. This has a newer musl that fixes the DNS issue linked below.

I am not sure whether it would be wise to backport it to stable. We should discuss.

I mark it WIP for now as the mirror-image workflow is broken and CI will fail anyway.

### Related issue(s)
- close #2934
- close #2919

## 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: Dimitri Huisman <diman@huisman.xyz>
2023-10-06 12:50:22 +00:00
Florent Daigniere
5230c28713 Fix letsencrypt on master 2023-10-06 13:48:09 +02:00
Dimitri Huisman
e70db935ec
Hardened malloc also requires AVX2 cpu flag 2023-10-06 10:27:31 +00:00
Dimitri Huisman
77c4829401
Hardened malloc was not disabled for oletools when an CPU with missing flags is used 2023-10-06 09:48:50 +00:00
Florent Daigniere
85cf7e6a7f Upgrade to alpine 3.18.4 2023-10-05 18:55:33 +02:00
Florent Daigniere
9ae6eafb24 Remove the version pinning on hardened malloc 2023-10-04 17:13:56 +02:00
Florent Daigniere
83fd29c597 Upgrade snuffleupagus 2023-09-20 18:00:36 +02:00
bors[bot]
d386609c75
Merge #2935
2935: Add Persian (aka Farsi) Translation r=mergify[bot] a=hosni

Hello,
First of anything, thanks for this project that make setup email server easier that ever.
In this pull request, I added Persian (aka Farsi) translation to Mailu project.
I hope it's being useful for community.

Co-authored-by: Hossein Hosni <hosni.hossein@gmail.com>
Co-authored-by: Hossein Hosni <47793698+hosni@users.noreply.github.com>
2023-09-18 14:47:39 +00:00
Hossein Hosni
4718b95f33 Add towncrier entry 2023-09-18 00:53:33 +03:30
Florent Daigniere
9402a3beec Upgrade webmails
roundcube 1.6.3
rcmcarddav 5.1.0
snappymail 2.28.4
2023-09-16 10:38:26 +02:00
Alexander Graf
b12bdef4b8
Add newsfragment 2023-09-10 11:27:06 +02:00
Florent Daigniere
5402d00be0 Maybe fix fetchmail when used with pop3 2023-08-30 13:17:50 +02:00
bors[bot]
585549ce92
Merge #2924
2924: Remove the usage of capabilities, use port 8080 for admin r=nextgens a=nextgens

## What type of PR?

bug-fix

## What does this PR do?

In the real world users can't get them to work... I wonder if they use patched-up kernels or if xattrs are lost somehow... in any case, we can do without capabilities so let's do that.

Ensure that dovecot doesn't attempt to bind a v6 socket if SUBNET6 is not configured

Also, document that systemd-resolve may cause trouble with DNSSEC.

### Related issue(s)
- closes #2906
- closes #2913

## 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>
2023-08-29 06:19:42 +00:00
Florent Daigniere
b2a5a80e12 Ensure that dovecot doesn't bind v6 if not required 2023-08-28 11:56:25 +02:00
Florent Daigniere
562cd8c135 Remove the usage of capabilities use port 8080
In the real world users can't get them to work...
2023-08-28 11:34:51 +02:00
Florent Daigniere
086c05a42c Make rspamd retry for longer when connecting to clamav 2023-08-25 14:47:51 +02:00
Florent Daigniere
1731f45d83 Delete the PID file to avoid race conditions
Apparently sometimes the podop subprocess can be re-assigned the same
PID when the container is restarted, causing havok.
2023-08-25 13:40:22 +02:00
bors[bot]
fb97cec238
Merge #2901
2901: Force pw change r=mergify[bot] a=nextgens

## What type of PR?

Feature

## What does this PR do?

Allow administrators to force a user to change his password. Prune web-sessions on password change.

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

## 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>
2023-08-20 21:12:55 +00:00
Florent Daigniere
a1f9fb4347 Prevent rspamc zombies, ensure that triggering learn-spam works 2023-08-15 10:46:13 +02:00
Florent Daigniere
bd4c40b596 Prune sessions that are unrelated when changing passwords 2023-08-10 12:27:47 +02:00
Helmuth Breitenfellner
5d8b1940e1 Add a newsfragment for CHANGELOG 2023-08-08 21:45:11 +02:00
Dimitri Huisman
4cf9993117
Fix issue #2811. Clamav Healthcheck created zombie processes 2023-06-28 08:33:04 +00:00
bors[bot]
69229436cf
Merge #2866
2866: Improve tokens (add ipranges) r=nextgens a=nextgens

## What type of PR?

enhancement

## What does this PR do?

Allow multiple IP addresses/networks to be set for tokens.

### 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>
2023-06-26 10:02:58 +00:00
Florent Daigniere
a6d217c455 increase the number of postfix workers 2023-06-24 18:54:18 +02:00
Florent Daigniere
ea0f63ae0d newsfragment 2023-06-24 16:13:05 +02:00
Florent Daigniere
29cd857c5f Allow multiple IP addresses/networks to be set for tokens 2023-06-23 15:56:41 +02:00
Florent Daigniere
50f8a5cb65 Ensure we log which account is invalid 2023-06-02 11:39:42 +02:00