Skip to content

Commit

Permalink
bug fix: dns config reset
Browse files Browse the repository at this point in the history
  • Loading branch information
usmannasir committed Jan 19, 2024
1 parent 6cfc2ad commit e6fe9ef
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions plogical/mailUtilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -636,13 +636,11 @@ def installRspamd(install, rspamd):

command = 'sudo yum install rspamd clamav clamd clamav-update -y'
else:
command = 'sudo apt-get install rspamd clamav clamav-daemon -y'
command = 'DEBIAN_FRONTEND=noninteractive apt-get install rspamd clamav clamav-daemon -y'


cmd = shlex.split(command)

with open(mailUtilities.RspamdInstallLogPath, 'w') as f:
res = subprocess.call(cmd, stdout=f)
res = subprocess.call(command, stdout=f, shell=True)


###### makefile
Expand Down

0 comments on commit e6fe9ef

Please sign in to comment.