DOCKER_COMPOSE_VERSION=native
Well I thought I knew what was triggering the issue but now I am not sure.
What my process to monitor my machine is.
Start the server.
Open the web page for mailcow.
Open another desktop
Open monitor windows for postfix , dovecot, netfilter and now redis but that is new.
To see netfilter I have to run a script to reset netfilter first or I get the screen with all the code in it.
which does this:
[demo@mail mailcow-dockerized]$ sudo ./netfilter.sh
[sudo] password for demo:
insmod /lib/modules/6.6.16-1-lts/kernel/net/ipv6/netfilter/ip6_tables.ko.zst
insmod /lib/modules/6.6.16-1-lts/kernel/net/ipv6/netfilter/ip6table_filter.ko.zst
[+] Restarting 1/1
✔ Container mailcowdockerized-netfilter-mailcow-1 Started 0.8s
This is what is in the script:
#!/bin/bash
sudo modprobe -v ip6table_filter
sudo modprobe -v iptable_filter
sudo docker-compose restart netfilter-mailcow
Running that now causes the issue.
The web page errors out with the redis error.
Postfix seems to still be working at the moment but I expect it to fail at some point with a timeout error.
Sorry for the runaround on this . I am trying to systematically test it.
I now have to restart to get the web page back.
I hope this helps.
postfix just crashed
postfix-mailcow-1 | Feb 6 12:08:31 2bb078433cad postfix/master[378]: warning: process /usr/lib/postfix/sbin/postscreen pid 974 exit status 1
postfix-mailcow-1 | Feb 6 12:08:31 2bb078433cad postfix/master[378]: warning: /usr/lib/postfix/sbin/postscreen: bad command startup -- throttling
postfix-mailcow-1 | Feb 6 12:05:21 2bb078433cad syslog-ng[9]: REDIS server error, suspending; driver='d_redis_f2b_channel#0', command='PUBLISH "F2B_CHANNEL" "warning: hostname apzg-0720c-035.stretchoid.com does not resolve to address 192.241.208.64"', error='Connection reset by peer', time_reopen='60'
postfix-mailcow-1 | Feb 6 12:05:21 2bb078433cad syslog-ng[9]: Error occurred while trying to send a message, trying again; driver='d_redis_f2b_channel#0', location='/etc/syslog-ng/syslog-ng.conf:27:3', worker_index='0', retries='1', time_reopen='60', batch_size='1'
postfix-mailcow-1 | Feb 6 12:05:21 2bb078433cad syslog-ng[9]: REDIS server error, suspending; driver='d_redis_ui_log#0', command='LPUSH "POSTFIX_MAILLOG" "{\"time\":\"1707239121\",\"program\":\"postfix/submission/smtpd\",\"priority\":\"warning\",\"message\":\"warning: hostname apzg-0720c-035.stretchoid.com does not resolve to address 192.241.208.64\"}\n"', error='Connection reset by peer', time_reopen='60'
postfix-mailcow-1 | Feb 6 12:05:21 2bb078433cad syslog-ng[9]: Error occurred while trying to send a message, trying again; driver='d_redis_ui_log#0', location='/etc/syslog-ng/syslog-ng.conf:19:3', worker_index='0', retries='1', time_reopen='60', batch_size='1'
postfix-mailcow-1 | Feb 6 12:09:25 2bb078433cad postfix/submission/smtpd[982]: connect from unknown[91.215.85.17]
postfix-mailcow-1 | Feb 6 12:09:26 2bb078433cad postfix/submission/smtpd[982]: discarding EHLO keywords: CHUNKING
postfix-mailcow-1 | Feb 6 12:09:26 2bb078433cad postfix/submission/smtpd[982]: Anonymous TLS connection established from unknown[91.215.85.17]: TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256
postfix-mailcow-1 | Feb 6 12:09:26 2bb078433cad postfix/submission/smtpd[982]: discarding EHLO keywords: CHUNKING
postfix-mailcow-1 | Feb 6 12:09:29 2bb078433cad postfix/submission/smtpd[982]: warning: unknown[91.215.85.17]: SASL PLAIN authentication failed: (reason unavailable), sasl_username=administracion@dccathome.com
postfix-mailcow-1 | Feb 6 12:09:29 2bb078433cad postfix/submission/smtpd[982]: disconnect from unknown[91.215.85.17] ehlo=2 starttls=1 auth=0/1 quit=1 unknown=0/1 commands=4/6
postfix-mailcow-1 | Feb 6 12:09:51 2bb078433cad syslog-ng[9]: REDIS server error during connection; driver='d_redis_ui_log#0', error='Connection timed out', time_reopen='60'
postfix-mailcow-1 | Feb 6 12:09:51 2bb078433cad syslog-ng[9]: REDIS server error during connection; driver='d_redis_f2b_channel#0', error='Connection timed out', time_reopen='60'
postfix-mailcow-1 | Feb 6 12:10:21 2bb078433cad whitelist_forwardinghosts: Look up 193.222.96.141 on whitelist, result <html>
postfix-mailcow-1 | Feb 6 12:10:21 2bb078433cad syslog-ng[9]: Error processing log message: <head><title>504 Gateway Time-out</title></head>
postfix-mailcow-1 | <body>
postfix-mailcow-1 | <center><h1>504 Gateway Time-out</h1></center>
postfix-mailcow-1 | <hr><center>nginx/1.25.3</center>
postfix-mailcow-1 | </body>
postfix-mailcow-1 | </html>
postfix-mailcow-1 | submission/smtpd[959]: improper command pipelining after CONNECT from unknown[192.241.208.64]: EHLO apzg-0720c-035\r\n>@<
postfix-mailcow-1 | <head><title>504 Gateway Time-out</title></head>
postfix-mailcow-1 | Feb 6 12:10:21 2bb078433cad syslog-ng[9]: Error processing log message: <body>
postfix-mailcow-1 | <center><h1>504 Gateway Time-out</h1></center>
postfix-mailcow-1 | <hr><center>nginx/1.25.3</center>
postfix-mailcow-1 | </body>
postfix-mailcow-1 | </html>
postfix-mailcow-1 | submission/smtpd[959]: improper command pipelining after CONNECT from unknown[192.241.208.64]: EHLO apzg-0720c-035\r\n>@<
postfix-mailcow-1 | <body>
postfix-mailcow-1 | Feb 6 12:10:21 2bb078433cad syslog-ng[9]: Error processing log message: <center><h1>504 Gateway Time-out</h1></center>
postfix-mailcow-1 | <hr><center>nginx/1.25.3</center>
postfix-mailcow-1 | </body>
postfix-mailcow-1 | </html>
postfix-mailcow-1 | submission/smtpd[959]: improper command pipelining after CONNECT from unknown[192.241.208.64]: EHLO apzg-0720c-035\r\n>@<
postfix-mailcow-1 | <center><h1>504 Gateway Time-out</h1></center>
postfix-mailcow-1 | Feb 6 12:10:21 2bb078433cad syslog-ng[9]: Error processing log message: <hr><center>nginx/1.25.3</center>
postfix-mailcow-1 | </body>
postfix-mailcow-1 | </html>
postfix-mailcow-1 | submission/smtpd[959]: improper command pipelining after CONNECT from unknown[192.241.208.64]: EHLO apzg-0720c-035\r\n>@<
postfix-mailcow-1 | <hr><center>nginx/1.25.3</center>
postfix-mailcow-1 | Feb 6 12:10:21 2bb078433cad syslog-ng[9]: Error processing log message: </body>
postfix-mailcow-1 | </html>
postfix-mailcow-1 | submission/smtpd[959]: improper command pipelining after CONNECT from unknown[192.241.208.64]: EHLO apzg-0720c-035\r\n>@<
postfix-mailcow-1 | </body>
postfix-mailcow-1 | Feb 6 12:10:21 2bb078433cad syslog-ng[9]: Error processing log message: </html>
postfix-mailcow-1 | submission/smtpd[959]: improper command pipelining after CONNECT from unknown[192.241.208.64]: EHLO apzg-0720c-035\r\n>@<
postfix-mailcow-1 | </html>