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

4838 Commits

Author SHA1 Message Date
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
bors-mailu[bot]
b5106d4ce8
Merge #3366
3366: Fix #3364 r=mergify[bot] a=nextgens

## What type of PR?

bug-fix

## What does this PR do?

Fix a bug preventing percent characters from being used in passwords

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

## 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-08-09 14:27:52 +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
2526d43a98 More tests
See what happens with a character that will url decode to longer
2024-08-08 10:50:32 +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
1cbd31c7bb Ensure we test this 2024-08-08 09:49:21 +02:00
Florent Daigniere
ee243ea735 Fix #3364 2024-08-08 09:35:27 +02:00
bors-mailu[bot]
30bb83c42c
Merge #3358
3358: Update 3rd party deps r=mergify[bot] a=nextgens

## What type of PR?

bug-fix

## What does this PR do?

Update 3rd party deps (clamav & snappymail), clarify the wording in the docs related to rspamd overrides.

### Related issue(s)
- closes #3347 
- closes #3360 (thank you [ctrl-i](https://github.com/ctrl-i) for the heads up)
- #3359 

## 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-08-06 16:20:59 +00:00
Florent Daigniere
b359301cc2 more doc updates 2024-08-05 14:49:38 +02:00
Florent Daigniere
0b8e565272 Clarify the doc as per https://github.com/Mailu/Mailu/issues/3359#issuecomment-2268909660 2024-08-05 14:13:55 +02:00
Florent Daigniere
407024d59a Roundcube 1.6.8 2024-08-04 17:57:33 +02:00
Florent Daigniere
cfec4c58cc Add a new CNAME for old MUAs 2024-08-04 10:54:49 +02:00
Florent Daigniere
da168322d6 Update deps 2024-08-02 21:24:41 +02:00
bors-mailu[bot]
5b5c6ba4f5
Merge #3353
3353: Fix email forwarding when set from the UI r=mergify[bot] a=nextgens

## What type of PR?

bug-fix

## What does this PR do?

Fix email forwarding when set from the UI

### Related issue(s)
- closes #3352 
- closes #3349 

## 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-07-30 11:02:43 +00:00
Luca
c458b98d45
Add -e to local PIP packages in requirements-dev.txt 2024-07-30 12:51:08 +02:00
Florent Daigniere
11e72e7034 As per review 2024-07-30 11:51:25 +02:00
Florent Daigniere
0eafff00c1 as per review 2024-07-30 10:41:17 +02:00
Florent Daigniere
f003c0e712 simplify again the logic 2024-07-29 20:33:32 +02:00
Florent Daigniere
9120f731fc Fix email forwarding when set from the UI 2024-07-28 22:54:55 +02:00
Jumper78
c39cc229a9 Merge branch 'feature-dkim-for-alternatives' of https://github.com/Jumper78/Mailu into feature-dkim-for-alternatives 2024-07-22 15:44:59 +00:00
Jumper78
89a6d57207 add translation for German that fits to the added lines of the detailed view of the domains
file modified:   core/admin/mailu/translations/de/LC_MESSAGES/messages.po
2024-07-22 15:42:21 +00:00
Jumper78
2a49300ba7
add 3350.feature to the newsfragments 2024-07-22 13:37:27 +02:00
Jumper78
189689565c adding section for the alternative domain names to the details page of the domain
code goes through all of the alternative domain names and displays:
- name of the alternative domain
- DNS MX entry
- DNS SPF entry
- if main domain has DKIM key: DNS DKIM entry
- if main domain has DKIM key: DNS DMARC entry

file modified:   core/admin/mailu/models.py
file modified:   core/admin/mailu/ui/templates/domain/details.html
2024-07-22 10:16:38 +00:00
Jumper78
4f0eb0ef35 DKIM signing of alternative domains
When rspamd looks up the DKIM key of the domains, also the alternative domains are queried. In case there is a match, the admin container is providing the DKIM key of the domain belonging to the alternative domain.

file modified:   core/admin/mailu/internal/views/rspamd.py
2024-07-21 22:01:20 +00:00
bors-mailu[bot]
d5bee885bf
Merge #3322
3322: Fix smtpd_forbid_unauth_pipelining with XCLIENT r=mergify[bot] a=nextgens

## What type of PR?

bug-fix

## What does this PR do?

Fix smtpd_forbid_unauth_pipelining with XCLIENT. The default has changed in postfix 3.9, we need it enabled for XCLIENT to work.

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

## 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-07-01 15:39:59 +00:00
Florent Daigniere
648c98ab05 Fix smtpd_forbid_unauth_pipelining w XCLIENT 2024-07-01 17:16:28 +02:00
Florent Daigniere
40bad79127 missing front->imap[2525] 2024-06-29 09:58:46 +02:00
Florent Daigniere
020f0f0b02 colors from fastlorenzo 2024-06-29 09:57:40 +02:00
Florent Daigniere
95f2525eea Make it clickable 2024-06-28 16:19:07 +02:00
Florent Daigniere
d3ea0f898a as requested 2024-06-28 12:44:29 +02:00
bors-mailu[bot]
3309464605
Merge #3307
3307: ports not in PORTS should not be bound r=nextgens a=nextgens

## What type of PR?

bug-fix

## What does this PR do?

Ensure we only bind ports that do feature in PORTS.
Previously we would bind ports 110 and 143 even though we shouldn't have.

### 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>
2024-06-26 11:48:19 +00:00
Florent Daigniere
98b3016bbd
Update models.py 2024-06-26 11:21:29 +02:00
bors-mailu[bot]
e82da51003
Merge #3313
3313: nginx should recursively set the realip until the first no trusted ad… r=nextgens a=Sacerdoss

## What type of PR?

bug-fix

## What does this PR do?

### Related issue(s)

closes https://github.com/Mailu/Mailu/issues/3311

## 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: Dominik Hebeler <dominik@suma-ev.de>
2024-06-26 07:29:02 +00:00
bors-mailu[bot]
f9a4c0410a
Merge #3315
3315: define client_ip variable r=mergify[bot] a=Sacerdoss

## What type of PR?

bug-fix

## What does this PR do?

### Related issue(s)
closes #3314 

## 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: Dominik Hebeler <dominik@suma-ev.de>
2024-06-26 07:23:24 +00:00
Dominik Hebeler
5be25b5887 do not put real_ip_recursive within the for-loop 2024-06-25 13:34:17 +02:00
Dominik Hebeler
34766602a8 define client_ip variable 2024-06-25 12:48:10 +02:00
Dominik Hebeler
28f3b60615 nginx should recursively set the realip until the first no trusted address is found 2024-06-25 12:38:51 +02:00
Florent Daigniere
1917bf7ee4 doh2 2024-06-24 10:21:16 +02:00
Florent Daigniere
616376eb5a Fix CI 2024-06-24 10:11:22 +02:00
Florent Daigniere
b4c8829a66 Admin talks to front:2525, not imap 2024-06-24 10:06:55 +02:00
Florent Daigniere
0ff18c6079 Handle the case where PROXY_PROTOCOL_25 is set 2024-06-24 09:46:06 +02:00