Skip to content

fix: add information to Logwatch's mailer so Envelope From is properly set#3081

Merged
georglauterbach merged 2 commits intomasterfrom
fix/logwatch-envelope-from
Feb 18, 2023
Merged

fix: add information to Logwatch's mailer so Envelope From is properly set#3081
georglauterbach merged 2 commits intomasterfrom
fix/logwatch-envelope-from

Conversation

@georglauterbach
Copy link
Copy Markdown
Member

@georglauterbach georglauterbach commented Feb 9, 2023

Description

I came across this when looking at Rspamd logs. Logwatch does not set the "Envelope From" header properly and the return path is also wrong (it uses root@mail.<DOMAINNAME>).

With the new addition, the correct header is set as specified in LOGWATCH_SENDER.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation (README.md or the documentation under docs/)
  • If necessary I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

I came across this when looking at Rspamd logs. Logwatch does not send
the "Envelope From" header properly and the return path is also wrong
(it uses `root@mail.<DOMAINNAME>`).

With the new addition, the correct header is set as specified in
`LOGWATCH_SENDER`.
@georglauterbach georglauterbach changed the title fix: add information to Logwatch#s mailer so Envelope From is properly set fix: add information to Logwatch's mailer so Envelope From is properly set Feb 11, 2023
@georglauterbach georglauterbach merged commit 632012a into master Feb 18, 2023
@georglauterbach georglauterbach deleted the fix/logwatch-envelope-from branch February 18, 2023 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants