1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-03-03 14:52:36 +02:00
Mailu/postfix/start.sh
2016-03-02 21:25:56 +01:00

11 lines
209 B
Bash
Executable File

#!/bin/bash
# Substitute configuration
for VARIABLE in `env | cut -f1 -d=`; do
sed -i "s,{{ $VARIABLE }},${!VARIABLE},g" /etc/postfix/*.cf
done
# Actually run Postfix
/usr/lib/postfix/master &
rsyslogd -n