diff --git a/CHANGELOG.md b/CHANGELOG.md index ec116cdc..209fb7b9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog for chatmail deployment -## untagged +## 1.4.0 2024-07-28 - Add `disable_ipv6` config option to chatmail.ini. Required if the server doesn't have IPv6 connectivity. diff --git a/chatmaild/src/chatmaild/config.py b/chatmaild/src/chatmaild/config.py index 696ef66c..fcdc61ad 100644 --- a/chatmaild/src/chatmaild/config.py +++ b/chatmaild/src/chatmaild/config.py @@ -30,9 +30,7 @@ def __init__(self, inipath, params): self.passthrough_recipients = params["passthrough_recipients"].split() self.filtermail_smtp_port = int(params["filtermail_smtp_port"]) self.postfix_reinject_port = int(params["postfix_reinject_port"]) - self.disable_ipv6 = ( - True if params.get("disable_ipv6").lower() == "true" else False - ) + self.disable_ipv6 = params.get("disable_ipv6", "false").lower() == "true" self.iroh_relay = params.get("iroh_relay") self.privacy_postal = params.get("privacy_postal") self.privacy_mail = params.get("privacy_mail")