Skip to content

Commit

Permalink
bug fix: email debugger
Browse files Browse the repository at this point in the history
  • Loading branch information
usmannasir committed Jan 8, 2024
1 parent 33c1173 commit 5a55ce7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plogical/mailUtilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand All @@ -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()
Expand Down

0 comments on commit 5a55ce7

Please sign in to comment.