I know I can edit postfix's config on my own in order to prevent it from using IPv6, but is there a way to do the same with ISPConfig?
Actually it is, as I already had that setting and when I upgraded to 3.1 the change was lost. That's why I'm asking if there is some better way to setup that and make ispconfig preserve it.
uhm .. why do you want your MTA not to speak IPv6? i can't really see any good reason for doing that in the first place :-D
You would do this for example when there are IPv6 network and delivery problems or when you have spam problems as blacklists are less effective on IPv6 die to the huge amount of available addresses. To make your config update safe, copy the postfix main.cf template file from install/tpl/ folder of the ispconfig tar.gz file to the folder /usr/local/ispconfig/server/conf-custom/install/
2021 and i still need to edit /etc/postfix/main.cf after every update: inet_protocols = all to inet_protocols = ipv4 set a static template is no solution, because the /install/tpl/debian_postfix.conf.master changed over the months. a solution in the ispconfig web-config for postfix would be nice.
1) Don't disable IPv6. (https://ipv6bingo.com/) 2) Don't revive such old threads but create a new thread. 3) There is already a function for custom lines in your Postfix and Dovecot config: https://www.howtoforge.com/communit...-for-custom-postfix-and-dovecot-config.86559/
You should not do this in 2021, IPv6 is working perfectly fine today. Plus there is no need to edit postfix config after updates, as @Thom mentioned already. I've closed this old thread now.