There is one more approach which you can follow :-
First create two files which contain the list of all the IP addresses which are allowed and the list of all the domains which are allowed. Name them as IPfilter and Domainfilter respectively. Now open the exim.conf file and add the following code :-
Code:
hostlist filter_hosts = net-lsearch;/etc/IPfilter : net-lsearch;/etc/relayhosts
domainlist filter_domains = lsearch;/etc/Domainfilter
Once done save the configuration file and see if it is working.
Bookmarks