roarkh
Verified User
Hello,
I would like to temporarily allow Exim to only accept authenticated SMTP connections from a specific list of IP addresses. I am not an Exim expert so wanted to post my proposed solution here for feedback before modifying my config file.
In exim.conf under Edit #14 is this line...
Can I simply change that to something like...
and then simply create the file /etc/virtual/whitelist_auth_relay_hosts_ip, change it's ownership to mail and populate it with the IP addresses I want to accept authenticated connections from?
Is it really just that easy? Or am I missing something?
Thanks for any input anyone can provide.
I would like to temporarily allow Exim to only accept authenticated SMTP connections from a specific list of IP addresses. I am not an Exim expert so wanted to post my proposed solution here for feedback before modifying my config file.
In exim.conf under Edit #14 is this line...
Code:
hostlist auth_relay_hosts = *
Can I simply change that to something like...
Code:
hostlist auth_relay_hosts = /etc/virtual/whitelist_auth_relay_hosts_ip
and then simply create the file /etc/virtual/whitelist_auth_relay_hosts_ip, change it's ownership to mail and populate it with the IP addresses I want to accept authenticated connections from?
Is it really just that easy? Or am I missing something?
Thanks for any input anyone can provide.