generated from smedev/Template-for-SMEServer-Core-Package
* Sun Nov 17 2024 <jpp@koozali.org> 1.0-2.sme
- listen only via sockets - use both unix user and virtual users - groups and pseudonyms implemented in virtual maps - support smarthost with and without auth - support global and per domain delegated mail server - support ssl - uses qmail - recipient delimiter in left part of email. - all domains set as local domains in mydestination - message_size_limit - local and remote concurency limit
This commit is contained in:
11
root/sbin/e-smith/systemd/postfix-pre
Executable file
11
root/sbin/e-smith/systemd/postfix-pre
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/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
|
12
root/sbin/e-smith/systemd/postfix-reload
Executable file
12
root/sbin/e-smith/systemd/postfix-reload
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/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
|
Reference in New Issue
Block a user