diff --git a/roles/authelia/templates/conf-main.json.j2 b/roles/authelia/templates/conf-main.json.j2 index c25fe5c..ef5d46a 100644 --- a/roles/authelia/templates/conf-main.json.j2 +++ b/roles/authelia/templates/conf-main.json.j2 @@ -173,8 +173,7 @@ {% endif %} {% if var_authelia_notification_mode == "smtp" %} "smtp": { - "host": "{{var_authelia_notification_smtp_host}}", - "port": {{var_authelia_notification_smtp_port | string}}, + "address": "{{var_authelia_notification_smtp_host}}:{{var_authelia_notification_smtp_port | string}}", "username": "{{var_authelia_notification_smtp_username}}", "password": "{{var_authelia_notification_smtp_password}}", "sender": "{{var_authelia_notification_smtp_sender}}",