Foreman e-mail Notifications not working

Hello
Im using Version 1.15.6 , I added my e-mail under settings / mail and also in /etc/foreman/settings.yaml I added

:administrator: user@domain.com
:failed_report_email_notification: true

In email.yaml I have

# Outgoing email settings

production:
  delivery_method: :sendmail

The server is able to send e-mails , tested from command line, but when there is an error ( I have configured puppet reports ) I get no email.

Do I need to set something else?

Thanks
Regards

Sorry for the noise, my appologies , I resolved this issue.
Thanks
Regards

What was the problem and solution? In case others have a similar problem?

Just went to Administration/ e-mail/ mail preferences and edited the user preferences, enable puppet notification on error and also reporting.

thanks
regards

1 Like

For the benefit of future searches:
/etc/foreman/email.yaml has been deprecated in 1.14 in favor of storing the setting in the database thus allowing modification in the UI or API during runtime.

1 Like