File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -499,21 +499,21 @@ def configureSpamAssassin():
499
499
500
500
501
501
command = "groupadd spamd"
502
- subprocess . call ( shlex . split ( command ) )
502
+ ProcessUtilities . normalExecutioner ( command )
503
503
504
504
command = "useradd -g spamd -s /bin/false -d /var/log/spamassassin spamd"
505
- subprocess . call ( shlex . split ( command ) )
505
+ ProcessUtilities . normalExecutioner ( command )
506
506
507
507
##
508
508
509
509
command = "chown spamd:spamd /var/log/spamassassin"
510
- subprocess . call ( shlex . split ( command ) )
510
+ ProcessUtilities . normalExecutioner ( command )
511
511
512
512
command = "systemctl enable spamassassin"
513
- subprocess . call ( shlex . split ( command ) )
513
+ ProcessUtilities . normalExecutioner ( command )
514
514
515
515
command = "systemctl start spamassassin"
516
- subprocess . call ( shlex . split ( command ) )
516
+ ProcessUtilities . normalExecutioner ( command )
517
517
518
518
## Configuration to postfix
519
519
@@ -534,7 +534,7 @@ def configureSpamAssassin():
534
534
writeToFile .close ()
535
535
536
536
command = 'systemctl restart postfix'
537
- subprocess . call ( shlex . split ( command ) )
537
+ ProcessUtilities . normalExecutioner ( command )
538
538
539
539
540
540
print "1,None"
You can’t perform that action at this time.
0 commit comments