1
0
mirror of https://github.com/Mailu/Mailu.git synced 2024-12-14 10:53:30 +02:00
Mailu/core/admin/mailu/internal/views
bors[bot] 0839490beb
Merge #2479
2479: Rework the anti-spoofing rule r=mergify[bot] a=nextgens

## What type of PR?

Feature

## What does this PR do?

We shouldn't assume that Mailu is the only MTA allowed to send emails on behalf of the domains it hosts.
We should also ensure that it's non-trivial for email-spoofing of hosted domains to happen

Previously we were preventing any spoofing of the envelope from; Now we are preventing spoofing of both the envelope from and the header from unless some form of authentication passes (is a RELAYHOST, SPF, DKIM, ARC)

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

## 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>
2022-11-09 15:16:36 +00:00
..
__init__.py Autoconfig mozilla-style 2022-03-16 14:04:02 +01:00
auth.py admin: graceful fail on user fetch in basic auth 2022-03-27 13:17:57 +02:00
autoconfig.py ghostwheel42's suggestion 2022-03-17 11:39:57 +01:00
dovecot.py Duh 2022-11-03 17:50:39 +01:00
fetch.py Add dont_change_updated_at to fetch_done 2022-10-28 10:19:30 +02:00
postfix.py Remove the strict anti-spoofing rule. 2022-10-18 15:58:53 +02:00
rspamd.py Optimize the query 2022-10-24 19:31:53 +02:00