Type your comment> @Hifihedgehog said:
That means you did not select each of the domains in CyberPanel and generate an SSL certificate for those mail domains. That, or you tried regenerating the SSL certificate so many times that you are blocked out since you hit the renewal request quota, in which case you would have to wait.
I solved that issue of generating ssl, my ssl is being shown rn but i still get ssl error for smtp i suppose for secondary domains.
My dovecot is:
local_name mail.s.com {
ssl_cert = </etc/letsencrypt/live/mail.s.com/fullchain.pem
ssl_key = </etc/letsencrypt/live/mail.s.com/privkey.pem
}
local_name mail.a.com.tr {
ssl_cert = </etc/letsencrypt/live/mail.a.com.tr/fullchain.pem
ssl_key = </etc/letsencrypt/live/mail.a.com.tr/privkey.pem
}
local_name mail.y.com {
ssl_cert = </etc/letsencrypt/live/mail.y.com/fullchain.pem
ssl_key = </etc/letsencrypt/live/mail.y.com/privkey.pem
}
My postfix vmail is
mail.y.com /etc/letsencrypt/live/mail.y.com/privkey.pem /etc/letsencrypt/live/mail.y.com/fullchain.pem
mail.s.com /etc/letsencrypt/live/mail.s.com/privkey.pem /etc/letsencrypt/live/mail.s.com/fullchain.pem
mail.a.com.tr /etc/letsencrypt/live/mail.a.com.tr/privkey.pem /etc/letsencrypt/live/mail.a.com.tr/fullchain.pem
my main.cf is
smtpd_use_tls = yes
#smtpd_tls_cert_file = /etc/pki/dovecot/certs/dovecot.pem
#smtpd_tls_key_file = /etc/pki/dovecot/private/dovecot.pem
smtpd_tls_chain_files =
/etc/letsencrypt/live/mail.y.com/privkey.pem,
/etc/letsencrypt/live/mail.y.com/fullchain.pem
provide the map to be used when SNI support is enabled
tls_server_sni_maps = hash:/etc/postfix/vmail_ssl.map
virtual_create_maildirsize = yes
virtual_maildir_extended = yes
configured like this. I generated ssl and mailserver ssl for mail.y.com from panel and checked the ssl certs.
used postmap -F hash:/etc/postfix/vmail_ssl.map , systemctl restart postfix and systemctl restart dovecot without errors.
Nothing wrong with certifications but i still get error on gmail mobile. If youre willing to take a look at cfgs i can hand them over. This mail problem hurts my head so much last few days …