So the reason the 'enable pop3' thing is not working properly is because the config panel was spitting inconsistent boolean shit like 1, True or 'yes' depending on whatever...

This commit is contained in:
Alexandre Aubin 2024-01-14 17:08:24 +01:00
parent 5975dd4310
commit 1cbc30e0d5

View file

@ -372,7 +372,8 @@ def reconfigure_dovecot(setting_name, old_value, new_value):
environment = os.environ.copy()
environment.update({"DEBIAN_FRONTEND": "noninteractive"})
if new_value is True:
# Depending on how consistent the config panel is, it may spit 1 or True or ..? ...
if new_value:
command = [
"apt-get",
"-y",