Skip to content

Commit

Permalink
make disable_ipv6 optional (and default to false) to not break existi…
Browse files Browse the repository at this point in the history
…ng chatmail.ini's unneccessarily
  • Loading branch information
hpk42 committed Jul 28, 2024
1 parent 7a64333 commit fae0863
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
4 changes: 1 addition & 3 deletions chatmaild/src/chatmaild/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit fae0863

Please sign in to comment.