-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mod_smtp_filter: Fix privacy preservation for outgoing mail submissions.
For message submissions that are addressed to external recipients, the processing for these messages was using the relay handler to prepend the Received header. This handler would not respect submission privacy configuration, which could result in the sender's IP address being leaked. A failsafe check is added here to ensure that submissions have this header added in a way that respects the current privacy setting. As part of this change, logging using smtp_filter_write will not use the calling location for this log message, rather than the location inside this function, to make tracing the source of prepends easier.
- Loading branch information
1 parent
2aa33a2
commit be85241
Showing
3 changed files
with
15 additions
and
3 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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