Commit Graph

2100 Commits

Author SHA1 Message Date
Fabian Stanke
ec1e49d137 Include error messages for LMTP
These are difficult to debug log messages, when instead of an error message one gets a stack trace with `KeyError: 'lmtp'`
2024-12-25 10:00:02 +01:00
Florent Daigniere
64d0bb603d Ensure mobileconfig has the right content-type 2024-12-22 16:40:44 +01:00
bors-mailu[bot]
6145e6ef72 Merge #3678
3678: alpine3.21.0 r=mergify[bot] a=nextgens

## What type of PR?

enhancement

## What does this PR do?

Upgrade to alpine-3.21.0

### Related issue(s)
- #3677

## 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>
2024-12-10 15:46:22 +00:00
Florent Daigniere
d13eae7587 alpine3.21.0 2024-12-08 14:53:16 +01:00
Florent Daigniere
f1c5ac5b14 Don't check empty passwords against HIBP 2024-11-17 14:42:23 +01:00
Florent Daigniere
9a928f8c7b snuffleupagus 11 2024-11-16 22:18:22 +01:00
Florent Daigniere
152b45a0e9 alpine 3.20.3 2024-10-21 11:05:01 +02:00
bors-mailu[bot]
e9570020aa Merge #3618
3618: Filter logs line based and in binary mode without decoding utf-8 r=mergify[bot] a=ghostwheel42

## What type of PR?

bug-fix

## What does this PR do?

try at fixing decoding errors when filtering logs

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



Co-authored-by: Alexander Graf <ghostwheel42@users.noreply.github.com>
2024-10-17 15:28:54 +00:00
Alexander Graf
f16467b984 Flush buffer on flush() and flush explicitely after subprocess has ended 2024-10-17 16:59:55 +02:00
Alexander Graf
4a49234afa Filter logs line based and in binary mode without decoding utf-8 2024-10-17 15:26:32 +02:00
bors-mailu[bot]
05175b5a3c Merge #3608
3608: Ensure healthchecks timeout r=mergify[bot] a=nextgens

## What type of PR?

bug-fix

## What does this PR do?

Ensure healthchecks timeout

### Related issue(s)
- close #3398
- close #3602

## 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>
2024-10-17 12:48:44 +00:00
Florent Daigniere
fb49ef9057 Fix http2 2024-10-15 17:14:22 +02:00
Florent Daigniere
7aaf7ec17b Ensure healthchecks timeout 2024-10-05 18:59:29 +02:00
bors-mailu[bot]
5e7d4edc9d Merge #3558
3558: Only enable HARDENED_MALLOC with kernel 6.1+ r=mergify[bot] a=nextgens

## What type of PR?

enhancement

## What does this PR do?

Disable HARDENED_MALLOC unless the requirements are met

### Related issue(s)
- #3398

## 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>
2024-09-23 09:04:08 +00:00
Florent Daigniere
e3b1b9c1c3 As per #3398 2024-09-22 15:20:09 +02:00
Florent Daigniere
8e4af5ad05 Fix #3531 2024-09-22 13:14:33 +02:00
bors-mailu[bot]
3e673f9f6b Merge #3465
3465: Maybe fix #3402 r=mergify[bot] a=nextgens

## What type of PR?

bug-fix

## What does this PR do?

Fix a potential problem with SO_REUSEADDR that may prevent admin from starting up

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

## 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>
2024-09-13 07:20:12 +00:00
Florent Daigniere
07f0ec3d0b Need sleep. 2024-09-12 23:17:48 +02:00
Florent Daigniere
c11815b3a0 Add delay 2024-09-12 22:48:20 +02:00
Florent Daigniere
6745450526 Improve as per @ghostwheel42's suggestion 2024-09-12 19:32:08 +02:00
Florent Daigniere
8b34fbe881 Maybe fix #3402 2024-09-12 19:21:18 +02:00
Florent Daigniere
12e94b7616 As per review 2024-09-12 15:45:58 +02:00
Florent Daigniere
f4ab22edbc play it safe 2024-09-12 12:34:31 +02:00
Florent Daigniere
cdf8ee8820 Apply suggestions from code review
Co-authored-by: Alexander Graf <ghostwheel42@users.noreply.github.com>
2024-09-12 12:30:04 +02:00
Florent Daigniere
c6c4c09f08 doh 2024-09-12 11:08:58 +02:00
Florent Daigniere
a875d7fe6a Fix #3450 2024-09-12 10:43:49 +02:00
kunago
307353107d Update Czech translation 2024-09-10 22:03:37 +02:00
Florent Daigniere
fbaf75936a doh 2024-09-10 14:42:35 +02:00
Florent Daigniere
c9e8eeb69a Fix #3425 2024-09-10 11:27:10 +02:00
Florent Daigniere
63769c73cf Fix #3411 2024-09-09 19:25:33 +02:00
Dimitri Huisman
c4f457e7f9 Fix 3420 - fixed syntax errors in certwatcher.py 2024-09-09 13:01:12 +00:00
Florent Daigniere
28c28b1c84 INBOUND_TLS_ENFORCE makes no sense. 2024-09-06 09:40:26 +02:00
Florent Daigniere
5ea3840fc4 doh 2024-09-05 23:22:55 +02:00
Florent Daigniere
61812ac32a Untested code that may fix the following:
Exception in thread Thread-2 (forward_text_lines):
Traceback (most recent call last):
  File "/usr/lib/python3.12/threading.py", line 1073, in _bootstrap_inner
    self.run()  File "/usr/lib/python3.12/threading.py", line 1010, in run
    self._target(*self._args, **self._kwargs)
  File "/app/venv/lib/python3.12/site-packages/socrate/system.py", line 155, in forward_text_lines
    current_line = src.readline()
                   ^^^^^^^^^^^^^^
  File "<frozen codecs>", line 322, in decode
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa8 in position 166: invalid start byte

