check your log files & services for errors
Display MoreCode
- service postfix status
- > /etc/proftpd$ service postfix status
- ● postfix.service - Postfix Mail Transport Agent
- Loaded: loaded (/lib/systemd/system/postfix.service; enabled; vendor preset: enabled)
- Active: active (exited) since Thu 2021-10-21 17:36:02 CEST; 1h 29min ago
- Process: 1652 ExecStart=/bin/true (code=exited, status=0/SUCCESS)
- Main PID: 1652 (code=exited, status=0/SUCCESS)
- Tasks: 0 (limit: 4915)
- CGroup: /system.slice/postfix.service
- Oct 21 17:36:02 admin systemd[1]: Starting Postfix Mail Transport Agent...
- Oct 21 17:36:02 admin systemd[1]: Started Postfix Mail Transport Agent.
- tail -n 500 /var/log/mail.err
- > /etc/proftpd$ tail -n 500 /var/log/mail.err
- tail: cannot open '/var/log/mail.err' for reading: No such file or directory
- netstat -anpl | grep ":25"
- > /etc/proftpd$ netstat -anpl | grep ":25"
- tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 1648/master
- journalctl -p err -e
- > -- Logs begin at Thu 2021-10-21 17:35:55 CEST, end at Thu 2021-10-21 19:04:35 CEST. --
- Oct 21 17:36:01 admin systemd[1]: Failed to start LSB: Starts ProFTPD daemon.
- Oct 21 19:04:35 admin systemd[1]: Failed to start LSB: Starts ProFTPD daemon.
Posts by giermann.IT
-
-
Oct 21 19:04:35 admin systemd[1]: Starting LSB: Starts ProFTPD daemon...
Oct 21 19:04:35 admin proftpd[3351]: Starting ftp server: proftpd2021-10-21 19:04:35,293 admin proftpd[3358]: fatal: TLSCACertificateFile: '/etc/imscp/isrgrootx1.pem' does not exist on line 124 of '/etc/proftpd/proftpd.conf'
Oct 21 19:04:35 admin proftpd[3351]: failed!
Oct 21 19:04:35 admin systemd[1]: proftpd.service: Control process exited, code=exited status=1
Oct 21 19:04:35 admin systemd[1]: Failed to start LSB: Starts ProFTPD daemon.
Oct 21 19:04:35 admin systemd[1]: proftpd.service: Unit entered failed state.
Oct 21 19:04:35 admin systemd[1]: proftpd.service: Failed with result 'exit-code'.
-
I use following settings for proftpd TLS
Code- <IfModule mod_tls.c>
- TLSEngine on
- TLSRequired off
- TLSLog /var/log/proftpd/ftp_ssl.log
- TLSOptions NoSessionReuseRequired
- TLSRSACertificateFile /etc/imscp/imscp_services.pem
- TLSRSACertificateKeyFile /etc/imscp/imscp_services.pem
- TLSCACertificateFile /etc/imscp/isrgrootx1.pem
- TLSVerifyClient off
- TLSRenegotiate required off
- </IfModule>
- </Global>
- <IfModule mod_tls.c>
- TLSProtocol TLSv1.2
- TLSCipherSuite ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384
- </IfModule>
Now I have this:
Code- # SSL configuration
- <Global>
- <IfModule mod_tls.c>
- TLSEngine on
- TLSRequired off
- TLSLog /var/log/proftpd/ftp_ssl.log
- TLSOptions NoSessionReuseRequired
- TLSRSACertificateFile /etc/imscp/imscp_services.pem
- TLSRSACertificateKeyFile /etc/imscp/imscp_services.pem
- TLSCACertificateFile /etc/imscp/isrgrootx1.pem
- TLSVerifyClient off
- TLSRenegotiate required off
- </IfModule>
- </Global>
- <IfModule mod_tls.c>
- TLSProtocol TLSv1.2
- TLSCipherSuite ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384
- </IfModule>
I restarted my server after saving.
Now FileZille tell:
Status: Verbindung zum Server getrennt
Status: Verbinde mit ********:21...
Status: Verbindungsversuch fehlgeschlagen mit "ECONNREFUSED - Verbindung durch Server verweigert".
Fehler: Herstellen der Verbindung zum Server fehlgeschlagen
Status: Nächsten Versuch abwarten...
(Connection denied by server)
-
/etc/proftpd$ postqueue -p
-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
2B82F7EB1A 896 Wed Oct 20 17:08:42 noreply@****
(connect to mx-ha03.web.de[***.***.**.**]:25: Connection timed out)
***@***.de
0C2287EDA7 593 Wed Oct 20 17:47:36 ***@***.de
(connect to mx-ha02.web.de[***.***.**.**]:25: Connection timed out)
***@***.de
82A8D7EB18 917 Wed Oct 20 17:07:42 noreply@****.de
(connect to mx-ha03.web.de[***.***.**.**]:25: Connection timed out)
[email='***.***.**.**'][/email]
60F317ED90 885 Wed Oct 20 17:09:42 noreply@***.de
(connect to mx-ha02.web.de[***.***.**.**]:25: Connection timed out)
***@***.de
-
Maybe start in looking the server logs ?
You should have more details in there.
I can't find anything there. I have also already used Google. I do not get any results.
-
Look your mail queue on the server (to see if the mail is really sent), and... like the other post... check your logs.
How can I do this with Roundcube?
-
Hi,
ich habe i-mscp auf Debian 9 installiert, in Verbindung mit Roundcube. Wenn ich Emails versende, kommen die nicht an. Ich habe testweise an meine @web.de E-Mail Adresse gesendet und weder im Posteingang noch im Spam Ordner eine Email erhalten. Wenn ich wiederum an die im imscp angelegte Email Adresse eine Mail versende, sehe ich diese in Roundcube. Woran könnte dies liegen?
Liebe Grüße
-
Hallo,
ich habe gerade auf Debian 9 das aktuellste i-mscp installiert. Soweit läuft auch alles, jedoch kann ich mich per FTP nicht verbinden. FileZilla gibt mir folgende Fehlermeldung:
Status: Verbinde mit 49.12.***.***.**:21...Status: Verbindung hergestellt, warte auf Willkommensnachricht...
Antwort: 220 [admin.***.**] i-MSCP FTP server.
Befehl: AUTH TLS
Antwort: 234 AUTH TLS successful
Status: Initialisiere TLS...
Fehler: GnuTLS-Fehler -8: A packet with illegal or unsupported version was received.
Status: Verbindungsversuch fehlgeschlagen mit "ECONNABORTED - Verbindung abgebrochen".
Fehler: Herstellen der Verbindung zum Server fehlgeschlagen
Das webFTP von I-MSCP funktioniert mit den selben Zugangsdaten perfekt. Jedoch möchte ich mich gerne per FileZilla verbinden. Ich gebe den richtiger Nutzername ([email protected]) ein. Als Server Adresse habe ich den Hostname, die Server IP sowie die Domainnamen ausprobiert. Alles erfolglos. Kann mir hier jemand weiterhelfen? Ich hatte diesen Fehler in den letzten Jahren noch nicht mit I-MSCP.
Vielen Dank.