generated from smedev/Template-for-SMEServer-Core-Package
13 lines
486 B
Plaintext
13 lines
486 B
Plaintext
|
#!/bin/bash
|
||
|
/usr/sbin/e-smith/expand-template /etc/postfix/virtual
|
||
|
/usr/sbin/e-smith/expand-template /etc/postfix/sasl_passwd
|
||
|
/usr/sbin/e-smith/expand-template /etc/postfix/transport
|
||
|
# sensitive file, we want to be sure.
|
||
|
touch /etc/postfix/sasl_passwd.db
|
||
|
chmod 0600 /etc/postfix/sasl_passwd.db
|
||
|
chown root:root /etc/postfix/sasl_passwd.db
|
||
|
/usr/sbin/postmap /etc/postfix/virtual
|
||
|
/usr/sbin/postmap /etc/postfix/sasl_passwd
|
||
|
/usr/sbin/postmap /etc/postfix/transport
|
||
|
/usr/sbin/postfix reload
|