groups/{gce,home}: send mail via mx0.kunbox.net
All checks were successful
bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2020-11-11 13:29:22 +01:00
parent 11701a67c8
commit 087f4bb74d
Signed by: kunsi
GPG key ID: 12E3D2136B818350
4 changed files with 20 additions and 1 deletions

View file

@ -13,6 +13,10 @@ inet_protocols = all
message_size_limit = ${node.metadata.get('postfix', {}).get('message_size_limit_mb', 10)*1024*1024}
alias_database = hash:/etc/aliases
% if 'relayhost' in node.metadata.get('postfix', {}):
relayhost = ${node.metadata['postfix']['relayhost']}
% endif
% if node.has_bundle('postfixadmin'):
inet_interfaces = all
% else:

View file

@ -5,6 +5,8 @@
% if node.has_bundle('postfixadmin'):
smtp inet n - y - 1 postscreen
-o smtpd_sasl_auth_enable=no
2525 inet n - y - 1 postscreen
-o smtpd_sasl_auth_enable=no
% else:
smtp inet n - y - 1 smtpd
% endif