65-dkim.j2 539 Bytes
Newer Older
1 2 3 4 5 6
# {{ ansible_managed }}

# modify listen ports: 10022 for submission, 10024 or the rest
$inet_socket_port = [10022, 10024];

# definde policy for submission
7 8 9 10 11
$interface_policy{'10022'} = 'SUBMISSION';
$policy_bank{'SUBMISSION'} = {
    originating => 1,
    smtpd_discard_ehlo_keywords => ['8BITMIME']
};
12 13

# enable signing first, when keys are published
14
$enable_dkim_signing = {{ "1" if kolab_amavis_dkim_signing else "0" }};
15 16 17

# don't sign received headers. otherwise wallace will break the signature
$signed_header_fields{'received'} = 0;