1
0
mirror of https://github.com/Mailu/Mailu.git synced 2024-12-14 10:53:30 +02:00
Mailu/postfix/start.sh

11 lines
209 B
Bash
Raw Normal View History

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