You've already forked Mailu
mirror of
https://github.com/Mailu/Mailu.git
synced 2025-11-23 22:04:47 +02:00
forgot about alpine/lmdb
This commit is contained in:
@@ -60,7 +60,7 @@ smtp_tls_mandatory_protocols = !SSLv2, !SSLv3
|
|||||||
smtp_tls_protocols =!SSLv2,!SSLv3
|
smtp_tls_protocols =!SSLv2,!SSLv3
|
||||||
smtp_tls_security_level = {{ OUTBOUND_TLS_LEVEL|default('dane') }}
|
smtp_tls_security_level = {{ OUTBOUND_TLS_LEVEL|default('dane') }}
|
||||||
smtp_tls_dane_insecure_mx_policy = {% if DEFER_ON_TLS_ERROR == 'false' %}may{% else %}dane{% endif %}
|
smtp_tls_dane_insecure_mx_policy = {% if DEFER_ON_TLS_ERROR == 'false' %}may{% else %}dane{% endif %}
|
||||||
smtp_tls_policy_maps=hash:/etc/postfix/tls_policy.map, ${podop}dane, socketmap:unix:/tmp/mta-sts.socket:postfix
|
smtp_tls_policy_maps=lmdb:/etc/postfix/tls_policy.map, ${podop}dane, socketmap:unix:/tmp/mta-sts.socket:postfix
|
||||||
smtp_tls_CApath = /etc/ssl/certs
|
smtp_tls_CApath = /etc/ssl/certs
|
||||||
smtp_tls_session_cache_database = lmdb:/dev/shm/postfix/smtp_scache
|
smtp_tls_session_cache_database = lmdb:/dev/shm/postfix/smtp_scache
|
||||||
smtpd_tls_session_cache_database = lmdb:/dev/shm/postfix/smtpd_scache
|
smtpd_tls_session_cache_database = lmdb:/dev/shm/postfix/smtpd_scache
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ def start_podop():
|
|||||||
# TODO: Remove verbosity setting from Podop?
|
# TODO: Remove verbosity setting from Podop?
|
||||||
run_server(0, "postfix", "/tmp/podop.socket", [
|
run_server(0, "postfix", "/tmp/podop.socket", [
|
||||||
("transport", "url", url + "transport/§"),
|
("transport", "url", url + "transport/§"),
|
||||||
("alias", "url", url + "alias/§"),
|
("alias", "url", url + "alias/§"),
|
||||||
("dane", "url", url + "dane/§"),
|
("dane", "url", url + "dane/§"),
|
||||||
("domain", "url", url + "domain/§"),
|
("domain", "url", url + "domain/§"),
|
||||||
("mailbox", "url", url + "mailbox/§"),
|
("mailbox", "url", url + "mailbox/§"),
|
||||||
@@ -79,7 +79,7 @@ if os.path.exists("/overrides/mta-sts-daemon.yml"):
|
|||||||
shutil.copyfile("/overrides/mta-sts-daemon.yml", "/etc/mta-sts-daemon.yml")
|
shutil.copyfile("/overrides/mta-sts-daemon.yml", "/etc/mta-sts-daemon.yml")
|
||||||
conf.jinja("/etc/mta-sts-daemon.yml", os.environ, "/etc/mta-sts-daemon.yml")
|
conf.jinja("/etc/mta-sts-daemon.yml", os.environ, "/etc/mta-sts-daemon.yml")
|
||||||
|
|
||||||
if not os.path.exists("/etc/postfix/tls_policy.map.db"):
|
if not os.path.exists("/etc/postfix/tls_policy.map.lmdb"):
|
||||||
with open("/etc/postfix/tls_policy.map", "w") as f:
|
with open("/etc/postfix/tls_policy.map", "w") as f:
|
||||||
for domain in ['example.com']:
|
for domain in ['example.com']:
|
||||||
f.write(f'{domain}\tsecure\n')
|
f.write(f'{domain}\tsecure\n')
|
||||||
|
|||||||
Reference in New Issue
Block a user