- Plesk for Linux
example.comwas secured with Let's Encrypt on Plesk server.
example.comwas removed from the server at Domains > example.com > Remove.
Let's Encrypt notifications about the removed domain are still being sent to a customer's email which was specified during SSL certificate request.
/usr/local/psa/var/modules/letsencrypt/etc/live/example.com/exists on the server.
The certificate renewal script was not deleted when the domain was removed or when Let's Encrypt was disabled.
According to Let's Encrypt documentation, each email should contain an 'unsubscribe' link. In case of expiry notifications for one domain, use such links to unsubscribe. In other cases:
Move or delete the
# mv /usr/local/psa/var/modules/letsencrypt/etc/live/example.com/ ~/
Move or delete files mentioning the removed domain from the
# for i in $(grep -irl "example.com" /usr/local/psa/var/modules/letsencrypt/orders/); do mv $i ~/; done