Remove invalid URL from SPF message#2503
Merged
casperklein merged 1 commit intodocker-mailserver:masterfrom Mar 22, 2022
Merged
Remove invalid URL from SPF message#2503casperklein merged 1 commit intodocker-mailserver:masterfrom
casperklein merged 1 commit intodocker-mailserver:masterfrom
Conversation
polarathene
approved these changes
Mar 21, 2022
wernerfred
approved these changes
Mar 22, 2022
georglauterbach
approved these changes
Mar 22, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
http://www.openspf.net/ is not available anymore.
This PR removes the URL from the SPF failure messages. The message is handled in
policyd-spf.conf.Default value:
Reason_Message = Message {rejectdefer} due to: {spf}. Please see {url}New value:
Reason_Message = Message {rejectdefer} due to: {spf}.Before:
Mar 4 21:56:01 mail postfix/smtpd[463350]: NOQUEUE: reject: RCPT from unknown[redacted]: 550 5.7.23 <[email protected]>: Recipient address rejected: Message rejected due to: SPF fail - not authorized. Please see http://www.openspf.net/Why?s=mfrom;r=<UNKNOWN>; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<spammerdomain.org>After:
Mar 4 21:56:01 mail postfix/smtpd[463350]: NOQUEUE: reject: RCPT from unknown[redacted]: 550 5.7.23 <[email protected]>: Recipient address rejected: Message rejected due to: SPF fail - not authorized.; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<spammerdomain.org>Fixes #2459
Type of change
Checklist:
docs/)