Score:0

Dovecot refusing connection after extending CertBot certificates

iq flag

I have an Ubuntu server with a website and a setup with postfix, dovecot, and roundcube.

All was working well. But this week, I have extended the wordpress website from 1 single-site to 6 sites (multisites). As such, I extended the CertBot certificate with the new domains.

In order to do this, I added virtualhosts to /etc/apache2/sites-enabled/domain.com.conf. I ran the certbot command for the domain. It worked well. But I have also "locked" myself out of my postfix/dovecot/roundcube it seems.

Now, when I enter to log in. I go mail.domain.com/mail (Only works without https:// now).

And I try to log in as normal. But it tells me that I cannot connect to the email-server.

When I login on my phone it tells me

Connection to IMAP server failed

.

In mail.log I get the following error:

Mar  1 10:46:52 server-PowerEdge-T40 postfix/lmtp[72562]: 52F033921149: to=<[email protected]>, relay=none, delay=336216, delays=336216/0.01/0/0, dsn=4.4.1, status=deferred (connect to mail.domain.com[private/dovecot-lmtp]: Connection refu>

In roundcube errors.log I get the following error:

[01-Mar-2022 11:15:33 +0100]: <2se1rp3p> IMAP Error: Login failed for [email protected] against localhost from [public ip from my work]. Could not connect to localhost:143: Connection refused in /usr/share/roundcube/program/lib/Roundcube/rcube_imap.php>
in flag
Connection refused means that the port is not open. Usually that means that it the service is not running or listening on the wrong interface.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.