1. Dinesh Kumar
  2. iredmail-1


Zhang Huangbin  committed 9005139

Comment out 'inet_protocols' in Postfix main.cf first to avoid duplicate entries.

  • Participants
  • Parent commits 76acea9
  • Branches default

Comments (0)

Files changed (1)

File iRedMail/functions/postfix.sh

View file
     # Use ipv4 only
+    # Comment out the parameter first to avoid duplicate entries
+    perl -pi -e 's/^(inet_protocols*)/#${1}/' ${POSTFIX_FILE_MAIN_CF}
     postconf -e inet_protocols='ipv4'
     # Do not set virtual_alias_domains.