June 15, 20232 yr Hi Froxlor und die Webseiten laufen soweit ich hab jetzt noch ein kleines problem und weiß nicht wie ich es lösen kann über die suche bin auch nicht fündig geworden. Wenn ich in meinen Mail-Apps die Emails hinzufügen will steht da eine Verbindung über SSL ist nicht möglich, die Domains selbst sind alle über SSL abgesichert und auch ohne SSL kann ich die emails nicht hinzufügen. Bitte hilft mir, vielen Dank :) - Froxlor: 2.0.20-1 (202304260) - froxlor Update Kanal: stable - Webserver: Apache/2.4.52 (Ubuntu) - PHP-Version: 8.1.2-1ubuntu2.11 - MySQL-Server-Version: 5.5.5-10.6.12-MariaDB-0ubuntu0.22.04.1 - Webserver-Interface: FPM-FCGI - Kernel: 5.2.0 (x86_64) - OS: jammy
June 15, 20232 yr das die domains selbst mit ssl abgesichert sind hat absolut gar nichts mit dem maildienst zu tun, denn die webseiten werden vom webserver ausgeliefert, nicht vom maildienst. Stelle sicher das du postfix und dovecot entsprechend mit ssl konfiguriert hast, das passiert nicht automatisch! Die meisten verwendet hierfür das Zertifikat des froxlor-hostnames, da dieser auch standardmäßig als mail-server hostname eingetragen ist. Beispiel postfix: ### TLS settings ### ## TLS for outgoing mails from the server to another server smtp_tls_security_level = may smtp_tls_note_starttls_offer = yes ## TLS for email client smtpd_tls_security_level = may smtpd_tls_key_file = /root/.acme.sh/froxlor.hostname.tld/froxlor.hostname.tld.key smtpd_tls_cert_file = /root/.acme.sh/froxlor.hostname.tld/fullchain.cer smtpd_tls_CAfile = /root/.acme.sh/froxlor.hostname.tld/ca.cer smtpd_tls_loglevel = 1 smtpd_tls_received_header = yes smtp_use_tls = yes smtpd_use_tls = yes smtpd_tls_session_cache_timeout = 3600s tls_random_source = dev:/dev/urandom smtpd_tls_mandatory_ciphers = high smtpd_tls_mandatory_exclude_ciphers = aNULL, MD5 #smtpd_tls_mandatory_protocols = !SSLv2, !SSLv3 Beispiel dovecot: ssl = yes ssl_cert = </root/.acme.sh/froxlor.hostname.tld/fullchain.cer ssl_key = </root/.acme.sh/froxlor.hostname.tld/froxlor.hostname.tld.key ssl_ca = </root/.acme.sh/froxlor.hostname.tld/ca.cer beide dienste neustarten und entsprechend froxlor.hostname.tld als imap/pop3/smtp server verwenden
June 15, 20232 yr Author vor 1 Minute schrieb d00p: das die domains selbst mit ssl abgesichert sind hat absolut gar nichts mit dem maildienst zu tun, denn die webseiten werden vom webserver ausgeliefert, nicht vom maildienst. Stelle sicher das du postfix und dovecot entsprechend mit ssl konfiguriert hast, das passiert nicht automatisch! Die meisten verwendet hierfür das Zertifikat des froxlor-hostnames, da dieser auch standardmäßig als mail-server hostname eingetragen ist. Beispiel postfix: ### TLS settings ### ## TLS for outgoing mails from the server to another server smtp_tls_security_level = may smtp_tls_note_starttls_offer = yes ## TLS for email client smtpd_tls_security_level = may smtpd_tls_key_file = /root/.acme.sh/froxlor.hostname.tld/froxlor.hostname.tld.key smtpd_tls_cert_file = /root/.acme.sh/froxlor.hostname.tld/fullchain.cer smtpd_tls_CAfile = /root/.acme.sh/froxlor.hostname.tld/ca.cer smtpd_tls_loglevel = 1 smtpd_tls_received_header = yes smtp_use_tls = yes smtpd_use_tls = yes smtpd_tls_session_cache_timeout = 3600s tls_random_source = dev:/dev/urandom smtpd_tls_mandatory_ciphers = high smtpd_tls_mandatory_exclude_ciphers = aNULL, MD5 #smtpd_tls_mandatory_protocols = !SSLv2, !SSLv3 Beispiel dovecot: ssl = yes ssl_cert = </root/.acme.sh/froxlor.hostname.tld/fullchain.cer ssl_key = </root/.acme.sh/froxlor.hostname.tld/froxlor.hostname.tld.key ssl_ca = </root/.acme.sh/froxlor.hostname.tld/ca.cer beide dienste neustarten und entsprechend froxlor.hostname.tld als imap/pop3/smtp server verwenden Okay verstehe, ich kenn mich nicht so gut aus verzeiht mir bitte, wo muss ich das einfügen im terminal?
June 15, 20232 yr Author vor 2 Minuten schrieb d00p: postfix: /etc/postfix/main.cf und dovecot: /etc/dovecot/conf.d/10-ssl.conf Hi Danke dir ich glaube ich wurde vorhin selbst fündig. Ich bin der Anleitung System > Konfiguration > SMTP Postifx with dovecot gefolgt neustart war erfolgreich doch bei Mail dovecot postfix wird es nicht neu gestartet. Ich bin exakt nach der Anleitung gegangen und nachdem ich versucht habe mail dovecot postfix neuzustarten bekam ich folgende fehlermeldung: Job for dovecot.service failed because the control process exited with error code. See "systemctl status dovecot.service" and "journalctl -xeu dovecot.service" for details. dovecot.service - Dovecot IMAP/POP3 email server Loaded: loaded (/lib/systemd/system/dovecot.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Thu 2023-06-15 10:55:23 CEST; 32s ago Docs: man:dovecot(1) https://doc.dovecot.org/ Process: 57490 ExecStart=/usr/sbin/dovecot -F (code=exited, status=89) Main PID: 57490 (code=exited, status=89) Jun 15 10:55:23 meinserver.tld systemd[1]: Starting Dovecot IMAP/POP3 email server... Jun 15 10:55:23 meinserver.tld dovecot[57490]: doveconf: Fatal: Error in configuration file /etc/dovecot/conf.d/10-ssl.conf line 12: ssl_cert: Can't open file /etc/dovecot/conf.d/<SSL_CERT_FILE>: No such file or directory Jun 15 10:55:23 meinserver.tld systemd[1]: dovecot.service: Main process exited, code=exited, status=89/n/a Jun 15 10:55:23 meinserver.tld systemd[1]: dovecot.service: Failed with result 'exit-code'. Jun 15 10:55:23 meinserver.tld systemd[1]: Failed to start Dovecot IMAP/POP3 email server. Support: http://www.ubuntu.com/support ░░ ░░ The unit dovecot.service has entered the 'failed' state with result 'exit-code'. Jun 15 10:55:23 meinserver.tld systemd[1]: Failed to start Dovecot IMAP/POP3 email server. ░░ Subject: A start job for unit dovecot.service has failed ░░ Defined-By: systemd ░░ Support: http://www.ubuntu.com/support ░░ ░░ A start job for unit dovecot.service has finished with a failure. ░░ ░░ The job identifier is 4960 and the job result is failed. Jun 15 11:00:57 meinserver.tld systemd[1]: Starting Dovecot IMAP/POP3 email server... ░░ Subject: A start job for unit dovecot.service has begun execution ░░ Defined-By: systemd ░░ Support: http://www.ubuntu.com/support ░░ ░░ A start job for unit dovecot.service has begun execution. ░░ ░░ The job identifier is 5017. Jun 15 11:00:57 meinserver.tld dovecot[57618]: doveconf: Fatal: Error in configuration file /etc/dovecot/conf.d/10-ssl.conf line 12: ssl_cert: Can't open file /etc/dovecot/conf.d/<SSL_CERT_FILE>: No such file or directory Jun 15 11:00:57 meinserver.tld systemd[1]: dovecot.service: Main process exited, code=exited, status=89/n/a ░░ Subject: Unit process exited ░░ Defined-By: systemd ░░ Support: http://www.ubuntu.com/support ░░ ░░ An ExecStart= process belonging to unit dovecot.service has exited. ░░ ░░ The process' exit code is 'exited' and its exit status is 89. Jun 15 11:00:57 meinserver.tld systemd[1]: dovecot.service: Failed with result 'exit-code'. ░░ Subject: Unit failed ░░ Defined-By: systemd ░░ Support: http://www.ubuntu.com/support ░░ ░░ The unit dovecot.service has entered the 'failed' state with result 'exit-code'. Jun 15 11:00:57 meinserver.tld systemd[1]: Failed to start Dovecot IMAP/POP3 email server. ░░ Subject: A start job for unit dovecot.service has failed ░░ Defined-By: systemd ░░ Support: http://www.ubuntu.com/support ░░ ░░ A start job for unit dovecot.service has finished with a failure. ░░ ░░ The job identifier is 5017 and the job result is failed.
June 15, 20232 yr Einfach mal die Fehlermeldung auch lesen: Error in configuration file /etc/dovecot/conf.d/10-ssl.conf line 12: ssl_cert: Can't open file /etc/dovecot/conf.d/<SSL_CERT_FILE>: No such file or directory 15 minutes ago, fth said: Ich bin der Anleitung System > Konfiguration > SMTP Postifx with dovecot gefolgt neustart war erfolgreich doch bei Mail dovecot postfix wird es nicht neu gestartet. ??? das ist die initial config für froxlor - das hat doch mit dem einrichten von ssl was du willst da jetzt garnichts zu tun?! Schau dir deine dovecot. config ganz in ruhe an und - offenbar hast du was falsches eingetragen
Create an account or sign in to comment