#!/bin/sh

##
# Postfix Daemon
##

. /etc/rc.common

StartService ()
{
        if [ "${MAILSERVER:=-YES-}" = "-YES-" ]; then
/usr/sbin/postfix start;
        fi
}
StopService ()
{
        /usr/sbin/postfix stop;
}
RestartService ()
{
        /usr/sbin/postfix reload;
}
RunService "$1"
