This is a short writeup (sorry!) of the issues encountered after using this (otherwise awesome!) script: the mailserver didn't work. Postfix didn't want to start w/ this error:
Nov 16 13:52:07 postfix/proxymap[1631]: fatal: bad string length 0 < 1: \/etc\/postfix/mysql-verify_recipients.cf_dbname =
which seemed to be a ownership problem related to https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5681
After chmodding 777 (I know...) and changing main.cf line smtpd_recipient_restrictions = permit_mynetworks, reject_unknown_recipient_domain, reject_unlisted_recipient, check_recipient_access proxy:mysql:/etc/postfix/mysql-verify_recipients to take out the weird /\ brackets, postfix started but still had SSL errors.
Finally, this thread pointed me in the right direction with user "till" saying Remove the # in front of the submission and smtps line and restart postfix.
Now, the mail is flowing like you'd expect :)
This post is both to aid future installers and an actual issue; I think the script somehow borks permissions and ownership of the mysql-verify_recipients.cf file?
This is a short writeup (sorry!) of the issues encountered after using this (otherwise awesome!) script: the mailserver didn't work. Postfix didn't want to start w/ this error:
Nov 16 13:52:07 postfix/proxymap[1631]: fatal: bad string length 0 < 1: \/etc\/postfix/mysql-verify_recipients.cf_dbname =
which seemed to be a ownership problem related to https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5681 After chmodding 777 (I know...) and changingmain.cf
linesmtpd_recipient_restrictions = permit_mynetworks, reject_unknown_recipient_domain, reject_unlisted_recipient, check_recipient_access proxy:mysql:/etc/postfix/mysql-verify_recipients
to take out the weird /\ brackets, postfix started but still had SSL errors.Finally, this thread pointed me in the right direction with user "till" saying
Remove the # in front of the submission and smtps line and restart postfix.
Now, the mail is flowing like you'd expect :)
This post is both to aid future installers and an actual issue; I think the script somehow borks permissions and ownership of the
mysql-verify_recipients.cf
file?