Blame tests/p_postfix/0-install_postfix.sh

Karanbir Singh 0b5bb2
#!/bin/bash
Karanbir Singh 0b5bb2
# Author: Athmane Madjoudj <athmanem@gmail.com>
Karanbir Singh 0b5bb2
Karanbir Singh 0b5bb2
# Postfix
Karanbir Singh 2dd0be
t_InstallPackage postfix
Christoph Galuschka 2844c1
Christoph Galuschka 2844c1
# Removing other MTA
Christoph Galuschka 2844c1
t_ServiceControl sendmail stop
Christoph Galuschka 2844c1
sleep 3
Karanbir Singh 2dd0be
t_RemovePackage sendmail
Christoph Galuschka 2844c1
if (t_GetPkgRel basesystem | grep -q el5)
Christoph Galuschka 2844c1
then
Christoph Galuschka 2844c1
  t_ServiceControl exim stop
Christoph Galuschka 2844c1
  sleep 3
Christoph Galuschka 2844c1
  t_RemovePackage exim
Christoph Galuschka 2844c1
fi
Christoph Galuschka 2844c1
Steve Barnes 464547
t_ServiceControl postfix start