1

Topic: Postfix/IredMail suddenly down

Hi Guys,

Good day. I was wondering if you will be able to help me out. All of a sudden our whenever a user tried to send email , "SMTP ERROR -1 : Connection to Server Failed". I have checked /var/log/maillog and received the following error message below.
No config was change to the server itself and it was perfectly working until last night.
I was wondering if you will be able to guide and help out...

Thanks

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.3.2
- Deployed with iRedMail Easy or the downloadable installer? Via CLI
- Linux/BSD distribution name and version: Ubuntu 20.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  MySQl
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? Not at the moment
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.

Jul  6 13:11:01 mail postfix/anvil[8879]: statistics: max cache size 1 at Jul  6 13:07:40
Jul  6 13:19:02 mail postfix/postscreen[9452]: CONNECT from [45.133.1.252]:55626 to [172.31.37.103]:25
Jul  6 13:19:02 mail postfix/postscreen[9452]: PASS OLD [45.133.1.252]:55626
Jul  6 13:19:02 mail postfix/smtpd[9455]: connect from unknown[45.133.1.252]
Jul  6 13:19:03 mail postfix/smtpd[9455]: lost connection after AUTH from unknown[45.133.1.252]
Jul  6 13:19:03 mail postfix/smtpd[9455]: disconnect from unknown[45.133.1.252] ehlo=1 auth=0/1 commands=1/2
Jul  6 13:22:23 mail postfix/anvil[9457]: statistics: max connection rate 1/60s for (smtpd:45.133.1.252) at Jul  6 13:19:02
Jul  6 13:22:23 mail postfix/anvil[9457]: statistics: max connection count 1 for (smtpd:45.133.1.252) at Jul  6 13:19:02
Jul  6 13:22:23 mail postfix/anvil[9457]: statistics: max cache size 1 at Jul  6 13:19:02
Jul  6 13:26:27 mail postfix/master[11491]: terminating on signal 15
Jul  6 13:27:15 mail opendkim[931]: OpenDKIM Filter v2.11.0 starting (args: -x /etc/opendkim.conf)
Jul  6 13:27:18 mail amavis[930]: starting. /usr/sbin/amavisd-new at mail.countryfunders.net amavisd-new-2.11.0 (20160426), Unicode aware, LC_ALL="C", LANG="C.UTF-8"
Jul  6 13:27:19 mail amavis[1455]: Net::Server: Group Not Defined.  Defaulting to EGID '123 123'
Jul  6 13:27:19 mail amavis[1455]: Net::Server: User Not Defined.  Defaulting to EUID '117'
Jul  6 13:27:19 mail amavis[1455]: No ext program for   .F, tried: unfreeze, freeze -d, melt, fcat
Jul  6 13:27:19 mail amavis[1455]: No ext program for   .zoo, tried: zoo, unzoo
Jul  6 13:27:19 mail amavis[1455]: No decoder for       .F
Jul  6 13:27:19 mail amavis[1455]: No decoder for       .zoo
Jul  6 13:27:19 mail amavis[1455]: Using primary internal av scanner code for clamav-socket
Jul  6 13:27:19 mail amavis[1455]: Found secondary av scanner clamav-clamscan at /usr/bin/clamscan
Jul  6 13:27:25 mail postfix/postqueue[1858]: fatal: Queue report unavailable - mail system is down
Jul  6 13:27:55 mail postfix/postqueue[2365]: fatal: Queue report unavailable - mail system is down
Jul  6 13:28:25 mail postfix/postqueue[2400]: fatal: Queue report unavailable - mail system is down
Jul  6 13:28:56 mail postfix/postqueue[2411]: fatal: Queue report unavailable - mail system is down
Jul  6 13:29:26 mail postfix/postqueue[2439]: fatal: Queue report unavailable - mail system is down
Jul  6 13:29:56 mail postfix/postqueue[2450]: fatal: Queue report unavailable - mail system is down
Jul  6 13:30:26 mail postfix/postqueue[2474]: fatal: Queue report unavailable - mail system is down
Jul  6 13:30:56 mail postfix/postqueue[2485]: fatal: Queue report unavailable - mail system is down
Jul  6 13:31:26 mail postfix/postqueue[2513]: fatal: Queue report unavailable - mail system is down
Jul  6 13:31:57 mail postfix/postqueue[2524]: fatal: Queue report unavailable - mail system is down
Jul  6 13:32:27 mail postfix/postqueue[2554]: fatal: Queue report unavailable - mail system is down
Jul  6 13:50:12 mail roundcube: PHP Warning:  stream_socket_client(): unable to connect to 127.0.0.1:587 (Connection refused) in /opt/www/roundcubemail-1.4.9/vendor/pear/net_socket/Net/Socket.php on line 159
Jul  6 13:50:12 mail roundcube: <am5l0m25> PHP Error: Connection refused (POST /mail/?_task=mail&_unlock=loading1625579411515&_framed=1&_lang=en&_action=send)
Jul  6 13:50:12 mail roundcube: <am5l0m25> PHP Error: Failed to connect socket: Connection refused (POST /mail/?_task=mail&_unlock=loading1625579411515&_framed=1&_lang=en&_action=send)
Jul  6 13:50:12 mail roundcube: <am5l0m25> SMTP Error: Connection failed: Failed to connect socket: Connection refused in /opt/www/roundcubemail-1.4.9/program/lib/Roundcube/rcube.php on line 1702 (POST /mai$
Jul  6 13:50:16 mail roundcube: PHP Warning:  stream_socket_client(): unable to connect to 127.0.0.1:587 (Connection refused) in /opt/www/roundcubemail-1.4.9/vendor/pear/net_socket/Net/Socket.php on line 159
Jul  6 13:50:16 mail roundcube: <am5l0m25> PHP Error: Connection refused (POST /mail/?_task=mail&_unlock=loading1625579415057&_framed=1&_lang=en&_action=send)
Jul  6 13:50:16 mail roundcube: <am5l0m25> PHP Error: Failed to connect socket: Connection refused (POST /mail/?_task=mail&_unlock=loading1625579415057&_framed=1&_lang=en&_action=send)
Jul  6 13:50:16 mail roundcube: <am5l0m25> SMTP Error: Connection failed: Failed to connect socket: Connection refused in /opt/www/roundcubemail-1.4.9/program/lib/Roundcube/rcube.php on line 1702 (POST /mai$
Jul  6 13:50:21 mail roundcube: PHP Warning:  stream_socket_client(): unable to connect to 127.0.0.1:587 (Connection refused) in /opt/www/roundcubemail-1.4.9/vendor/pear/net_socket/Net/Socket.php on line 159
Jul  6 13:50:21 mail roundcube: <am5l0m25> PHP Error: Connection refused (POST /mail/?_task=mail&_unlock=loading1625579420792&_framed=1&_lang=en&_action=send)
Jul  6 13:50:21 mail roundcube: <am5l0m25> PHP Error: Failed to connect socket: Connection refused (POST /mail/?_task=mail&_unlock=loading1625579420792&_framed=1&_lang=en&_action=send)
Jul  6 13:50:21 mail roundcube: <am5l0m25> SMTP Error: Connection failed: Failed to connect socket: Connection refused in /opt/www/roundcubemail-1.4.9/program/lib/Roundcube/rcube.php on line 1702 (POST /mai$
Jul  6 13:51:05 mail roundcube: PHP Warning:  stream_socket_client(): unable to connect to 127.0.0.1:587 (Connection refused) in /opt/www/roundcubemail-1.4.9/vendor/pear/net_socket/Net/Socket.php on line 159
Jul  6 13:51:05 mail roundcube: <am5l0m25> PHP Error: Connection refused (POST /mail/?_task=mail&_unlock=loading1625579464729&_framed=1&_lang=en&_action=send)
Jul  6 13:51:05 mail roundcube: <am5l0m25> PHP Error: Failed to connect socket: Connection refused (POST /mail/?_task=mail&_unlock=loading1625579464729&_framed=1&_lang=en&_action=send)
Jul  6 13:51:05 mail roundcube: <am5l0m25> SMTP Error: Connection failed: Failed to connect socket: Connection refused in /opt/www/roundcubemail-1.4.9/program/lib/Roundcube/rcube.php on line 1702 (POST /mai$
Jul  6 13:51:09 mail roundcube: PHP Warning:  stream_socket_client(): unable to connect to 127.0.0.1:587 (Connection refused) in /opt/www/roundcubemail-1.4.9/vendor/pear/net_socket/Net/Socket.php on line 159
Jul  6 13:51:09 mail roundcube: <am5l0m25> PHP Error: Connection refused (POST /mail/?_task=mail&_unlock=loading1625579468336&_framed=1&_lang=en&_action=send)
Jul  6 13:51:09 mail roundcube: <am5l0m25> PHP Error: Failed to connect socket: Connection refused (POST /mail/?_task=mail&_unlock=loading1625579468336&_framed=1&_lang=en&_action=send)
Jul  6 13:51:09 mail roundcube: <am5l0m25> SMTP Error: Connection failed: Failed to connect socket: Connection refused in /opt/www/roundcubemail-1.4.9/program/lib/Roundcube/rcube.php on line 1702 (POST /mai$
Jul  6 13:51:49 mail roundcube: PHP Warning:  stream_socket_client(): unable to connect to 127.0.0.1:587 (Connection refused) in /opt/www/roundcubemail-1.4.9/vendor/pear/net_socket/Net/Socket.php on line 159
Jul  6 13:51:49 mail roundcube: <am5l0m25> PHP Error: Connection refused (POST /mail/?_task=mail&_unlock=loading1625579508593&_framed=1&_lang=en&_action=send)
Jul  6 13:51:49 mail roundcube: <am5l0m25> PHP Error: Failed to connect socket: Connection refused (POST /mail/?_task=mail&_unlock=loading1625579508593&_framed=1&_lang=en&_action=send)
Jul  6 13:51:49 mail roundcube: <am5l0m25> SMTP Error: Connection failed: Failed to connect socket: Connection refused in /opt/www/roundcubemail-1.4.9/program/lib/Roundcube/rcube.php on line 1702 (POST /mai$
Jul  6 13:53:49 mail roundcube: PHP Warning:  stream_socket_client(): unable to connect to 127.0.0.1:587 (Connection refused) in /opt/www/roundcubemail-1.4.9/vendor/pear/net_socket/Net/Socket.php on line 159
====

Post's attachments

error1.txt 7.64 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Postfix/IredMail suddenly down

Also I have seen this ...

ubuntu@mail:~$ sudo systemctl status postfix
● postfix.service - Postfix Mail Transport Agent
   Loaded: loaded (/lib/systemd/system/postfix.service; disabled; vendor preset: enabled)
   Active: active (exited) since Wed 2021-07-07 01:52:06 UTC; 1min 14s ago
  Process: 531 ExecStart=/bin/true (code=exited, status=0/SUCCESS)
Main PID: 531 (code=exited, status=0/SUCCESS)

Jul 07 01:52:06 mail.countryfunders.net systemd[1]: Starting Postfix Mail Transport Agent...
Jul 07 01:52:06 mail.countryfunders.net systemd[1]: Started Postfix Mail Transport Agent.
ubuntu@mail:~$ sudo postfix start
/usr/sbin/postconf: fatal: invalid type field "argv=/usr/bin/spamc" in "user=spamd argv=/usr/bin/spamc -f -e  end of edit 23/6/usr/sbin/sendmail -oi -f ${sender} ${recipient}"
postfix/postfix-script: fatal: cannot execute /usr/sbin/postconf!