generated from smedev/Template-for-SMEServer-Core-Package
* Fri Dec 20 2024 Jean-Philippe Pialasse <jpp@koozali.org> 1.0-7.sme
- fix catch-all behaviour [SME: 12382] myorigin now is hostname in case email sent outside by deamon generic rewrite occurs
This commit is contained in:
@@ -2,10 +2,15 @@
|
||||
/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
|
||||
/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
|
||||
# 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/aliases
|
||||
/usr/sbin/postmap /etc/postfix/virtual
|
||||
/usr/sbin/postmap /etc/postfix/sasl_passwd
|
||||
/usr/sbin/postmap /etc/postfix/transport
|
||||
/usr/sbin/postmap /etc/postfix/generic
|
||||
|
@@ -2,11 +2,16 @@
|
||||
/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
|
||||
/usr/sbin/e-smith/expand-template /etc/postfix/generic
|
||||
#TODO /usr/sbin/e-smith/expand-template /etc/postfix/main.cf
|
||||
#TODO /usr/sbin/e-smith/expand-template /etc/postfix/master.cf
|
||||
# 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/aliases
|
||||
/usr/sbin/postmap /etc/postfix/virtual
|
||||
/usr/sbin/postmap /etc/postfix/sasl_passwd
|
||||
/usr/sbin/postmap /etc/postfix/transport
|
||||
/usr/sbin/postmap /etc/postfix/generic
|
||||
/usr/sbin/postfix reload
|
||||
|
Reference in New Issue
Block a user