I decided to connect my Mailcow mail server to Authelia so that users could request password recovery via email.
Authelia.conf:
notifier:
# disable_startup_check: true
smtp:
host: mail.domain.com
port: 587
username: auth@domain.com
password: MyPass
sender: "DreamVR SSO <auth@domain.com>"
timeout: 10s
With this configuration, messages are sent, but when sending a message to gmail.com, I receive a message from Gmail:
host aspmx.l.google.com[74.125.205.27] said:
550-5.7.1 Messages missing a valid Message-ID header are
not 550-5.7.1 accepted. For more information, go to 550-5.7.1
Indeed, in rspamd this message shows ID: undef
.
If I try to send a message to gmail.com from this mailbox through the web UI, the message is sent and the recipient sees it, so the ID is correctly assigned to the message.
I would like to understand how this can be fixed; I did not find any parameters in the Authelia config that could influence this.