Closed esvarc closed 1 year ago
I was able to fix nginx by commenting IPV6 in:
/opt/mailcow-dockerized/data/conf/nginx/dynmaps.conf /opt/mailcow-dockerized/data/conf/nginx/templates/listen_plain.template /opt/mailcow-dockerized/data/conf/nginx/templates/listen_ssl.template
And phpfpm by removing '[::]:' in file /opt/mailcow-dockerized/data/conf/phpfpm/php-fpm.d/pools.conf
BTW ufw was put on disable state, I kept only NAT rules to be able run my machines behind this one. Same box have router role as well.
I confirm this issue. Got same problems after following official guide.
Fixing it by hand now
Yes, should definitely be mentioned in the docs. It is not officially supported but can probably (well, definitely with some work) be made to run on v4 only systems.
I wonder why we never added it.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Hi, after setting up a fresh installation of mailcow and following this guide https://docs.mailcow.email/post_installation/firststeps-disable_ipv6 the netfilter container wont come up.
Clearing all bans
Traceback (most recent call last):
File "/server.py", line 558, in <module>
clear()
File "/server.py", line 297, in clear
filter6_table = iptc.Table6(iptc.Table6.FILTER)
File "/usr/lib/python3.10/site-packages/iptc/ip6tc.py", line 589, in __new__
obj._init(name, autocommit)
File "/usr/lib/python3.10/site-packages/iptc/ip6tc.py", line 606, in _init
self.refresh()
File "/usr/lib/python3.10/site-packages/iptc/ip4tc.py", line 1634, in refresh
raise IPTCError("can't initialize %s: %s" % (self.name,
iptc.ip4tc.IPTCError: can't initialize filter: b'Address family not supported by protocol'
Same issue as @Zyplonox
Contribution guidelines
I've found a bug and checked that ...
Description
I followed guide on https://mailcow.github.io/mailcow-dockerized-docs/post_installation/firststeps-disable_ipv6/ to configure mailcow on IPV6. But actually it doesn't work on all images. Three images having problem. I was able to fix two of them, but not netfilter. There is no chance modify any config and delete reference to IPV6.
Logs
Steps to reproduce
System information
docker version
)docker-compose version
)docker-py version: 5.0.0 CPython version: 3.7.10 OpenSSL version: OpenSSL 1.1.0l 10 Sep 2019| | Reverse proxy (custom solution) | nginx|
Output of
git diff origin/master
, any other changes to the code? If so, please post them:All third-party firewalls and custom iptables rules are unsupported. Please check the Docker docs about how to use Docker with your own ruleset. Nevertheless, iptabels output can help us to help you: iptables -L -vn:
ip6tables -L -vn:
iptables -L -vn -t nat:
ip6tables -L -vn -t nat:
DNS problems? Please run
docker exec -it $(docker ps -qf name=acme-mailcow) dig +short stackoverflow.com @172.22.1.254
(set the IP accordingly, if you changed the internal mailcow network) and post the output: