You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
466 B
17 lines
466 B
#!/bin/sh
|
|
|
|
# WORKAROUND:
|
|
# postfix has to be aware of the DNS servers
|
|
# without this workaround it uses 127.0.0.1:53 for some unknown (yet) reason...
|
|
mkdir -v /var/spool/postfix/etc
|
|
cp -v /etc/resolv.conf /var/spool/postfix/etc
|
|
|
|
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
|