Add another smtpserver to exim whitelist

martinostlund

Verified User
Joined
Feb 10, 2011
Messages
13
Hello,

I whish to add an smtp server to be able to relay through my DirectAdmin exim server.
What should be changed in exim.conf, or do I add the ip/hostname to one of the "whitelist" files in /etc/virtual ?

Regards
Martin
 
Hello

Update

Code:
hostlist relay_hosts = net-lsearch;/etc/virtual/pophosts : 127.0.0.1

to fit your needs. You might need to visit official exim website in order to get details or documentations.
 
If I recall correctly, it's a colon delimited lists, so this should work:
Code:
hostlist relay_hosts = net-lsearch;/etc/virtual/pophosts : 127.0.0.1 : 1.2.3.4
where 1.2.3.4 is replaced by the real IP. You can add more, colon separated.

Please try it and let us know.

Jeff
 
Back
Top