Mail Server "Cert VALIDATION ERROR(S): certificate has expired" Temporary Solution

If you facing issue like below when checking your mail server using, below is my temporary solution.


Login to your Cyberpanel server using ssh and run command below once each line:

postmap -F hash:/etc/postfix/
systemctl restart dovecot
systemctl restart postfix

After apply above command, test again and you should get result like below:

Please remember this is just temporary fix, same problem will be repeated after your mail server ssl is renewed.

Sorry for my broken English.

1 Like

run command
postmap -F hash:/etc/postfix/