This was reported in #3398
2024-09-05 22:57:35 +02:00
Florent Daigniere
bae4855bea fix #3379 2024-09-05 22:45:25 +02:00
Florent Daigniere
b426c67949 doh 2024-09-05 22:37:30 +02:00
Florent Daigniere
e5790a297a fix #3403 2024-09-05 22:33:23 +02:00
DrPsychick
73914d1df8 fix: PATCH /user will overwrite existing "forward_destination" 2024-08-15 12:49:41 +02:00
bors-mailu[bot]
16cfe01d56 Merge #3304
3304: Update translations: regenerate .pot, update english and german r=mergify[bot] a=Dennis14e

## What type of PR?

Enhancement

## What does this PR do?

Updates the translations .pot-file and the english and german translations.
I tried to reproduce the change using run_dev.sh, but it only shows me the English language - even without my changes. I used GitHub Codespaces, maybe it has something to do with that?

## 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: Dennis Neufeld <Dennis14e@users.noreply.github.com>
Co-authored-by: Alexander Graf <ghostwheel42@users.noreply.github.com>
2024-08-12 06:23:06 +00:00
bors-mailu[bot]
2fca41235b Merge #3350
3350: Feature: dkim for alternative domains r=mergify[bot] a=Jumper78

## What type of PR?

feature

## What does this PR do?

### General Idea

#### use same DKIM key of main domain for signing

Instead of dealing with key creation for each alternative domain, this implementation of the solution uses one key for all domains, the main domain and all alternative domains. Upon Rspamd requesting the DKIM key of a domain, it is not only checked if the domain is in the list of main domains, it also checked if it part of the alternative domains. If it is in this list, it sends the DKIM key of the connected main domain together with the name of the alternative domain.

#### show needed entries in the domain detailed view of the main domain

To make it easier for the admin to create the DKIM and DMARC entries (and the MX and SPF entries) for the alternative domains, we go through all alternative domains and print the entries.

### missing (and currently not planned to be added)

The zonefile at the top of the detail page will still only cover the main domain.

### Related issue(s)
- DKIM signing of the alternative domains is a requested feature; it closes #1519
- it keeps the original file based handling of DKIM keys; it does not implement #2952

## 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: Jumper78 <52802286+Jumper78@users.noreply.github.com>
2024-08-11 16:42:45 +00:00
Alexander Graf
b51c506ee1 Add last translation 2024-08-11 18:35:00 +02:00
bors-mailu[bot]
a1d19897be Merge #3308
3308: Update network graph r=mergify[bot] a=nextgens

## What type of PR?

documentation

## What does this PR do?

### Related issue(s)

Update network graph, fix fetchmail when PROXY_PROTOCOL_25 is set

## 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>
2024-08-11 16:30:31 +00:00
bors-mailu[bot]
dbb0975943 Merge #3355
3355: Add `-e` to local PIP packages in requirements-dev.txt r=mergify[bot] a=Wombosvideo

## What type of PR?

bug-fix

## What does this PR do?

### Related issue(s)
- Dependabot fails if the `-e` parameter is missing for editable pip packages. This means you won't get notified for outdated versions properly when using Dependabot

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

_Checked because documentation does not need updating and it's a minor change._

Co-authored-by: Luca <busfany@hotmail.com>
2024-08-09 14:59:02 +00:00
Florent Daigniere
5cfec650df s/nginx/front 2024-08-09 15:55:33 +02:00
Florent Daigniere
78c5d34227 as per review 2024-08-09 15:29:51 +02:00
Florent Daigniere
98f671dc2e Do the same with Client-Ip 2024-08-08 11:18:50 +02:00
Florent Daigniere
d7c6528f04 doh 2024-08-08 10:33:19 +02:00
Florent Daigniere
38ea029bd9 Better 2024-08-08 10:27:35 +02:00
Florent Daigniere
148c8f9ede Remove this insanity since we don't use nginx 2024-08-08 10:24:43 +02:00
Florent Daigniere
ee243ea735 Fix #3364 2024-08-08 09:35:27 +02:00