| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
ContextA quick overview of our current script support related to $dms_smtpd_sender_restrictions for maintainer docs to reference. Summary:
#3127 was for DMS v12: docker-mailserver/CHANGELOG.md Lines 505 to 507 in d2d74a2 docker-mailserver/target/postfix/main.cf Line 59 in d2d74a2 docker-mailserver/target/postfix/main.cf Lines 70 to 74 in d2d74a2 Ports 587 and 465 use a custom parameter for main.cf, to reference our own one: While SPOOF_PROTECTION=0 is our current default, the default config DMS ships as shown above is with the intent of SPOOF_PROTECTION=1, when the feature is not enabled we drop the extra restriction (reject_authenticated_sender_login_mismatch) for supporting SPOOF_PROTECTION=1: docker-mailserver/target/scripts/startup/setup.d/security/spoofing.sh Lines 24 to 26 in d2d74a2 Another feature appends to dms_smtpd_sender_restrictions: docker-mailserver/target/scripts/startup/setup.d/postfix.sh Lines 64 to 69 in d2d74a2 |
Sorry, something went wrong.
…all `smtpd` ports
|
Technically this shouldn't be a noteworthy change/fix as I don't think the current duplication is breaking anything, but if a changelog entry is needed: ### Fixes
- **Postfix:**
- `setup email restrict` generated configs now only prepend to `dms_smtpd_sender_restrictions` ([#4379](https://github.com/docker-mailserver/docker-mailserver/pull/4379) |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Description
I've noticed that /etc/postfix/main.cf has these checks prepended twice, as the Postfix parameter we update also has the sed call match our own dms_ prefix variant (introduced in #3127).
No known bugs, nor should this fix change anything other than removing the duplicates prepended to smtpd_sender_restrictions, only dms_smtpd_sender_restrictions will be configured with these restrictions.
EDIT: There was a slight mishap with recipient restrictions in this PR. It was resolved in a follow-up PR for the same 15.0.1 release: #4399
Quick reference for maintainers
To configure how the sender addresses of mail is restricted, DMS has a few similar settings due to:
That translates to the following:
To keep the same behaviour DMS already has for setup email restrict on all ports, we now only prepend to dms_smtpd_sender_restrictions.
Type of change
Checklist