| #!/bin/bash |
| |
| |
| |
| t_Log "Running $0 - remove unused MTAs and install exim" |
| |
| if (t_GetPkgRel basesystem | grep -q el5) |
| then |
| t_InstallPackage exim expect telnet |
| |
| t_ServiceControl postfix stop |
| t_ServiceControl sendmail stop |
| sleep 3 |
| t_RemovePackage postfix sendmail |
| |
| sed -i 's/\:\:1//' /etc/exim/exim.conf |
| t_ServiceControl exim start |
| else |
| t_Log "This seems to be a C6 system - skipping" |
| fi |
| |