diff --git a/plinth/modules/email_server/postconf.py b/plinth/modules/email_server/postconf.py index 59b80d19a..4762bd522 100644 --- a/plinth/modules/email_server/postconf.py +++ b/plinth/modules/email_server/postconf.py @@ -71,7 +71,7 @@ def set_master_cf_options(service_flags, options): def get_unsafe(key): """Get postconf value (no locking, no sanitization)""" result = _run(['/sbin/postconf', key]) - match = key + ' = ' + match = key + ' =' if not result.startswith(match): raise KeyError(key) return result[len(match):].strip()