Commit Graph

62 Commits (53fe567d06343878d69d98b18ea30b50e2458eb8)

Author SHA1 Message Date
bors[bot] b57df78dac
Merge
1916: Ratelimit outgoing emails per user r=mergify[bot] a=nextgens

## What type of PR?

Feature

## What does this PR do?

A conflict-free version of  implementing per-user sender limits

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

## Prerequistes
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: Dimitri Huisman <diman@huisman.xyz>
Florent Daigniere 925105075c this is required in fact
Florent Daigniere 772e5efb7d Disable pipelining to prevent bypass
Florent Daigniere 2b05e72ce4 Revert "maybe fix the tests"
This reverts commit f971b47fb9.
Florent Daigniere f971b47fb9 maybe fix the tests
Florent Daigniere 4a871c0905 this causes trouble with the test
Florent Daigniere 55cdb1a534 be explicit about what we support
Florent Daigniere ecadf46ac6 fix PFS
Florent Daigniere de3620da4a Don't send credentials in clear ever
Florent Daigniere 4535c42e70 This isn't required
Florent Daigniere 1101e401e8 Apply the restriction on the right port
Florent Daigniere d6ce5d0c06 Remove a warning: limits don't apply to trusted hosts
Florent Daigniere bcdc137677 Alpine has removed support for btree and hash
Florent Daigniere 1438253a06 Ratelimit outgoing emails per user
Florent Daigniere 8bc1d6c08b Replace PUBLIC_HOSTNAME/IP in Received headers
This will ensure that we don't get spam points for not respecting the
RFC
Florent Daigniere 513d2a4c5e Fix bug : nested headers shouldn't be touched
Thomas Rehn 05ab244638 Ensure that the rendered file ends with newline in order to make `postconf` work correctly
Michael Wyraz e4454d776a Allow to enforce TLS for outbound using OUTBOUND_TLS_LEVEL=encrypt (default is 'may')
SunMar ac6b8d62dd Remove `reject_unverified_recipient` from `smtpd_client_restrictions`
Fix for , though I'm not sure if this is the right way to fix the issue. It was added in 175349a224.
kaiyou bd69b7a491 Add support for SRS, related to
Michael Wyraz a907fe4cac Split HOST_ANTISPAM in HOST_ANTISPAM_MILTER and HOST_ANTISPAM_WEBUI
Ionut Filip 075417bf90 Merged master and fixed conflicts
Dario Ernst ce0c24e076 Merge branch 'master' into HorayNarea-feat-upgrade-alpine
Daniel Huber ae290482c0
Format relay credentials file with jinja
Daniel Huber 515e95076a
Merge branch 'master' into feat-relay-auth
Dario Ernst d155b2c533 Start postfix directly with stdout logging
Daniel Huber 7dcb2eb006
Add authentication for email relays
Florian Peschka b9fd29a52f
Add extra newline to main.cf
This should prevent jinja from stripping the newline, which causes overrides to be appended after the comment section

see 
Ionut Filip 4c25c83419 HOST_* and *_ADDRESS variables cleanup
Tim Möhlmann 8172f3eab8
Move the Mailu Docker network to a fixed subnet.
This will make network configuration and host based authentication
more robust, across different deployment platforms.
The options `RELAYNETS` and`POD_ADDRESS_RANGE` are kept for compatibility.
However, their usage have become optional.
kaiyou 1fcaef7c7e
Merge branch 'master' into fix-sender-checks
mergify[bot] 118ea0f3fb
Merge pull request from ofthesun9/feature-swarm
Enabling swarm deployment on master branch
kaiyou f647d1a0bc Merge branch 'master' into fix-sender-checks
kaiyou 5035975c41 Remove Postfix debugging
kaiyou 00b5ae11db
Merge branch 'master' into feat-abstract-db
kaiyou 8b189ed145 Separate senderaccess and senderlogin maps
ofthesun9 74796201ec Merge branch 'master' into feature-swarm
kaiyou fc99eb7b34 Re-enable sender access check to prevent source spoofing
kaiyou f3f0b98755 Fix relay restrictions so email gets delivered correctly
ofthesun9 09d77bc2de Handle the case where the variable REJECT_UNLISTED_RECIPIENT is not set
ofthesun9 cc17962c86 fixes
kaiyou f5668dea51 Handle relays as virtual transports through podop
kaiyou 697caaab81 Update podop access and mail restrictions
kaiyou 73ca5fb3d3 Provide a more generic skeletton for postfix virtual lookups
ofthesun9 23e288aadc Enabling swarm deployment on master branch:
-Extends the usage of POD_ADDRESS_RANGE
-Provides documentation
Pierre Jaury c04e58498d Remove unused postfix sqlite files
Pierre Jaury bb73933e1e Switch postfix to Podop
Pierre Jaury 82e738cc53 Remove the old code of postproxy
Pierre Jaury 2b2ab864d1 Add support for querying the table in Dovecot proxy
Pierre Jaury 70175f8c28 Add postproxy support for Dovecot dict protocol