SMTP Error 454: Authentication Failed!

Allow me to simplify things a whole lot:

sudo certbot certonly --cert-name mail -a webroot -w /var/www/html -d mail.2e0epv.com,mail.kylebrown.co.uk

This will create a new certificate named mail. Once you successfully receive this certificate, you can use certbot certificates to list all of your stored certificates and note their names then use certbot delete name to delete those unneeded certificates.

1 Like

Looks like a python error now, @rg305. Since certbot is generating the CSR, so the PEM should be fine in it.

Well it looks like it's made 2 new certs

Yeah bad turned to worse really fast.
But it might have been the underlying problem all along... hmm...
I suggest he update the client.

1 Like

Wait... the cert... succeeded? :astonished:

I see it now. You have corrupted certs in your store.

Now there is "mail" and "mailcert" ?!?!?!
What happened to: --cert-name mail.2e0epv.com

Do we really care?

Please show the entries in the /live/ and /archive/mail/ and also /archive/mailcert/ folders.
ls -la /etc/letsencrypt/live/
ls -la /etc/letsencrypt/archive/mail/
ls -la /etc/letsencrypt/archive/mailcert/

and also show:
df -h

After what @rg305 asked, please run the following:

sudo certbot delete --cert-name mailcert

sudo certbot delete --cert-name mail.2e0epv.com

Good catch @rg305.

If that fails try it like:
sudo certbot delete --cert-name mailcert
sudo certbot delete --cert-name mail.2e0epv.com

1 Like

Whelp, that actually worked.

1 Like

What about:

Now...

sudo certbot certificates

:crossed_fingers:

Just for info:

That probably needs some expanding and correcting, since you have deleted certs:
ls -la /etc/letsencrypt/live/mail/
ls -la /etc/letsencrypt/archive/mail/
df -h

1 Like

Beautiful! :partying_face:

Ok, now now I have a cert now do I need to setup a server block in postfix, dovecot and nginx?

I would think they all operate differently.
You need to find the "how to" use a cert with each of those (individually).

This issue has now been solved! :smiley:

2 Likes

Ok, then I will stop asking for the "ls -la"s and the "df -h" - LOL

But I will ask: How did you get it fixed?
[so that anyone who reads this topic can benefit]