Hi, as the title suggests, I have problems with the mail server, the smtp server is offline, I have consulted many discussions on this forum but I have not been able to solve it, in fact when I try to send an email I get the error "SMTP error ( -1): Connection to server failed. " the systems are ISPConfig 3.2.1 on debian 10, I publish the mail log: Code: Nov 24 19:31:20 server postfix/postfix-script[20409]: fatal: cannot execute /usr/sbin/postconf! Thanks for your help..
Start with this: https://www.howtoforge.com/community/threads/please-read-before-posting.58408/ Then, what shows: Code: systemctl --state=failed Code: systemctl status postfix.service
what does Code: ls -l /usr/sbin/postconf show? can you run 'postconf' as root, or get an error? sounds like you might have to reinstall the postfix package, or maybe apparmor is interfering?
Code: login as: root [email protected]'s password: Linux server 4.19.0-12-amd64 #1 SMP Debian 4.19.152-1 (2020-10-18) x86_64 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Tue Nov 24 19:24:23 2020 from 95.239.9.26 root@server:~# ls -l /usr/sbin/postconf -rwxr-xr-x 1 root root 187872 Jun 30 03:33 /usr/sbin/postconf root@server:~# ls -l /usr/sbin/postconf -rwxr-xr-x 1 root root 187872 Jun 30 03:33 /usr/sbin/postconf root@server:~# less /usr/sbin/postconf root@server:~# ls -l / usr / sbin / postconf ls: cannot access 'usr': No such file or directory ls: cannot access 'sbin': No such file or directory ls: cannot access 'postconf': No such file or directory /: total 80 lrwxrwxrwx 1 root root 7 Nov 1 05:29 bin -> usr/bin drwxr-xr-x 4 root root 4096 Nov 1 05:37 boot drwxr-xr-x 18 root root 3180 Nov 19 09:51 dev drwxr-xr-x 106 root root 4096 Nov 24 19:25 etc drwxr-xr-x 2 root root 4096 Sep 19 23:39 home lrwxrwxrwx 1 root root 31 Nov 1 05:37 initrd.img -> boot/initrd.img-4.19.0 -12-amd64 lrwxrwxrwx 1 root root 31 Nov 1 05:37 initrd.img.old -> boot/initrd.img-4. 19.0-12-amd64 lrwxrwxrwx 1 root root 7 Nov 1 05:29 lib -> usr/lib lrwxrwxrwx 1 root root 9 Nov 1 05:29 lib32 -> usr/lib32 lrwxrwxrwx 1 root root 9 Nov 1 05:29 lib64 -> usr/lib64 lrwxrwxrwx 1 root root 10 Nov 1 05:29 libx32 -> usr/libx32 drwx------ 2 root root 16384 Nov 1 05:29 lost+found drwxr-xr-x 3 root root 4096 Nov 1 05:29 media drwxr-xr-x 2 root root 4096 Nov 1 05:29 mnt drwxr-xr-x 3 root root 4096 Nov 19 10:53 opt dr-xr-xr-x 138 root root 0 Nov 19 09:51 proc -rw------- 1 root root 9216 Nov 19 11:40 quota.group -rw------- 1 root root 7168 Nov 19 11:40 quota.user drwx------ 5 root root 4096 Nov 21 01:37 root drwxr-xr-x 31 root root 940 Nov 24 22:21 run lrwxrwxrwx 1 root root 8 Nov 1 05:29 sbin -> usr/sbin drwxr-xr-x 2 root root 4096 Nov 1 05:29 srv dr-xr-xr-x 13 root root 0 Nov 24 22:16 sys drwxrwxrwt 13 root root 4096 Nov 24 22:20 tmp drwxr-xr-x 13 root root 4096 Nov 19 20:21 usr drwxr-xr-x 14 root root 4096 Nov 20 00:03 var lrwxrwxrwx 1 root root 28 Nov 1 05:37 vmlinuz -> boot/vmlinuz-4.19.0-12-am d64 lrwxrwxrwx 1 root root 28 Nov 1 05:37 vmlinuz.old -> boot/vmlinuz-4.19.0-1 2-amd64 /: total 80 lrwxrwxrwx 1 root root 7 Nov 1 05:29 bin -> usr/bin drwxr-xr-x 4 root root 4096 Nov 1 05:37 boot drwxr-xr-x 18 root root 3180 Nov 19 09:51 dev drwxr-xr-x 106 root root 4096 Nov 24 19:25 etc drwxr-xr-x 2 root root 4096 Sep 19 23:39 home lrwxrwxrwx 1 root root 31 Nov 1 05:37 initrd.img -> boot/initrd.img-4.19.0 -12-amd64 lrwxrwxrwx 1 root root 31 Nov 1 05:37 initrd.img.old -> boot/initrd.img-4. 19.0-12-amd64 lrwxrwxrwx 1 root root 7 Nov 1 05:29 lib -> usr/lib lrwxrwxrwx 1 root root 9 Nov 1 05:29 lib32 -> usr/lib32 lrwxrwxrwx 1 root root 9 Nov 1 05:29 lib64 -> usr/lib64 lrwxrwxrwx 1 root root 10 Nov 1 05:29 libx32 -> usr/libx32 drwx------ 2 root root 16384 Nov 1 05:29 lost+found drwxr-xr-x 3 root root 4096 Nov 1 05:29 media drwxr-xr-x 2 root root 4096 Nov 1 05:29 mnt drwxr-xr-x 3 root root 4096 Nov 19 10:53 opt dr-xr-xr-x 138 root root 0 Nov 19 09:51 proc -rw------- 1 root root 9216 Nov 19 11:40 quota.group -rw------- 1 root root 7168 Nov 19 11:40 quota.user drwx------ 5 root root 4096 Nov 21 01:37 root drwxr-xr-x 31 root root 940 Nov 24 22:21 run lrwxrwxrwx 1 root root 8 Nov 1 05:29 sbin -> usr/sbin drwxr-xr-x 2 root root 4096 Nov 1 05:29 srv dr-xr-xr-x 13 root root 0 Nov 24 22:16 sys drwxrwxrwt 13 root root 4096 Nov 24 22:20 tmp drwxr-xr-x 13 root root 4096 Nov 19 20:21 usr drwxr-xr-x 14 root root 4096 Nov 20 00:03 var lrwxrwxrwx 1 root root 28 Nov 1 05:37 vmlinuz -> boot/vmlinuz-4.19.0-12-am d64 lrwxrwxrwx 1 root root 28 Nov 1 05:37 vmlinuz.old -> boot/vmlinuz-4.19.0-1 2-amd64 /: total 80 lrwxrwxrwx 1 root root 7 Nov 1 05:29 bin -> usr/bin drwxr-xr-x 4 root root 4096 Nov 1 05:37 boot drwxr-xr-x 18 root root 3180 Nov 19 09:51 dev drwxr-xr-x 106 root root 4096 Nov 24 19:25 etc drwxr-xr-x 2 root root 4096 Sep 19 23:39 home lrwxrwxrwx 1 root root 31 Nov 1 05:37 initrd.img -> boot/initrd.img-4.19.0 -12-amd64 lrwxrwxrwx 1 root root 31 Nov 1 05:37 initrd.img.old -> boot/initrd.img-4. 19.0-12-amd64 lrwxrwxrwx 1 root root 7 Nov 1 05:29 lib -> usr/lib lrwxrwxrwx 1 root root 9 Nov 1 05:29 lib32 -> usr/lib32 lrwxrwxrwx 1 root root 9 Nov 1 05:29 lib64 -> usr/lib64 lrwxrwxrwx 1 root root 10 Nov 1 05:29 libx32 -> usr/libx32 drwx------ 2 root root 16384 Nov 1 05:29 lost+found drwxr-xr-x 3 root root 4096 Nov 1 05:29 media drwxr-xr-x 2 root root 4096 Nov 1 05:29 mnt drwxr-xr-x 3 root root 4096 Nov 19 10:53 opt dr-xr-xr-x 138 root root 0 Nov 19 09:51 proc -rw------- 1 root root 9216 Nov 19 11:40 quota.group -rw------- 1 root root 7168 Nov 19 11:40 quota.user drwx------ 5 root root 4096 Nov 21 01:37 root drwxr-xr-x 31 root root 940 Nov 24 22:21 run lrwxrwxrwx 1 root root 8 Nov 1 05:29 sbin -> usr/sbin drwxr-xr-x 2 root root 4096 Nov 1 05:29 srv dr-xr-xr-x 13 root root 0 Nov 24 22:16 sys drwxrwxrwt 13 root root 4096 Nov 24 22:20 tmp drwxr-xr-x 13 root root 4096 Nov 19 20:21 usr drwxr-xr-x 14 root root 4096 Nov 20 00:03 var lrwxrwxrwx 1 root root 28 Nov 1 05:37 vmlinuz -> boot/vmlinuz-4.19.0-12-am d64 lrwxrwxrwx 1 root root 28 Nov 1 05:37 vmlinuz.old -> boot/vmlinuz-4.19.0-1 2-amd64 root@server:~#
here is the mail.log Code: root@server:~# less /var/log/mail.log Nov 22 00:03:28 server dovecot: imap-login: Disconnected (disconnected before auth was ready, waited 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<npgd+KW00sx/AAAB> Nov 22 00:03:28 server dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<UhIe+KW0/Od/AAAB> Nov 22 00:08:02 server postfix/postqueue[19358]: warning: Mail system is down -- accessing queue directly Nov 22 00:08:02 server dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<6P1uCKa0Duh/AAAB> Nov 22 00:08:02 server dovecot: imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<9gJvCKa05Mx/AAAB> Nov 22 00:10:02 server postfix/postqueue[19559]: warning: Mail system is down -- accessing queue directly Nov 22 00:10:02 server dovecot: imap-login: Disconnected (disconnected before auth was ready, waited 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<S4iZD6a08sx/AAAB> Nov 22 00:10:02 server dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<8kiaD6a0HOh/AAAB> Nov 22 00:15:01 server postfix/postqueue[19762]: warning: Mail system is down -- accessing queue directly Nov 22 00:15:02 server dovecot: imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<rB9xIaa0/sx/AAAB> Nov 22 00:15:02 server dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<cQ5xIaa0KOh/AAAB> Nov 22 00:20:01 server postfix/postqueue[19973]: warning: Mail system is down -- accessing queue directly Nov 22 00:20:01 server dovecot: imap-login: Disconnected (disconnected before auth was ready, waited 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<rQZPM6a0Cs1/AAAB> Nov 22 00:20:01 server dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<zuVPM6a0NOh/AAAB> Nov 22 00:25:01 server postfix/postqueue[20167]: warning: Mail system is down -- accessing queue directly Nov 22 00:25:02 server dovecot: imap-login: Disconnected (disconnected before auth was ready, waited 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<AXAyRaa0Fs1/AAAB> Nov 22 00:25:02 server dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<Sj0zRaa0QOh/AAAB> Nov 22 00:30:01 server postfix/postqueue[20358]: warning: Mail system is down -- accessing queue directly Nov 22 00:30:02 server dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<j/cXV6a0TOh/AAAB> Nov 22 00:30:02 server dovecot: imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<RfsXV6a0Is1/AAAB> Nov 22 00:35:02 server postfix/postqueue[20566]: warning: Mail system is down -- accessing queue directly Nov 22 00:35:02 server dovecot: imap-login: Disconnected (disconnected before auth was ready, waited 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<7238aKa0MM1/AAAB> Nov 22 00:35:02 server dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<3yX9aKa0Wuh/AAAB> Nov 22 00:40:02 server postfix/postqueue[20836]: warning: Mail system is down -- accessing queue directly Nov 22 00:40:02 server dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<aZfeeqa0Zuh/AAAB> Nov 22 00:40:02 server dovecot: imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<0qDeeqa0PM1/AAAB> Nov 22 00:45:02 server postfix/postqueue[21042]: warning: Mail system is down -- accessing queue directly Nov 22 00:45:02 server dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<8+vCjKa0cuh/AAAB> Nov 22 00:45:02 server dovecot: imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<7urCjKa0SM1/AAAB> Nov 22 00:50:02 server postfix/postqueue[21234]: warning: Mail system is down -- accessing queue directly Nov 22 00:50:02 server dovecot: imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<o0innqa0VM1/AAAB> Nov 22 00:50:02 server dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<HEinnqa0fuh/AAAB> Nov 22 00:55:01 server postfix/postqueue[21411]: warning: Mail system is down -- accessing queue directly Nov 22 00:55:01 server dovecot: imap-login: Disconnected (disconnected before auth was ready, waited 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<70h6sKa0YM1/AAAB> Nov 22 00:55:01 server dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<aR97sKa0iuh/AAAB> Nov 22 01:00:01 server postfix/postqueue[21597]: warning: Mail system is down -- accessing queue directly Nov 22 01:00:02 server dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<+mZfwqa0nOh/AAAB> Nov 22 01:00:02 server dovecot: imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<xYlfwqa0cs1/AAAB> Nov 22 01:05:01 server postfix/postqueue[22422]: warning: Mail system is down -- accessing queue directly Nov 22 01:05:02 server dovecot: imap-login: Disconnected (disconnected before auth was ready, waited 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<fyxB1Ka0is1/AAAB> Nov 22 01:05:02 server dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<qdRB1Ka0tOh/AAAB> Nov 22 01:10:02 server postfix/postqueue[22661]: warning: Mail system is down -- accessing queue directly Nov 22 01:10:02 server dovecot: imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<Vrkl5qa0mM1/AAAB> Nov 22 01:10:02 server dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<s9Il5qa0wuh/AAAB> Nov 22 01:15:02 server postfix/postqueue[22808]: warning: Mail system is down -- accessing queue directly Nov 22 01:15:02 server dovecot: imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<A48J+Ka0pM1/AAAB> Nov 22 01:15:02 server dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<848J+Ka0zuh/AAAB> Nov 22 01:20:02 server postfix/postqueue[22957]: warning: Mail system is down -- accessing queue directly /var/log/mail.log
ISPConfig test script Code: root@server:~# cat htf_report.txt | more ##### SERVER ##### IP-address (as per hostname): ***.***.***.*** [WARN] could not determine server's ip address by ifconfig [INFO] OS version is Debian GNU/Linux 10 (buster) [INFO] ISPConfig is installed. ##### ISPCONFIG ##### ISPConfig version is 3.2.1 ##### VERSION CHECK ##### [INFO] php (cli) version is 7.3.19-1~deb10u1 ##### PORT CHECK ##### [WARN] Port 25 (SMTP server) seems NOT to be listening [WARN] Port 465 (SMTP server SSL) seems NOT to be listening [WARN] Port 25 (SMTP server) seems NOT to be listening ##### MAIL SERVER CHECK ##### ##### RUNNING SERVER PROCESSES ##### [INFO] I found the following web server(s): Apache 2 (PID 20017) [WARN] I could not determine which mail server is running. [INFO] I found the following pop3 server(s): Dovecot (PID 19957) [INFO] I found the following imap server(s): Dovecot (PID 19957) [INFO] I found the following ftp server(s): PureFTP (PID 20070) ##### LISTENING PORTS ##### (only () Local (Address) [localhost]:953 (20083/named) [anywhere]:993 (19957/dovecot) [anywhere]:995 (19957/dovecot) [localhost]:10023 (19203/postgrey) [localhost]:10024 (19951/amavisd-new) [localhost]:10026 (19951/amavisd-new) [localhost]:11211 (1664/memcached) [anywhere]:110 (19957/dovecot) --More--
I did provide suggestion, but for some unfathomable reason you have ignored it. It was in message #2, after What shows ... If those do not reveal what is wrong, try Code: systemctl start postfix.service to see error messages why postfix does not start. Same for possible other services that have not started.
I ran the command in the terminal but it doesn't seem to return any errors, but the server is always offline Code: root@server:~# systemctl start postfix.service root@server:~# Mail-Warn - Log Code: Nov 25 06:25:03 server postfix/postqueue[11208]: warning: Mail system is down -- accessing queue directly
Another suggestion was to see if when you run postconf manually if it works or errors. That's curious there's nothing in mail.log if starting it fails. You might check the mail.err and other log files (messages, syslog or daemon). Also try to "stop" the service, then "start" it. It would be worth a shot to just reboot.
I tried to execute these commands Code: root@server:~# less /var/log/mail.warn Nov 22 00:08:02 server postfix/postqueue[19358]: warning: Mail system is down -- accessing queue directly Nov 22 00:10:02 server postfix/postqueue[19559]: warning: Mail system is down -- accessing queue directly Nov 22 00:15:01 server postfix/postqueue[19762]: warning: Mail system is down -- accessing queue directly Nov 22 00:20:01 server postfix/postqueue[19973]: warning: Mail system is down -- accessing queue directly Nov 22 00:25:01 server postfix/postqueue[20167]: warning: Mail system is down -- accessing queue directly Nov 22 00:30:01 server postfix/postqueue[20358]: warning: Mail system is down -- accessing queue directly Nov 22 00:35:02 server postfix/postqueue[20566]: warning: Mail system is down -- accessing queue directly Nov 22 00:40:02 server postfix/postqueue[20836]: warning: Mail system is down -- accessing queue directly Nov 22 00:45:02 server postfix/postqueue[21042]: warning: Mail system is down -- accessing queue directly Nov 22 00:50:02 server postfix/postqueue[21234]: warning: Mail system is down -- accessing queue directly Nov 22 00:55:01 server postfix/postqueue[21411]: warning: Mail system is down -- accessing queue directly Nov 22 01:00:01 server postfix/postqueue[21597]: warning: Mail system is down -- accessing queue directly Nov 22 01:05:01 server postfix/postqueue[22422]: warning: Mail system is down -- accessing queue directly Nov 22 01:10:02 server postfix/postqueue[22661]: warning: Mail system is down -- accessing queue directly Nov 22 01:15:02 server postfix/postqueue[22808]: warning: Mail system is down -- accessing queue directly Nov 22 01:20:02 server postfix/postqueue[22957]: warning: Mail system is down -- accessing queue directly Nov 22 01:25:02 server postfix/postqueue[23118]: warning: Mail system is down -- accessing queue directly Nov 22 01:30:02 server postfix/postqueue[23274]: warning: Mail system is down -- accessing queue directly Nov 22 01:35:02 server postfix/postqueue[23427]: warning: Mail system is down -- accessing queue directly Nov 22 01:40:02 server postfix/postqueue[23663]: warning: Mail system is down -- accessing queue directly Nov 22 01:45:01 server postfix/postqueue[23820]: warning: Mail system is down -- accessing queue directly Nov 22 01:50:01 server postfix/postqueue[23983]: warning: Mail system is down -- accessing queue directly Nov 22 01:55:01 server postfix/postqueue[24129]: warning: Mail system is down -- accessing queue directly Nov 22 02:00:01 server postfix/postqueue[24329]: warning: Mail system is down -- accessing queue directly Nov 22 02:05:02 server postfix/postqueue[25192]: warning: Mail system is down -- accessing queue directly Nov 22 02:10:02 server postfix/postqueue[25442]: warning: Mail system is down -- accessing queue directly Nov 22 02:15:02 server postfix/postqueue[25647]: warning: Mail system is down -- accessing queue directly Nov 22 02:20:02 server postfix/postqueue[25828]: warning: Mail system is down -- accessing queue directly Nov 22 02:25:02 server postfix/postqueue[26027]: warning: Mail system is down -- accessing queue directly Nov 22 02:30:01 server postfix/postqueue[26224]: warning: Mail system is down -- accessing queue directly Nov 22 02:35:01 server postfix/postqueue[26411]: warning: Mail system is down -- accessing queue directly Nov 22 02:40:02 server postfix/postqueue[26692]: warning: Mail system is down -- accessing queue directly Nov 22 02:45:02 server postfix/postqueue[26885]: warning: Mail system is down -- accessing queue directly Nov 22 02:50:02 server postfix/postqueue[27097]: warning: Mail system is down -- accessing queue directly Nov 22 02:55:02 server postfix/postqueue[27278]: warning: Mail system is down -- accessing queue directly Nov 22 03:00:02 server postfix/postqueue[27495]: warning: Mail system is down -- accessing queue directly Nov 22 03:05:02 server postfix/postqueue[28380]: warning: Mail system is down -- accessing queue directly Nov 22 03:10:02 server postfix/postqueue[28659]: warning: Mail system is down -- accessing queue directly Nov 22 03:15:02 server postfix/postqueue[28870]: warning: Mail system is down -- accessing queue directly Nov 22 03:20:02 server postfix/postqueue[29108]: warning: Mail system is down -- accessing queue directly Nov 22 03:25:02 server postfix/postqueue[29291]: warning: Mail system is down -- accessing queue directly Nov 22 03:30:02 server postfix/postqueue[29520]: warning: Mail system is down -- accessing queue directly Nov 22 03:35:02 server postfix/postqueue[29727]: warning: Mail system is down -- accessing queue directly Nov 22 03:40:01 server postfix/postqueue[30031]: warning: Mail system is down -- accessing queue directly Nov 22 03:45:02 server postfix/postqueue[30246]: warning: Mail system is down -- accessing queue directly Nov 22 03:50:02 server postfix/postqueue[30461]: warning: Mail system is down -- accessing queue directly Nov 22 03:55:01 server postfix/postqueue[30670]: warning: Mail system is down -- accessing queue directly Nov 22 04:00:02 server postfix/postqueue[30933]: warning: Mail system is down -- accessing queue directly Nov 22 04:05:02 server postfix/postqueue[31836]: warning: Mail system is down -- accessing queue directly : root@server:~# less /var/log/messages Nov 22 00:00:08 server rsyslogd: [origin software="rsyslogd" swVersion="8.1901.0" x-pid="27395" x-info="https://www.rsyslog.com"] rsyslogd was HUPed Nov 22 00:03:28 server pure-ftpd: ([email protected]) [INFO] New connection from 127.0.0.1 Nov 22 00:03:28 server pure-ftpd: ([email protected]) [INFO] Logout. Nov 22 00:08:02 server pure-ftpd: ([email protected]) [INFO] New connection from 127.0.0.1 Nov 22 00:08:02 server pure-ftpd: ([email protected]) [INFO] Logout. Nov 22 00:10:02 server pure-ftpd: ([email protected]) [INFO] New connection from 127.0.0.1 Nov 22 00:10:02 server pure-ftpd: ([email protected]) [INFO] Logout. Nov 22 00:15:02 server pure-ftpd: ([email protected]) [INFO] New connection from 127.0.0.1 Nov 22 00:15:02 server pure-ftpd: ([email protected]) [INFO] Logout. Nov 22 00:20:01 server pure-ftpd: ([email protected]) [INFO] New connection from 127.0.0.1 Nov 22 00:20:01 server pure-ftpd: ([email protected]) [INFO] Logout. Nov 22 00:25:01 server pure-ftpd: ([email protected]) [INFO] New connection from 127.0.0.1 Nov 22 00:25:01 server pure-ftpd: ([email protected]) [INFO] Logout. Nov 22 00:30:02 server pure-ftpd: ([email protected]) [INFO] New connection from 127.0.0.1 Nov 22 00:30:02 server pure-ftpd: ([email protected]) [INFO] Logout. Nov 22 00:35:02 server pure-ftpd: ([email protected]) [INFO] New connection from 127.0.0.1 Nov 22 00:35:02 server pure-ftpd: ([email protected]) [INFO] Logout. Nov 22 00:40:02 server pure-ftpd: ([email protected]) [INFO] New connection from 127.0.0.1 Nov 22 00:40:02 server pure-ftpd: ([email protected]) [INFO] Logout. Nov 22 00:45:02 server pure-ftpd: ([email protected]) [INFO] New connection from 127.0.0.1 Nov 22 00:45:02 server pure-ftpd: ([email protected]) [INFO] Logout. Nov 22 00:50:02 server pure-ftpd: ([email protected]) [INFO] New connection from 127.0.0.1 Nov 22 00:50:02 server pure-ftpd: ([email protected]) [INFO] Logout. Nov 22 00:55:01 server pure-ftpd: ([email protected]) [INFO] New connection from 127.0.0.1 Nov 22 00:55:01 server pure-ftpd: ([email protected]) [INFO] Logout. Nov 22 01:00:02 server pure-ftpd: ([email protected]) [INFO] New connection from 127.0.0.1 Nov 22 01:00:02 server pure-ftpd: ([email protected]) [INFO] Logout. Nov 22 01:05:02 server pure-ftpd: ([email protected]) [INFO] New connection from 127.0.0.1 Nov 22 01:05:02 server pure-ftpd: ([email protected]) [INFO] Logout. Nov 22 01:10:02 server pure-ftpd: ([email protected]) [INFO] New connection from 127.0.0.1 Nov 22 01:10:02 server pure-ftpd: ([email protected]) [INFO] Logout. Nov 22 01:15:02 server pure-ftpd: ([email protected]) [INFO] New connection from 127.0.0.1 Nov 22 01:15:02 server pure-ftpd: ([email protected]) [INFO] Logout. Nov 22 01:20:02 server pure-ftpd: ([email protected]) [INFO] New connection from 127.0.0.1 Nov 22 01:20:02 server pure-ftpd: ([email protected]) [INFO] Logout. Nov 22 01:25:02 server pure-ftpd: ([email protected]) [INFO] New connection from 127.0.0.1 Nov 22 01:25:02 server pure-ftpd: ([email protected]) [INFO] Logout. Nov 22 01:30:02 server pure-ftpd: ([email protected]) [INFO] New connection from 127.0.0.1 Nov 22 01:30:02 server pure-ftpd: ([email protected]) [INFO] Logout. Nov 22 01:35:02 server pure-ftpd: ([email protected]) [INFO] New connection from 127.0.0.1 Nov 22 01:35:02 server pure-ftpd: ([email protected]) [INFO] Logout. Nov 22 01:40:02 server pure-ftpd: ([email protected]) [INFO] New connection from 127.0.0.1 Nov 22 01:40:02 server pure-ftpd: ([email protected]) [INFO] Logout. Nov 22 01:45:01 server pure-ftpd: ([email protected]) [INFO] New connection from 127.0.0.1 Nov 22 01:45:01 server pure-ftpd: ([email protected]) [INFO] Logout. Nov 22 01:50:01 server pure-ftpd: ([email protected]) [INFO] New connection from 127.0.0.1 Nov 22 01:50:01 server pure-ftpd: ([email protected]) [INFO] Logout. Nov 22 01:55:01 server pure-ftpd: ([email protected]) [INFO] New connection from 127.0.0.1 Nov 22 01:55:01 server pure-ftpd: ([email protected]) [INFO] Logout. /var/log/messages root@server:~# less /var/log/mail.err Nov 24 19:31:20 server postfix/postfix-script[20409]: fatal: cannot execute /usr/sbin/postconf! Nov 25 19:17:33 server postfix/postfix-script[22158]: fatal: cannot execute /usr/sbin/postconf! Nov 25 19:17:49 server postfix/postfix-script[22168]: fatal: cannot execute /usr/sbin/postconf! Nov 25 19:19:23 server postfix/postfix-script[22222]: fatal: cannot execute /usr/sbin/postconf! /var/log/mail.err (END)
Which manual changes have you done to master.cf and main.cf file? Can you post both files? If you don't remember, force an update and choose reconfigure services (at least for postfix and dovecot)
master.cf Code: root@server:~# less /etc/postfix/master.cf # # Postfix master process configuration file. For details on the format # of the file, see the master(5) manual page (command: "man 5 master" or # on-line: http://www.postfix.org/master.5.html). # # Do not forget to execute "postfix reload" after editing this file. # # ========================================================================== # service type private unpriv chroot wakeup maxproc command + args # (yes) (yes) (no) (never) (100) # ========================================================================== smtp inet n - y - - smtpd #smtp inet n - y - 1 postscreen #smtpd pass - - y - - smtpd #dnsblog unix - - y - 0 dnsblog #tlsproxy unix - - y - 0 tlsproxy submission inet n - y - - smtpd -o syslog_name=postfix/submission -o smtpd_tls_security_level=encrypt -o smtpd_sasl_auth_enable=yes -o smtpd_client_restrictions=permit_sasl_authenticated,reject # -o smtpd_tls_auth_only=yes # -o smtpd_reject_unlisted_recipient=no # -o smtpd_client_restrictions=$mua_client_restrictions # -o smtpd_helo_restrictions=$mua_helo_restrictions # -o smtpd_sender_restrictions=$mua_sender_restrictions # -o smtpd_recipient_restrictions= # -o smtpd_relay_restrictions=permit_sasl_authenticated,reject # -o milter_macro_daemon_name=ORIGINATING smtps inet n - y - - smtpd -o syslog_name=postfix/smtps -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes -o smtpd_client_restrictions=permit_sasl_authenticated,reject # -o smtpd_reject_unlisted_recipient=no # -o smtpd_client_restrictions=$mua_client_restrictions # -o smtpd_helo_restrictions=$mua_helo_restrictions # -o smtpd_sender_restrictions=$mua_sender_restrictions # -o smtpd_recipient_restrictions= # -o smtpd_relay_restrictions=permit_sasl_authenticated,reject # -o milter_macro_daemon_name=ORIGINATING #628 inet n - y - - qmqpd pickup unix n - y 60 1 pickup cleanup unix n - y - 0 cleanup qmgr unix n - n 300 1 qmgr #qmgr unix n - n 300 1 oqmgr tlsmgr unix - - y 1000? 1 tlsmgr rewrite unix - - y - - trivial-rewrite /etc/postfix/master.cf main.cf Code: root@server:~# less /etc/postfix/main.cf # See /usr/share/postfix/main.cf.dist for a commented, more complete version # Debian specific: Specifying a file name will cause the first # line of that file to be used as the name. The Debian default # is /etc/mailname. #myorigin = /etc/mailname smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU) biff = no # appending .domain is the MUA's job. append_dot_mydomain = no # Uncomment the next line to generate "delayed mail" warnings #delay_warning_time = 4h readme_directory = /usr/share/doc/postfix # See http://www.postfix.org/COMPATIBILITY_README.html -- default to 2 on # fresh installs. compatibility_level = 2 # TLS parameters smtpd_tls_cert_file = /etc/postfix/smtpd.cert smtpd_tls_key_file = /etc/postfix/smtpd.key smtpd_use_tls = yes smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for # information on enabling SSL in the smtp client. smtpd_relay_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination myhostname = server.tradingforum.it alias_maps = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases alias_database = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases myorigin = /etc/mailname mydestination = server.tradingforum.it, localhost, localhost.localdomain relayhost = mynetworks = 127.0.0.0/8 [::1]/128 mailbox_size_limit = 0 recipient_delimiter = + inet_interfaces = all inet_protocols = all html_directory = /usr/share/doc/postfix/html /etc/postfix/main.cf possibly could you tell me the commands to force the configuration of his services?
You can do this by running a forced updated and choosing yes for reconfigure services: Code: ispconfig_update.sh --force
I just did it but nothing has changed ... Code: Reconfigure Services? (yes,no,selected) [yes]: Configuring Postfix Configuring Dovecot Configuring Mailman Configuring Spamassassin Configuring Amavisd Configuring Getmail Configuring BIND Configuring Pureftpd Configuring Apache Configuring vlogger Configuring Apps vhost Configuring Jailkit Configuring Ubuntu Firewall Configuring Database Updating ISPConfig ISPConfig Port [8080]: Create new ISPConfig SSL certificate (yes,no) [no]: Reconfigure Crontab? (yes,no) [yes]: Updating Crontab Restarting services ... Update finished. root@server:~#
ok I solved it, for those who will have the same problem as me, I modified the master.cf file leave 2 spaces in front of -o, I restarted postefix and now I send and receive emails regularly, but with a few seconds of delay is it possible to solve this?
Yes, there must be at least one whitespace in front of the -o lines, as shown in perfect server install guide. Emails get scanned, so it's normal that there is a short delay.