Fix smtpd.conf. listen on 127.0.0.1 and 0.0.0.0 doesn't work

This commit is contained in:
June 2023-09-25 20:12:13 +02:00 committed by julian
parent 718b6906c5
commit ce75ba0f70

View file

@ -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" filter "rspamd-dkim-signing" proc-exec "filter-rspamd -settings-id dkim_signing"
listen on 127.0.0.1 listen on lo
listen on 0.0.0.0 smtps pki {{ send_only_mail_server__mail_server_fqdn }} auth filter "rspamd-dkim-signing" listen on eth0 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 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 }} action "outbound" relay helo {{ send_only_mail_server__mail_server_fqdn }}