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

Fix using multiple email addresses for sendmail #3598

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion config/action.d/sendmail-common.conf
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ actionunban =

# Your system mail command
#
mailcmd = /usr/sbin/sendmail -f "<sender>" "<dest>"
mailcmd = /usr/sbin/sendmail -f "<sender>" -t
Copy link
Contributor

Choose a reason for hiding this comment

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

This can provide certain backwards incompatibility for actions based on sendmail-common which doesn't contain recipients in the message body (e. g. <dest> is not included in To: or message doesn't contain To: header).


# Recipient mail address
#
Expand Down
1 change: 1 addition & 0 deletions config/jail.conf
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ filter = %(__name__)s[mode=%(mode)s]

# Destination email address used solely for the interpolations in
# jail.{conf,local,d/*} configuration files.
# comma separated list for multiple addresses
Copy link
Contributor

Choose a reason for hiding this comment

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

May be valid for sendmail actions (after the "fix"), but not for mail (GNU Mailutils, etc) actions.

destemail = root@localhost

# Sender email address used solely for some actions
Expand Down