mirror of
https://github.com/Mailu/Mailu.git
synced 2024-12-12 10:45:38 +02:00
12 lines
237 B
Bash
Executable File
12 lines
237 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
|
|
rm -f /var/run/rsyslogd.pid
|
|
/usr/lib/postfix/master &
|
|
rsyslogd -n
|