diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2016-07-10 05:13:33 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2016-07-10 05:14:29 +0200 |
commit | bf960a066466d7719ada8fe7bc3dec99d237b88a (patch) | |
tree | 5a66a7bbdc5dcf30efdfc50215e86d05cf112e46 /roles/common/templates/etc/postfix/master.cf.j2 | |
parent | d6ff0c078e6d70e50c888e016a8a8b9b0d8d7782 (diff) |
Route all internal SMTP traffic through IPsec.
Diffstat (limited to 'roles/common/templates/etc/postfix/master.cf.j2')
-rw-r--r-- | roles/common/templates/etc/postfix/master.cf.j2 | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/roles/common/templates/etc/postfix/master.cf.j2 b/roles/common/templates/etc/postfix/master.cf.j2 index 9a07dfd..c2ee395 100644 --- a/roles/common/templates/etc/postfix/master.cf.j2 +++ b/roles/common/templates/etc/postfix/master.cf.j2 @@ -23,8 +23,7 @@ cleanup_nochroot unix n - n - 0 cleanup {{ postfix_instance.MSA.port }} inet n - - - - smtpd -o tls_high_cipherlist=EECDH+AESGCM:!MEDIUM:!LOW:!EXP:!aNULL:!eNULL {% elif inst in ['IMAP', 'out', 'lists'] %} -{{ postfix_instance[inst].port }} inet n - - - - smtpd - -o tls_high_cipherlist=HIGH:!aNULL:!eNULL:!3DES:!MD5:@STRENGTH +[{{ postfix_instance[inst].addr }}]:{{ postfix_instance[inst].port }} inet n - - - - smtpd {% endif %} pickup fifo n - - 60 1 pickup cleanup unix n - - - 0 cleanup |