diff --git a/playbooks/roles/send_only_mail_server/templates/etc_smtpd.conf.j2 b/playbooks/roles/send_only_mail_server/templates/etc_smtpd.conf.j2 index 21e129d..d148fc2 100644 --- a/playbooks/roles/send_only_mail_server/templates/etc_smtpd.conf.j2 +++ b/playbooks/roles/send_only_mail_server/templates/etc_smtpd.conf.j2 @@ -6,9 +6,9 @@ pki {{ send_only_mail_server__mail_server_fqdn }} key "/etc/ansible_certs/certs/ filter "rspamd-dkim-signing" proc-exec "filter-rspamd -settings-id dkim_signing" -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" +listen on lo +listen on eth0 smtps pki {{ send_only_mail_server__mail_server_fqdn }} auth filter "rspamd-dkim-signing" +listen on eth0 tls-require pki {{ send_only_mail_server__mail_server_fqdn }} auth filter "rspamd-dkim-signing" action "outbound" relay helo {{ send_only_mail_server__mail_server_fqdn }}