Commit b9312d05 authored by Wágner Ferenc's avatar Wágner Ferenc
Browse files

Let Exim listen on outside connections

But accept local recipients from local (not TCP/IP) and loopback SMTP
connections only.
parent 07176cf8
......@@ -18,6 +18,7 @@
readhost: "{{ inventory_hostname }}"
smarthost: redirector.niif.hu
eximconfig_configtype: internet
local_interfaces: ""
when: not (ansible_check_mode and install_mailman is changed)
notify: Reload Exim
......
......@@ -717,9 +717,10 @@ acl_check_rcpt:
# Insist that any other recipient address that we accept is either in one of
# our local domains, or is in a domain for which we explicitly allow
# relaying. Any other domain is rejected as being unacceptable for relaying.
# Actually, don't even accept our local domains except for the Mailman ones.
require
message = relay not permitted
domains = +local_domains : +relay_to_domains
domains = +mm_domains : +relay_to_domains
# We also require all accepted addresses to be verifiable. This check will
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment