#!/bin/bash
source /root/envsetup/global-conf.sh

# set SMTP
if ( ! test -z ${EMAIL_SMTP_SERVER} )
then
sed -i "s@relayhost = .*@relayhost = ${EMAIL_SMTP_SERVER}@" /etc/postfix/main.cf
fi
