Problem connecting with desktop client
I run my home server under Rocky Linux 9. The server is modem / router and as such has two firewall interfaces; internal and external.
Dovecot version is dovecot-2.3.16-8.el9.x86_64 kernel is: 5.14.0-284.18.1.el9_2.x86_64
My domain is wo-lar.com
Postfix and Dovecot are up and running, and I can send and receive emails from CLI.
But I cannot connect from desktop clients. I get the following error message: Server message: Can't connect to host "tcp://wo-lar.com:143"
I tried to telnet from my desktop and server. Results are the same:
- I always get a connection refused: telnet wo-lar.com 143 telnet / telnet <Server LAN IP> 143. On server only: telnet 127.0.0.1 143
- telnet wo-lar 143 (without .com!) establishes a connection [root@home wp.rauchholz]# telnet wo-lar 143 Trying 79.152.236.25... Connected to wo-lar. Escape character is '^]'. OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE LITERAL+ STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot ready.
I went through all kinds for conf files and search for wo-lar string, but can't find it anywhere
Where is the mistake hiding?
Thanks for helping.
Wolfgang
On 17/07/2023 12:37 EEST Wolfgang Paul Rauchholz wp.rauchholz@gmail.com wrote:
I run my home server under Rocky Linux 9. The server is modem / router and as such has two firewall interfaces; internal and external. Dovecot version isdovecot-2.3.16-8.el9.x86_64 kernel is: 5.14.0-284.18.1.el9_2.x86_64 My domain is wo-lar.com (http://wo-lar.com) Postfix and Dovecot are up and running, and I can send and receive emails from CLI. But I cannot connect from desktop clients. I get the following error message: Server message: Can't connect to host "tcp://wo-lar.com:143 (http://wo-lar.com:143)"
I tried to telnet from my desktop and server. Results are the same:
- I always get a connection refused: telnet wo-lar.com (http://wo-lar.com) 143 telnet / telnet <Server LAN IP> 143. On server only: telnet 127.0.0.1 143
- telnet wo-lar 143 (without .com!) establishes aconnection [root@home wp.rauchholz]# telnet wo-lar 143 Trying 79.152.236.25... Connected to wo-lar. Escape character is '^]'. OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE LITERAL+ STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot ready.
I went through all kinds for conf files and search for wo-lar string, but can't find it anywhere Where is the mistake hiding? Thanks for helping.
Wolfgang
What is your listen
setting in dovecot.conf?
you can check with doveconf listen
Aki
Hello Aki,
Thanks for picking up the topic.
[root@home wp.rauchholz]# doveconf listen listen = ipv4
root@home wp.rauchholz]# ss -lnpt | grep dovecot LISTEN 0 100 79.152.236.25:143 0.0.0.0:* users:(("dovecot",pid=803194,fd=35))
LISTEN 0 100 79.152.236.25:993 0.0.0.0:* users:(("dovecot",pid=803194,fd=36))
Wolfgang
Wolfgang Rauchholz +34 627 994 977 https://www.linkedin.com/in/wolfgangrauchholz/
On Mon, Jul 17, 2023 at 11:59 AM Aki Tuomi aki.tuomi@open-xchange.com wrote:
On 17/07/2023 12:37 EEST Wolfgang Paul Rauchholz wp.rauchholz@gmail.com wrote:
I run my home server under Rocky Linux 9. The server is modem / router and as such has two firewall interfaces; internal and external. Dovecot version isdovecot-2.3.16-8.el9.x86_64 kernel is: 5.14.0-284.18.1.el9_2.x86_64 My domain is wo-lar.com (http://wo-lar.com) Postfix and Dovecot are up and running, and I can send and receive emails from CLI. But I cannot connect from desktop clients. I get the following error message: Server message: Can't connect to host "tcp://wo-lar.com:143 ( http://wo-lar.com:143)"
I tried to telnet from my desktop and server. Results are the same:
- I always get a connection refused: telnet wo-lar.com ( http://wo-lar.com) 143 telnet / telnet <Server LAN IP> 143. On server only: telnet 127.0.0.1 143
- telnet wo-lar 143 (without .com!) establishes aconnection [root@home wp.rauchholz]# telnet wo-lar 143 Trying 79.152.236.25... Connected to wo-lar. Escape character is '^]'. OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE LITERAL+ STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot ready.
I went through all kinds for conf files and search for wo-lar string, but can't find it anywhere Where is the mistake hiding? Thanks for helping.
Wolfgang
What is your
listen
setting in dovecot.conf?you can check with
doveconf listen
Aki
Try
listen = 0.0.0.0
or
listen = 79.152.236.25, 127.0.0.1
instead.
Aki
On 17/07/2023 14:07 EEST Wolfgang Paul Rauchholz wp.rauchholz@gmail.com wrote:
Hello Aki,
Thanks for picking up the topic.
[root@home wp.rauchholz]# doveconf listen listen = ipv4
root@home wp.rauchholz]# ss -lnpt | grep dovecot LISTEN 0 100 79.152.236.25:143 (http://79.152.236.25:143/) 0.0.0.0:* users:(("dovecot",pid=803194,fd=35)) LISTEN 0 100 79.152.236.25:993 (http://79.152.236.25:993/) 0.0.0.0:* users:(("dovecot",pid=803194,fd=36))
Wolfgang
Wolfgang Rauchholz +34 627 994 977 https://www.linkedin.com/in/wolfgangrauchholz/
On Mon, Jul 17, 2023 at 11:59 AM Aki Tuomi aki.tuomi@open-xchange.com wrote:
On 17/07/2023 12:37 EEST Wolfgang Paul Rauchholz wp.rauchholz@gmail.com wrote:
I run my home server under Rocky Linux 9. The server is modem / router and as such has two firewall interfaces; internal and external. Dovecot version isdovecot-2.3.16-8.el9.x86_64 kernel is: 5.14.0-284.18.1.el9_2.x86_64 My domain is wo-lar.com (http://wo-lar.com) (http://wo-lar.com) Postfix and Dovecot are up and running, and I can send and receive emails from CLI. But I cannot connect from desktop clients. I get the following error message: Server message: Can't connect to host "tcp://wo-lar.com:143 (http://wo-lar.com:143) (http://wo-lar.com:143)"
I tried to telnet from my desktop and server. Results are the same:
- I always get a connection refused: telnet wo-lar.com (http://wo-lar.com) (http://wo-lar.com) 143 telnet / telnet <Server LAN IP> 143. On server only: telnet 127.0.0.1 143
- telnet wo-lar 143 (without .com!) establishes aconnection [root@home wp.rauchholz]# telnet wo-lar 143 Trying 79.152.236.25... Connected to wo-lar. Escape character is '^]'. OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE LITERAL+ STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot ready.
I went through all kinds for conf files and search for wo-lar string, but can't find it anywhere Where is the mistake hiding? Thanks for helping.
Wolfgang
What is your
listen
setting in dovecot.conf?you can check with
doveconf listen
Aki
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
What I did and fixed the problem was to reset the listen value the default: "listen = *, ::" I am running my home server under dynamic DNS. Therefor I cannot set the IP
Thanks for pointing me in the right direction.
Un saludo,
Wolfgang Rauchholz +34 627 994 977 https://www.linkedin.com/in/wolfgangrauchholz/
On Mon, Jul 17, 2023 at 1:17 PM Aki Tuomi aki.tuomi@open-xchange.com wrote:
Try
listen = 0.0.0.0
or
listen = 79.152.236.25, 127.0.0.1
instead.
Aki
On 17/07/2023 14:07 EEST Wolfgang Paul Rauchholz wp.rauchholz@gmail.com wrote:
Hello Aki,
Thanks for picking up the topic.
[root@home wp.rauchholz]# doveconf listen listen = ipv4
root@home wp.rauchholz]# ss -lnpt | grep dovecot LISTEN 0 100 79.152.236.25:143 (http://79.152.236.25:143/) 0.0.0.0:* users:(("dovecot",pid=803194,fd=35)) LISTEN 0 100 79.152.236.25:993 (http://79.152.236.25:993/) 0.0.0.0:* users:(("dovecot",pid=803194,fd=36))
Wolfgang
Wolfgang Rauchholz +34 627 994 977 https://www.linkedin.com/in/wolfgangrauchholz/
On Mon, Jul 17, 2023 at 11:59 AM Aki Tuomi aki.tuomi@open-xchange.com wrote:
On 17/07/2023 12:37 EEST Wolfgang Paul Rauchholz <
wp.rauchholz@gmail.com> wrote:
I run my home server under Rocky Linux 9. The server is modem /
router and as such has two firewall interfaces; internal and external.
Dovecot version isdovecot-2.3.16-8.el9.x86_64 kernel is: 5.14.0-284.18.1.el9_2.x86_64 My domain is wo-lar.com (http://wo-lar.com) (http://wo-lar.com) Postfix and Dovecot are up and running, and I can send and receive emails from CLI. But I cannot connect from desktop clients. I get the following error message: Server message: Can't connect to host "tcp://wo-lar.com:143 (http://wo-lar.com:143) (http://wo-lar.com:143)"
I tried to telnet from my desktop and server. Results are the same:
- I always get a connection refused: telnet wo-lar.com ( http://wo-lar.com) (http://wo-lar.com) 143 telnet / telnet <Server LAN IP> 143. On server only: telnet 127.0.0.1 143
- telnet wo-lar 143 (without .com!) establishes aconnection [root@home wp.rauchholz]# telnet wo-lar 143 Trying 79.152.236.25... Connected to wo-lar. Escape character is '^]'. OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE LITERAL+ STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot ready.
I went through all kinds for conf files and search for wo-lar string, but can't find it anywhere Where is the mistake hiding? Thanks for helping.
Wolfgang
What is your
listen
setting in dovecot.conf?you can check with
doveconf listen
Aki
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
participants (2)
-
Aki Tuomi
-
Wolfgang Paul Rauchholz