Hallo Commuinty,
E-Mail senden und Empfangen im SOGo funktioniert.
Ich wollte in Nextcloud eine E-Mail einrichten von er aus alles versandt wird. Leider funktioniert das nicht.
In NC bekomme ich folgenden fehler: (Fehler: Connection could not be established with host mail.domain.tld :stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed)
In mailcow Postfix logs:
warning: TLS library problem: error:14094418:SSL routines:ssl3_read_bytes:tlsv1 alert unknown ca:../ssl/record/rec_layer_s3.c:1544:SSL alert number 48:
mailcow Postfix Log:
postfix-mailcow_1 | 2020-09-04 21:53:27,655 INFO Set uid to user 0 succeeded
postfix-mailcow_1 | 2020-09-04 21:53:27,658 INFO supervisord started with pid 1
postfix-mailcow_1 | 2020-09-04 21:53:28,660 INFO spawned: 'processes' with pid 8
postfix-mailcow_1 | 2020-09-04 21:53:28,662 INFO spawned: 'postfix' with pid 9
postfix-mailcow_1 | 2020-09-04 21:53:28,664 INFO spawned: 'syslog-ng' with pid 10
postfix-mailcow_1 | Uptime: 2 Threads: 28 Questions: 236 Slow queries: 0 Opens: 41 Flush tables: 1 Open tables: 33 Queries per second avg: 118.000
postfix-mailcow_1 | Sep 4 21:53:28 mail syslog-ng[10]: syslog-ng starting up; version='3.19.1'
postfix-mailcow_1 | chown: cannot access '/usr/share/man/man1/mailq.1.gz': No such file or directory
postfix-mailcow_1 | 2020-09-04 21:53:30,268 INFO success: processes entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
postfix-mailcow_1 | 2020-09-04 21:53:30,268 INFO success: postfix entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
postfix-mailcow_1 | 2020-09-04 21:53:30,268 INFO success: syslog-ng entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
postfix-mailcow_1 | Sep 4 21:53:30 mail postfix/postfix-script[314]: warning: symlink leaves directory: /etc/postfix/./makedefs.out
postfix-mailcow_1 | Sep 4 21:53:30 mail postfix/postfix-script[339]: starting the Postfix mail system
postfix-mailcow_1 | Sep 4 21:53:30 mail postfix/master[341]: daemon started -- version 3.4.14, configuration /opt/postfix/conf
postfix-mailcow_1 | Sep 4 21:55:52 mail postfix/smtps/smtpd[355]: connect from mail.domain.tld[<IPv6 Zensiert>]
postfix-mailcow_1 | Sep 4 21:55:52 mail postfix/smtps/smtpd[355]: TLS SNI mail.domain.tld from mail.domain.tld[<IPv6 Zensiert>] not matched, using default chain
postfix-mailcow_1 | Sep 4 21:55:52 mail postfix/smtps/smtpd[355]: SSL_accept error from mail.domain.tld[<IPv6 Zensiert>]: -1
postfix-mailcow_1 | Sep 4 21:55:52 mail postfix/smtps/smtpd[355]: warning: TLS library problem: error:14094418:SSL routines:ssl3_read_bytes:tlsv1 alert unknown ca:../ssl/record/rec_layer_s3.c:1544:SSL alert number 48:
postfix-mailcow_1 | Sep 4 21:55:52 mail postfix/smtps/smtpd[355]: lost connection after CONNECT from mail.domain.tld[<IPv6 Zensiert>]
postfix-mailcow_1 | Sep 4 21:55:52 mail postfix/smtps/smtpd[355]: disconnect from mail.domain.tld[<IPv6 Zensiert>] commands=0/0
postfix-mailcow_1 | Sep 4 21:58:50 mail postfix/postscreen[362]: cache proxy:btree:/var/lib/postfix/postscreen_cache full cleanup: retained=0 dropped=0 entries
postfix-mailcow_1 | Sep 4 21:58:50 mail postfix/postscreen[362]: CONNECT from [<IPv6 Zensiert>]:50478 to [fd4d:6169:6c63:6f77::d]:25
postfix-mailcow_1 | Sep 4 21:58:50 mail whitelist_forwardinghosts: Look up <IPv6 Zensiert> on whitelist, result 200 DUNNO
postfix-mailcow_1 | Sep 4 21:58:53 mail postfix/postscreen[362]: PASS NEW [<IPv6 Zensiert>]:50478
postfix-mailcow_1 | Sep 4 21:58:53 mail postfix/smtpd[383]: connect from mail.domain.tld[<IPv6 Zensiert>]
postfix-mailcow_1 | Sep 4 21:58:53 mail postfix/smtpd[383]: TLS SNI mail.domain.tld from mail.domain.tld[<IPv6 Zensiert>] not matched, using default chain
postfix-mailcow_1 | Sep 4 21:58:53 mail postfix/smtpd[383]: Anonymous TLS connection established from mail.domain.tld[<IPv6 Zensiert>]: TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256
postfix-mailcow_1 | Sep 4 21:58:53 mail postfix/smtpd[383]: lost connection after STARTTLS from mail.domain.tld[<IPv6 Zensiert>]
postfix-mailcow_1 | Sep 4 21:58:53 mail postfix/smtpd[383]: disconnect from mail.domain.tld[<IPv6 Zensiert>] ehlo=1 starttls=1 commands=2
postfix-mailcow_1 | Sep 4 22:01:57 mail postfix/smtps/smtpd[386]: connect from mail.domain.tld[<IPv6 Zensiert>]
postfix-mailcow_1 | Sep 4 22:01:57 mail postfix/smtps/smtpd[386]: TLS SNI mail.domain.tld from mail.domain.tld[<IPv6 Zensiert>] not matched, using default chain
postfix-mailcow_1 | Sep 4 22:01:57 mail postfix/smtps/smtpd[386]: SSL_accept error from mail.domain.tld[<IPv6 Zensiert>]: -1
postfix-mailcow_1 | Sep 4 22:01:57 mail postfix/smtps/smtpd[386]: warning: TLS library problem: error:14094418:SSL routines:ssl3_read_bytes:tlsv1 alert unknown ca:../ssl/record/rec_layer_s3.c:1544:SSL alert number 48:
postfix-mailcow_1 | Sep 4 22:01:57 mail postfix/smtps/smtpd[386]: lost connection after CONNECT from mail.domain.tld[<IPv6 Zensiert>]
postfix-mailcow_1 | Sep 4 22:01:57 mail postfix/smtps/smtpd[386]: disconnect from mail.domain.tld[<IPv6 Zensiert>] commands=0/0
postfix-mailcow_1 | Sep 4 22:05:17 mail postfix/anvil[359]: statistics: max connection rate 1/60s for (smtpd:<IPv6 Zensiert>) at Sep 4 21:58:53
postfix-mailcow_1 | Sep 4 22:05:17 mail postfix/anvil[359]: statistics: max connection count 1 for (smtpd:<IPv6 Zensiert>) at Sep 4 21:58:53
postfix-mailcow_1 | Sep 4 22:05:17 mail postfix/anvil[359]: statistics: max cache size 1 at Sep 4 21:58:53
Ich habe auch schon selbst versucht dem auf den Grund zu kommen, ein paar Issus unter github haben aber leider nicht zum erfolg geführt!
Zum beispiel:
bash helper-scripts/expiry-dates.sh
TLS expiry dates:
Postfix: Nov 28 10:11:00 2019 GMT
Dovecot: Nov 28 10:11:00 2019 GMT
Nginx: Dec 1 19:30:45 2020 GMT
Dabei bin ich mir nicht sicher ob das so richtig ist. (Docker ist noch etwas neu für mich)
Der Versand vom Host System funktioniert dagegen mit SMTP problemlos.
Ich würde mich sehr über Hilfe freuen.
Grüße
FreeFun