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

4554 Commits

Author SHA1 Message Date
Florent Daigniere
6dd5b559db Give more time to clamav 2023-10-28 09:55:45 +02:00
bors[bot]
d0c6b34002
Merge #3008
3008: Fix issues with log filter and remove POSTFIX_LOG_FILE r=mergify[bot] a=Diman0

## What type of PR?

bug-fix

## What does this PR do?
Fixed log filter not filtering out log messages for dovecot/nginx/postfix.
Fixed postfix not logging to standard out.
Fixed not all containers logging to journald.
Removed POSTFIX_LOG_FILE functionality. A new FAQ entry is created that documents how to log to file with journald & rsyslog.

Thank you `@Lex999` for providing the sample code in #2839 for how to capture the standard out of called sub processes.

### Related issue(s)
- closes #2839
- closes #2819 
- closes #2939 

## 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-27 20:49:25 +00:00
bors[bot]
48d891f5ab
Merge #3003
3003: Update documentation r=nextgens a=nextgens

## What type of PR?

documentation

## What does this PR do?

- Run aspell
- Commit an updated network diagram

### 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>
2023-10-27 20:24:15 +00:00
bors[bot]
26e5618cbc
Merge #3007
3007: Introduce AUTH_REQUIRE_TOKENS r=nextgens a=nextgens

## What type of PR?

enhancement

## What does this PR do?

Introduce AUTH_REQUIRE_TOKENS to enforce that thick clients use tokens instead of passwords

### 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-27 20:15:12 +00:00
bors[bot]
7f84516108
Merge #3009
3009: fix CI on master r=mergify[bot] a=nextgens

## What type of PR?

bug-fix

## What does this PR do?

fix CI on master

### 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>
2023-10-27 19:50:51 +00:00
Florent Daigniere
3ef504a9bb duh 2023-10-27 19:56:01 +02:00
Dimitri Huisman
60b9ff0090
Fixed log filter not filtering out log messages for dovecot/nginx/postfix.
Fixed postfix not logging to standard out.
Fixed not all containers logging to journald.
Removed POSTFIX_LOG_FILE functionality. Added documentation on how to achieve the same (log to file) via journald & rsyslogd (see new FAQ entry 'How can I view and export the logs of a Mailu container?').
2023-10-27 14:10:13 +00:00
Florent Daigniere
2494a344a7 Ammend wording as suggested 2023-10-27 15:14:51 +02:00
Florent Daigniere
3e2a6d84ce doh 2023-10-27 13:41:51 +02:00
Florent Daigniere
435508be1e Introduce AUTH_REQUIRE_TOKENS 2023-10-27 13:39:36 +02:00
Florent Daigniere
6f969fd539 Fix CI 2023-10-20 09:58:22 +02:00
Florent Daigniere
32f599ce42 Add the network diagram 2023-10-20 09:39:25 +02:00
Florent Daigniere
af511308c9 Run aspell 2023-10-20 09:39:16 +02:00
bors[bot]
efcf7a1581
Merge #2990
2990: Fix letsencrypt on master r=mergify[bot] a=nextgens

## What type of PR?

bug-fix

## What does this PR do?

Fix letsencrypt on master; without this renewals will fail

### Related issue(s)
- close #2851
- close #2966

## 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-18 08:55:49 +00:00
Florent Daigniere
a5d8a2555a Modify ISSUE_TEMPLATE.md 2023-10-17 14:17:20 +02:00
Florent Daigniere
055b216627 log.critical() where useful 2023-10-17 14:05:08 +02:00
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
bors[bot]
ab59c32296
Merge #2985
2985: Roundcube 1.6.4 r=nextgens a=nextgens

## What type of PR?

bug-fix

## What does this PR do?

Upgrade roundcube to 1.6.4 to fix an XSS, clarify what is supported.

### 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-16 14:20:18 +00:00
Florent Daigniere
2a570d0f6f Roundcube 1.6.4 2023-10-16 13:38:49 +02:00
Florent Daigniere
98e1142bea update the github action too 2023-10-13 16:56:12 +02:00
Florent Daigniere
4da05b93ab doh 2023-10-13 16:42:45 +02:00
Florent Daigniere
80317fde78 Our healthcheck 2023-10-13 16:35:13 +02:00
Florent Daigniere
6a2169096c Switch to upstream's clamav image 2023-10-13 16:24:10 +02:00
Florent Daigniere
0be09411ab Just make it work by default for everyone 2023-10-13 13:59:21 +02:00
Florent Daigniere
371dea7c9b ghcr.io/paperless-ngx/tika:2.9.0-full even 2023-10-13 13:31:36 +02:00
Florent Daigniere
c56b58149b Further improvements 2023-10-13 09:43:34 +02:00
bors[bot]
bc6a38b655
Merge #2948
2948: Add Traditional Chinese translation file. r=mergify[bot] a=tryweb

## What type of PR?
Localization

## What does this PR do?
Add Traditional Chinese (Taiwan) translation file.

### Related issue(s)

## Prerequisites
None

Co-authored-by: jonathan <tryweb@ichiayi.com>
Co-authored-by: Jonathan Tsai <tryweb@ichiayi.com>
2023-10-13 06:37:24 +00:00
jonathan
7a258c19ad #2948 Add Traditional Chinese translation 2023-10-13 11:08:35 +08:00
Jonathan Tsai
e41c15fea3
Merge branch 'Mailu:master' into master 2023-10-13 11:02:58 +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
Florent Daigniere
0a7797e96b Review 2023-10-12 20:42:16 +02:00
bors[bot]
d00c5a44e4
Merge #2979
2979: Enhance RESTful API user retrieval with quota used bytes.  r=mergify[bot] a=Diman0

## What type of PR?

enhancement

## What does this PR do?
Enhance RESTful API user retrieval with quota used bytes.  This is the current size of the user's email box in bytes.

So the API calls for /api/v1/user and /api/v1/user/local@domain.tld now also provide the quota used bytes.

To test. Check the API key in mailu.env (API_TOKEN=MyAPIKey) and then call:

curl -X 'GET' \
  'https://**mydomain.com**/api/v1/user/test%40google.com' \
  -H 'accept: application/json' \
  -H 'Authorization: **MyAPIKey**'

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

## 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-11 18:37:48 +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
Florent Daigniere
27e3571908 doc 2023-10-10 15:04:55 +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
bors[bot]
7e0513bdde
Merge #2975
2975: Forbidden_file_extension.map could not be overridden. r=Diman0 a=Diman0

## What type of PR?

bug fix

## What does this PR do?

Forbidden_file_extension.map could not be overridden. Start.py has been modified to allow this map to be overridden.
Now the instructions on https://mailu.io/master/antispam.html#can-i-change-the-list-of-authorized-file-attachments are valid again.

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

## 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:02:31 +00:00
Dimitri Huisman
0718de824b
Forgot to remove debug logging. Use rfc5737 for IP addresses in documentation. 2023-10-10 10:46:52 +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
Florent Daigniere
6962b9bcb5 Enable FTS on attachments too 2023-10-10 08:40:33 +02:00
Florent Daigniere
6ba8d62572 Optimize french 2023-10-10 08:20:46 +02:00
Florent Daigniere
5056fa0138 Add fts_filters 2023-10-09 18:32:28 +02:00
Dimitri Huisman
fa2fb1369d
Add changelog entry 2023-10-09 16:23:22 +00:00
Dimitri Huisman
3d9a8bc21f
RESTful API bugfix for domains. Add authentication tokens to API 2023-10-09 16:19:20 +00:00
Florent Daigniere
39af87dff4 Add language stops 2023-10-09 18:02:30 +02:00