relay for a specific host

jep

Verified User
Joined
Nov 12, 2003
Messages
79
Hi,

One of my clients wants to use exim on the webhosting server als smtp relay. I tried to play around with the hostlist host_accept_relay = 212.238.123.123 function, but that doesn't do the trick. It only relays for local domains.

He just wants to send it to his clients and I want to restrict it on ip-base. If possible without auth. :)

Thanks!
 
Hello,

Just add the incoming IP (eg 1.2.3.4) to the following line near the top of the /etc/exim.conf file:
Code:
hostlist relay_hosts = net-lsearch;/etc/virtual/pophosts : 127.0.0.1 : 1.2.3.4
John
 
And it works, again!

Now I'm ready to port my own platform to directadmin. ;)

Many thanks again!
 
Back
Top