hi
I have a mailcow server configured with 2 domains, mail.example1.com and mail.example2.com,
the server has the hostname mail.example1.com, but when I send an email with domain 2 (email.example2.com) everything works very well but when I consult the details of the email, in fact it is sent by email .example1.com.
is this normal?
and when I consult the webui of mail.example1.com the certificate is correct, and when I consult the webui of mail.example2.com it is the certificate of mail.example1.com which is used, I have no ssl error and I receive and send emails without problem. is this also normal?
I specify my config:
MAILCOW_HOSTNAME=mail.example1.com
ADDITIONAL_SERVER_NAMES=
ADDITIONAL_SAN=mail.example1.com,mail.example2.com
SKIP_LETS_ENCRYPT=n
ENABLE_SSL_SNI=y
SKIP_IP_CHECK=n
SKIP_HTTP_VERIFICATION=n
all the certificates are created without any error (autoconfig, autodiscover…..)