8 lines
207 B
Bash
Executable File
8 lines
207 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# POSTFIX_var env -> postconf -e var=$POSTFIX_var
|
|
for e in ${!POSTFIX_*} ; do postconf -e "${e:8}=${!e}" ; done
|
|
chown -R postfix:postfix /var/lib/postfix /var/mail /var/spool/postfix
|
|
|
|
exec "$@"
|