Compare commits
No commits in common. "0e97f9e596427d40f05516b5cecf73a7c0a55d27" and "b02adbb7cb3794aa9d21904b903296948b8b3b14" have entirely different histories.
0e97f9e596
...
b02adbb7cb
3 changed files with 0 additions and 7 deletions
|
@ -4,7 +4,6 @@ database_password = repo.vault.password_for(f'{node.name} db mailserver')
|
||||||
|
|
||||||
defaults = {
|
defaults = {
|
||||||
'mailserver': {
|
'mailserver': {
|
||||||
'debug': False,
|
|
||||||
'maildir': '/var/vmail',
|
'maildir': '/var/vmail',
|
||||||
'database': {
|
'database': {
|
||||||
'host': '127.0.0.1', # dont use localhost
|
'host': '127.0.0.1', # dont use localhost
|
||||||
|
|
|
@ -37,11 +37,6 @@ smtpd_tls_auth_only = yes
|
||||||
smtpd_tls_cert_file = /var/lib/dehydrated/certs/${hostname}/fullchain.pem
|
smtpd_tls_cert_file = /var/lib/dehydrated/certs/${hostname}/fullchain.pem
|
||||||
smtpd_tls_key_file = /var/lib/dehydrated/certs/${hostname}/privkey.pem
|
smtpd_tls_key_file = /var/lib/dehydrated/certs/${hostname}/privkey.pem
|
||||||
smtp_tls_security_level = may
|
smtp_tls_security_level = may
|
||||||
% if debug:
|
|
||||||
smtpd_tls_loglevel = 3
|
|
||||||
% endif
|
|
||||||
smtpd_tls_protocols = !SSLv2, !SSLv3, !TLSv1, !TLSv1.1
|
|
||||||
smtpd_tls_mandatory_protocols = !SSLv2, !SSLv3, !TLSv1, !TLSv1.1
|
|
||||||
|
|
||||||
smtpd_restriction_classes = mua_sender_restrictions, mua_client_restrictions, mua_helo_restrictions
|
smtpd_restriction_classes = mua_sender_restrictions, mua_client_restrictions, mua_helo_restrictions
|
||||||
mua_client_restrictions = permit_sasl_authenticated, reject
|
mua_client_restrictions = permit_sasl_authenticated, reject
|
||||||
|
|
|
@ -17,7 +17,6 @@ files = {
|
||||||
'content_type': 'mako',
|
'content_type': 'mako',
|
||||||
'context': {
|
'context': {
|
||||||
'hostname': node.metadata.get('mailserver/hostname'),
|
'hostname': node.metadata.get('mailserver/hostname'),
|
||||||
'debug': node.metadata.get('mailserver/debug')
|
|
||||||
},
|
},
|
||||||
**file_options,
|
**file_options,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue