1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-04-29 04:17:07 +00:00
mailinabox/containers/docker/runit/postfix.sh
2015-02-25 22:25:03 +01:00

12 lines
308 B
Bash

#!/bin/bash
exec 1>&2
test -f /etc/default/postfix && . /etc/default/postfix
command_directory=`postconf -h command_directory`
daemon_directory=`$command_directory/postconf -h daemon_directory`
# make consistency check
$command_directory/postfix check 2>&1
# run Postfix
exec $daemon_directory/master 2>&1