You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
348 B
17 lines
348 B
12 months ago
|
#!/bin/bash
|
||
|
# Author: Athmane Madjoudj <athmanem@gmail.com>
|
||
|
|
||
|
t_Log "Running $0 - remove unused MTAs and install postfix"
|
||
|
|
||
|
# Remove other MTAs
|
||
|
t_ServiceControl sendmail stop
|
||
|
t_ServiceControl exim stop
|
||
|
sleep 3
|
||
|
t_RemovePackage sendmail exim
|
||
|
|
||
|
# Postfix
|
||
|
t_InstallPackage postfix nc rsyslog
|
||
|
t_ServiceControl postfix start
|
||
|
t_ServiceControl rsyslog start
|
||
|
|