2023-05-09 23:01:57 +02:00
|
|
|
# Managed by Ansible.
|
|
|
|
# This configuration enables sending emails using this server, but to not receiving any.
|
|
|
|
|
|
|
|
pki {{ send_only_mail_server__mail_server_fqdn }} cert "/etc/ansible_certs/certs/{{ send_only_mail_server__mail_server_fqdn }}/fullchain.pem"
|
|
|
|
pki {{ send_only_mail_server__mail_server_fqdn }} key "/etc/ansible_certs/certs/{{ send_only_mail_server__mail_server_fqdn }}/privkey.pem"
|
|
|
|
|
|
|
|
filter "rspamd-dkim-signing" proc-exec "filter-rspamd -settings-id dkim_signing"
|
|
|
|
|
2023-09-25 03:03:14 +02:00
|
|
|
listen on 127.0.0.1
|
|
|
|
listen on 0.0.0.0 smtps pki {{ send_only_mail_server__mail_server_fqdn }} auth filter "rspamd-dkim-signing"
|
|
|
|
listen on 0.0.0.0 tls-require pki {{ send_only_mail_server__mail_server_fqdn }} auth filter "rspamd-dkim-signing"
|
2023-05-09 23:01:57 +02:00
|
|
|
|
|
|
|
action "outbound" relay helo {{ send_only_mail_server__mail_server_fqdn }}
|
|
|
|
|
|
|
|
match from any auth for any action "outbound"
|