Der Ubuntu-Server läuft nicht auf .100 sondern auf .120 und die Fritzbox vergab eine DHCP-Adresse im ausgeschlossenen DHCP-Bereich. Jedenfalls hat der Ubuntu-PC jetzt eine manuelle statische Adresse eingetragen.
Alles folgende ist von meinem Freund und nicht von mir.
Zum leichteren Vergleich nochmal:
$ nmap localhost
Starting Nmap 7.94SVN ( https://nmap.org ) at 2025-03-25 21:28 CET
Nmap scan report for localhost (127.0.0.1)
Host is up (0.00011s latency).
Not shown: 984 closed tcp ports (conn-refused)
PORT STATE SERVICE
22/tcp open ssh
25/tcp open smtp
80/tcp open http
110/tcp open pop3
111/tcp open rpcbind
143/tcp open imap
631/tcp open ipp
783/tcp open spamassassin
993/tcp open imaps
995/tcp open pop3s
2049/tcp open nfs
4242/tcp open vrml-multi-use
8042/tcp open fs-agent
8200/tcp open trivnet1
9050/tcp open tor-socks
10024/tcp open unknown
Nmap done: 1 IP address (1 host up) scanned in 0.08 seconds
Jetzt mit richtiger IP-Adresse:
$ nmap 192.168.178.120
Starting Nmap 7.94SVN ( https://nmap.org ) at 2025-03-25 21:20 CET
Nmap scan report for server.fritz.box (192.168.178.120)
Host is up (0.00014s latency).
Not shown: 989 closed tcp ports (conn-refused)
PORT STATE SERVICE
22/tcp open ssh
80/tcp open http
110/tcp open pop3
111/tcp open rpcbind
143/tcp open imap
993/tcp open imaps
995/tcp open pop3s
2049/tcp open nfs
4242/tcp open vrml-multi-use
8042/tcp open fs-agent
8200/tcp open trivnet1
Noch immer mit richtiger IP-Adresse Fehler:
$ openssl s_client -connect 192.168.178.120
4077D2A67E7D0000:error:8000006F:system library:BIO_connect:Connection refused:../crypto/bio/bio_sock2.c:114:calling connect()
4077D2A67E7D0000:error:10000067:BIO routines:BIO_connect:connect error:../crypto/bio/bio_sock2.c:116:
connect:errno=111
Dump:
$ ss -tlpn
State Recv-Q Send-Q Local Address:Port Peer Address:Port Process
LISTEN 0 64 0.0.0.0:2049 0.0.0.0:*
LISTEN 0 64 0.0.0.0:43245 0.0.0.0:*
LISTEN 0 4096 127.0.0.54:53 0.0.0.0:*
LISTEN 0 100 0.0.0.0:110 0.0.0.0:*
LISTEN 0 4096 0.0.0.0:111 0.0.0.0:*
LISTEN 0 4096 127.0.0.1:10024 0.0.0.0:*
LISTEN 0 16 0.0.0.0:8200 0.0.0.0:*
LISTEN 0 100 0.0.0.0:143 0.0.0.0:*
LISTEN 0 4096 0.0.0.0:57733 0.0.0.0:*
LISTEN 0 100 0.0.0.0:995 0.0.0.0:*
LISTEN 0 100 0.0.0.0:993 0.0.0.0:*
LISTEN 0 4096 127.0.0.1:783 0.0.0.0:*
LISTEN 0 4096 127.0.0.1:9050 0.0.0.0:*
LISTEN 0 4096 0.0.0.0:34051 0.0.0.0:*
LISTEN 0 4096 127.0.0.1:631 0.0.0.0:*
LISTEN 0 4096 0.0.0.0:34285 0.0.0.0:*
LISTEN 0 100 127.0.0.1:25 0.0.0.0:*
LISTEN 0 4096 0.0.0.0:47155 0.0.0.0:*
LISTEN 0 4096 127.0.0.53%lo:53 0.0.0.0:*
LISTEN 0 200 0.0.0.0:8042 0.0.0.0:*
LISTEN 0 100 0.0.0.0:4190 0.0.0.0:*
LISTEN 0 50 0.0.0.0:4242 0.0.0.0:*
LISTEN 0 100 [::1]:25 [::]:*
LISTEN 0 64 [::]:2049 [::]:*
LISTEN 0 4096 [::1]:631 [::]:*
LISTEN 0 4096 [::1]:783 [::]:*
LISTEN 0 4096 [::]:60881 [::]:*
LISTEN 0 4096 [::1]:10024 [::]:*
LISTEN 0 100 [::]:110 [::]:*
LISTEN 0 4096 [::]:111 [::]:*
LISTEN 0 511 *:80 *:*
LISTEN 0 4096 *:22 *:*
LISTEN 0 100 [::]:143 [::]:*
LISTEN 0 64 [::]:33379 [::]:*
LISTEN 0 4096 [::]:41855 [::]:*
LISTEN 0 100 [::]:995 [::]:*
LISTEN 0 100 [::]:993 [::]:*
LISTEN 0 4096 [::]:39561 [::]:*
LISTEN 0 100 [::]:4190 [::]:*
LISTEN 0 4096 [::]:45757 [::]:*
Sieht anders als bei mir aus:
root@server:~# systemctl status dovecot.service
● dovecot.service - Dovecot IMAP/POP3 email server
Loaded: loaded (/usr/lib/systemd/system/dovecot.service; enabled; preset: >
Active: active (running) since Tue 2025-03-25 20:39:47 CET; 49min ago
Docs: man:dovecot(1)
https://doc.dovecot.org/
Main PID: 2409 (dovecot)
Status: "v2.3.21 (47349e2482) running"
Tasks: 6 (limit: 18899)
Memory: 9.6M (peak: 14.4M)
CPU: 123ms
CGroup: /system.slice/dovecot.service
├─2409 /usr/sbin/dovecot -F
├─2535 dovecot/anvil
├─2536 dovecot/log
├─2537 dovecot/config
├─6822 dovecot/stats
└─6908 dovecot/auth
Mär 25 20:39:47 server.local.#.#.org dovecot[2409]: master: Dovecot v2.3.21>
Mär 25 20:39:47 server.local.#.#.org systemd[1]: Started dovecot.service - >
Mär 25 21:20:58 server.local.#.#.org dovecot[2536]: imap-login: Disconnecte>
Mär 25 21:20:58 server.local.#.#.org dovecot[2536]: pop3-login: Disconnecte>
Mär 25 21:20:58 server.local.#.#.org dovecot[2536]: imap-login: Disconnecte>
lines 1-23...skipping...
● dovecot.service - Dovecot IMAP/POP3 email server
Loaded: loaded (/usr/lib/systemd/system/dovecot.service; enabled; preset: enabled)
Active: active (running) since Tue 2025-03-25 20:39:47 CET; 49min ago
Docs: man:dovecot(1)
https://doc.dovecot.org/
Main PID: 2409 (dovecot)
Status: "v2.3.21 (47349e2482) running"
Tasks: 6 (limit: 18899)
Memory: 9.6M (peak: 14.4M)
CPU: 123ms
CGroup: /system.slice/dovecot.service
├─2409 /usr/sbin/dovecot -F
├─2535 dovecot/anvil
├─2536 dovecot/log
├─2537 dovecot/config
├─6822 dovecot/stats
└─6908 dovecot/auth
Mär 25 20:39:47 server.local.#.#.org dovecot[2409]: master: Dovecot v2.3.21 (47349e2482) starting up for imap, sieve, pop3 (core dumps disabled)
Mär 25 20:39:47 server.local.#.#.org systemd[1]: Started dovecot.service - Dovecot IMAP/POP3 email server.
Mär 25 21:20:58 server.local.#.#.org dovecot[2536]: imap-login: Disconnected: Connection closed: read(size=1026) failed: Connection reset by peer (disconnected before auth was ready, waited 0 secs): user=<>, rip=192.168.178.120, lip=192.168.178.120, secured, session=<48RxdTAxaJfAqLJ4>
Mär 25 21:20:58 server.local.#.#.org dovecot[2536]: pop3-login: Disconnected: Connection closed (no auth attempts in 0 secs): user=<>, rip=192.168.178.120, lip=192.168.178.120, secured, session=<Mt5xdTAxMrvAqLJ4>
Mär 25 21:20:58 server.local.#.#.org dovecot[2536]: imap-login: Disconnected: Connection closed: read(size=1026) failed: Connection reset by peer (no auth attempts in 0 secs): user=<>, rip=192.168.178.120, lip=192.168.178.120, TLS handshaking: read(size=1026) failed: Connection reset by peer, session=<BeVxdTAx1I>
Mär 25 21:20:58 server.local.#.#.org dovecot[2536]: pop3-login: Disconnected: Connection closed: read(size=1026) failed: Connection reset by peer (no auth attempts in 0 secs): user=<>, rip=192.168.178.120, lip=192.168.178.120, TLS handshaking: read(size=1026) failed: Connection reset by peer, session=<welxdTAx4M>
Mär 25 21:28:12 server.local.#.#.org dovecot[2536]: imap-login: Disconnected: Connection closed: read(size=1026) failed: Connection reset by peer (disconnected before auth was ready, waited 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<fOZNjzAxRot/AAAB>
Mär 25 21:28:12 server.local.#.#.org dovecot[2536]: pop3-login: Disconnected: Connection closed (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<9fhNjzAxwrJ/AAAB>
Mär 25 21:28:12 server.local.#.#.org dovecot[2536]: imap-login: Disconnected: Connection closed: read(size=1026) failed: Connection reset by peer (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, TLS handshaking: read(size=1026) failed: Connection reset by peer, session=<7wZOjzAx5rt/AAAB>
Mär 25 21:28:12 server.local.#.#.org dovecot[2536]: pop3-login: Disconnected: Connection closed: read(size=1026) failed: Connection reset by peer (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, TLS handshaking: read(size=1026) failed: Connection reset by peer, session=<EQdOjzAx+pN/AAAB>
Zum Testen verwenden wir mutt, funktioniert bei mir, bei ihm nicht. Standard-Mail-Client ist Claws-Mail, funktioniert bei mir, bei ihm nicht. Problem bei ihm ist immer die Verbindung.