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

205 Commits

Author SHA1 Message Date
Florent Daigniere
cfd7e6b690 fix warnings again 2024-06-19 14:50:09 +02: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
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
155a4cce5e maybe fix tests 2024-05-20 11:08:06 +02:00
Florent Daigniere
a55a9d89ba Update all dependencies 2024-05-20 11:08:03 +02:00
Florent Daigniere
4e28a053e3 enable all ports for tests 2024-04-08 09:55:20 +02:00
Dimitri Huisman
acb878a43f
Use the correct hostname 2024-03-22 15:38:46 +00:00
Dimitri Huisman
18d5fb8a1b
Forgot to create the mailu.io domain as the first step in tests 2024-03-22 15:23:12 +00:00
Dimitri Huisman
2558ae3bc9
Add automatic tests for RESTful API. Fix all remaining issues that I could find with the API. 2024-03-22 15:01:37 +00:00
Dimitri Huisman
1f69074771
Undo unintended changes to this file 2024-03-16 16:49:04 +00:00
Dimitri Huisman
6627dd2924
API: Create user did not handle exception of duplicate user 2024-01-24 10:57:30 +00:00
Florent Daigniere
3d13e72133 Only return 25 when it's a permanent error 2023-11-15 10:33:02 +01:00
Florent Daigniere
0b776fffbd Ensure the logic is right 2023-11-15 10:25:55 +01:00
Florent Daigniere
5312495d0e Retry up to 5 times if not ready 2023-11-15 10:15:34 +01:00
Florent Daigniere
a61f31e7c5 Now it should fail earlier 2023-11-13 08:13:20 +01:00
Florent Daigniere
6765c45ab8 simplify 2023-11-10 12:27:02 +01:00
Florent Daigniere
2c422bbfbe doh 2023-11-10 12:25:34 +01:00
Florent Daigniere
f7fb0f6625 Add a new test for PUAs 2023-11-10 12:13:04 +01:00
Florent Daigniere
6dd5b559db Give more time to clamav 2023-10-28 09:55:45 +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
Dimitri Huisman
9ad7cea515
Update 05_connectivity test to use UTF8 password. 2023-05-31 09:17:59 +00:00
bors[bot]
b6c093dfd6
Merge #2790
2790: Implement managesieve support r=mergify[bot] a=nextgens

## What type of PR?

Feature

## What does this PR do?

This is a better a alternative to #2773

Expose managesieve to the outside world.

### Related issue(s)
- close #2773
- #428
- #113
- #81
- #1222

## 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-05-26 14:11:33 +00:00
AJ Jordan
c0f28dd6f7 Fix typo 2023-05-05 14:09:31 -04:00
Florent Daigniere
d35ed1c400 add tests 2023-04-20 16:14:01 +02:00
Florent Daigniere
a61de6c2e3 Unique exit codes 2023-04-08 13:23:28 +02:00
Florent Daigniere
c008ce6608 review 2023-04-08 12:47:41 +02:00
Florent Daigniere
a09c23d8de Fix it 2023-04-08 11:32:46 +02:00
Florent Daigniere
7b46c7bcb6 Add test to show it's broken 2023-04-08 10:22:09 +02:00
Dimitri Huisman
66274ae4cc
Use intermediate images for CI workflow
First the base and assets images are build and pushed to ghcr.io.
After that all main images are build. These images use the previously
build base/assets image by pulling it from ghcr.io.
2023-04-07 10:09:54 +00:00
Dimitri Huisman
0d048d24d3
Fix build.hcl / CI.yml regarding labels
The version label and versions passed to docs image were based on
the tag. Now we first build the images with -build appended to the
tag, we cannot use the tag as version label.

A new env var is introduced to pass the version to the build.hcl file.
This will be used to set the VERSION label in the image, and pass
as build arguments to the docs image.
2023-03-17 13:05:33 +00:00
Florent Daigniere
cef97f78f1 Maybe fix the tests 2023-03-11 11:59:49 +01:00
Florent Daigniere
8b502b73ee
Update tests/compose/test.py
Co-authored-by: Alexander Graf <ghostwheel42@users.noreply.github.com>
2023-02-20 11:53:52 +01:00
Florent Daigniere
8d8f753796
Update tests/compose/test.py
Co-authored-by: Alexander Graf <ghostwheel42@users.noreply.github.com>
2023-02-20 11:53:29 +01:00
Florent Daigniere
bb5d007882 s/docker\-compose\([^\.]\)/docker compose\1/g 2023-02-15 10:00:03 +01:00
Alexander Graf
02c4862427
Enable fetchmail for fetchmail test case 2023-01-25 20:22:38 +01:00
Alexander Graf
c4ca1cffaf
Set default for FETCHMAIL_ENABLED 2023-01-25 12:20:17 +01:00
Florent Daigniere
49d458a0f3 try renaming the file 2022-12-19 12:27:24 +01:00
Florent Daigniere
26858b110a Required for the tests to pass now 2022-12-19 12:17:13 +01:00
Florent Daigniere
709023ab5a dimitri said "block it"
So let's block any macro with AUTOEXEC
2022-11-24 12:04:03 +01:00
Florent Daigniere
32d44b96c3 Fix the logic 2022-11-24 11:22:43 +01:00
Florent Daigniere
1327f34c2c Add tests to ensure we block macros 2022-11-24 10:48:25 +01:00
Florent Daigniere
3e45a791cf Implement oletools to filter out bad macros 2022-11-23 15:42:46 +01:00
Florent Daigniere
d3d7916b58 Merge remote-tracking branch 'upstream/master' into upgrade-alpine 2022-11-21 17:22:15 +01:00
Florent Daigniere
b28798c74f doh 2022-11-17 18:46:04 +01:00
Florent Daigniere
1bfab1dbfa Maybe fix the test? 2022-11-17 18:32:39 +01:00
Florent Daigniere
6137f93d23 add a GTUBE test to check the antispam 2022-11-17 18:17:41 +01:00
Florent Daigniere
86637f0259 Make setup use the base image 2022-11-17 14:18:51 +01:00
Florent Daigniere
d7b80e94a4 try again. 2022-11-12 16:21:28 +01:00