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.
22 lines
556 B
22 lines
556 B
#!/bin/bash
|
|
# Author: Athmane Madjoudj <athmanem@gmail.com>
|
|
# Christoph Galuschka <christoph.galuschka@chello.at>
|
|
|
|
t_Log "Running $0 - remove unused MTAs and install exim"
|
|
|
|
if (t_GetPkgRel basesystem | grep -q el5)
|
|
then
|
|
t_InstallPackage exim expect telnet
|
|
# Remove other MTAs
|
|
t_ServiceControl postfix stop
|
|
t_ServiceControl sendmail stop
|
|
sleep 3
|
|
t_RemovePackage postfix sendmail
|
|
# Fix exim.conf to not use IPv6
|
|
sed -i 's/\:\:1//' /etc/exim/exim.conf
|
|
t_ServiceControl exim start
|
|
else
|
|
t_Log "This seems to be a C6 system - skipping"
|
|
fi
|
|
|