diff --git a/plogical/mailUtilities.py b/plogical/mailUtilities.py index f3a6df948..1f8ec7d3a 100755 --- a/plogical/mailUtilities.py +++ b/plogical/mailUtilities.py @@ -1872,7 +1872,7 @@ def setup_postfix_dovecot_config(self): command = "chmod 755 " + main ProcessUtilities.executioner(command) - if ProcessUtilities.decideDistro() == ProcessUtilities.ubuntu: + if ProcessUtilities.decideDistro() == ProcessUtilities.ubuntu or ProcessUtilities.decideDistro() == ProcessUtilities.ubuntu20: command = "mkdir -p /etc/pki/dovecot/private/" ProcessUtilities.executioner(command) @@ -1887,7 +1887,7 @@ def setup_postfix_dovecot_config(self): ## Ubuntu 18.10 ssl_dh for dovecot 2.3.2.1 - if ProcessUtilities.ubuntu: + if ProcessUtilities.decideDistro() == ProcessUtilities.ubuntu: dovecotConf = '/etc/dovecot/dovecot.conf' data = open(dovecotConf, 'r').readlines()