Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1481: Postgresql: default SUBNET6 in pg_hba r=mergify[bot] a=muhlemmer ## What type of PR? Bug fix ## What does this PR do? When PostgreSQL for Mailu is used in IPv4 only, without IPv6, `SUBNET6` is unset and causes an empty field in the `pg_hba.conf` file. PostgreSQL refuses to start in this case. ### Related issue(s) - Bug was introduced in #1257, merged recently - 1.7 user reported PostgreSQL connection errors on IPv6 in #1479 - #1257 was Backported to 1.7 in #1469 - Users on 1.7 reported this broke IPv4 installation in #1479 - Backport was reverted in #1480 Sorry for the mess 😒 **Note: ** if this patch seems to be stable, I will re-initiate the backport. ## Prerequistes Before we can consider review and merge, please make sure the following list is done and checked. If an entry in not applicable, you can check it or remove it from the list. - [x] In case of feature or enhancement: documentation updated accordingly - [x] Unless it's docs or a minor change: add [changelog](https://mailu.io/master/contributors/guide.html#changelog) entry file. Co-authored-by: Tim Möhlmann <muhlemmer@gmail.com>
- Loading branch information