Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SendmailMailer: specify envelope from on the command line #671

Merged
merged 1 commit into from Oct 17, 2021

Conversation

diabonas
Copy link
Contributor

An "envelope from" is useful e.g. for msmtp to choose the correct SMTP account based on the From address
(https://marlam.de/msmtp/msmtp.html#Choosing-an-account). On the other hand, -f is a standard sendmail option (https://man7.org/linux/man-pages/man8/sendmail.8.html), so it shouldn't disrupt other implementations.

Copy link
Owner

@thp thp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please mention this change in CHANGELOG.md (in the unreleased section, subsection changed) so that users running into possible problems have an easy way of knowing that this behavior changed. After this, this can be merged.

An "envelope from" is useful e.g. for msmtp to choose the correct SMTP account
based on the From address
(https://marlam.de/msmtp/msmtp.html#Choosing-an-account). On the other hand, -f
is a standard sendmail option
(https://man7.org/linux/man-pages/man8/sendmail.8.html), so it shouldn't
disrupt other implementations.
@diabonas
Copy link
Contributor Author

Thank you for your review! I amended the commit accordingly to include the changelog entry as suggested.

@thp thp merged commit b1e7a17 into thp:master Oct 17, 2021
@diabonas diabonas deleted the sendmail-envelope-from branch October 17, 2021 11:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants