Set the email sender in unattended-upgrades config
Mailgun was rejecting the email as it did not have a valid sender (the default, which is something like root@akkounts-1). Unattended upgrades have been working properly, now we will start getting emails next time an upgrade is done on akkounts-1.
This commit is contained in:
parent
68df49037c
commit
0cae8dca69
@ -32,6 +32,7 @@ include_recipe 'kosmos-base::systemd_emails'
|
||||
|
||||
node.override["apt"]["unattended_upgrades"]["enable"] = true
|
||||
node.override["apt"]["unattended_upgrades"]["mail_only_on_error"] = false
|
||||
node.override["apt"]["unattended_upgrades"]["sender"] = "ops@kosmos.org"
|
||||
node.override["apt"]["unattended_upgrades"]["allowed_origins"] = [
|
||||
"${distro_id}:${distro_codename}-security",
|
||||
"${distro_id}:${distro_codename}-updates"
|
||||
|
Loading…
x
Reference in New Issue
Block a user