2024-11-18 04:25:49 +01:00
|
|
|
#!/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
|
2024-12-20 06:36:26 +01:00
|
|
|
/usr/sbin/e-smith/expand-template /etc/postfix/generic
|
|
|
|
/usr/sbin/e-smith/expand-template /etc/postfix/main.cf
|
|
|
|
/usr/sbin/e-smith/expand-template /etc/postfix/master.cf
|
2024-11-18 04:25:49 +01:00
|
|
|
# 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
|
2024-12-20 06:36:26 +01:00
|
|
|
/usr/sbin/postmap /etc/postfix/generic
|