Browse Source

Install Postfix

old-stable
Mitesh Shah 12 years ago
parent
commit
e72a24a194
  1. 20
      setup/install-postfix.sh

20
setup/install-postfix.sh

@ -0,0 +1,20 @@
#!/bin/bash
# Capture Errors
OwnError()
{
#echo $@ >&2
clear
echo -e "[ $0 ][ `date` ] \033[31m $@ \e[0m" | tee -ai /var/log/easyengine/error.log
exit 100
}
# Update The APT Cache
sudo apt-get update || OwnError "Unable To Update APT Cache :("
# Install Postfix
sudo apt-get -y install postfix || OwnError "Unable To Install Postfix :("
Loading…
Cancel
Save