[EXIM] include sender_hosts_accept_relay from file?

Etusivu
Poista viesti
Vastaa
Lähettäjä: Peter J Naylor
Päiväys:  
Vastaanottaja: exim-users
Aihe: [EXIM] include sender_hosts_accept_relay from file?

Well, I've tried a bunch of different things and gone through the manual
over and over, but can't find a solution to this. What I want to do is
something like:

sender_net_accept_relay = /opt/exim/conf/relay.nets.yes
sender_host_accept_relay = /opt/exim/conf/relay.hosts.yes
sender_net_reject_relay = /opt/exim/conf/relay.nets.no
sender_host_reject_relay = /opt/exim/conf/relay.hosts.no

That is, get complete control over hosts/nets the machine will relay for,
from external flat files. It works for the *_net_* options, but not for
the *_host_* stuff (weird - why is that?). I tried using:

sender_host_accept_relay = lsearch;/opt/exim/conf/relay.hosts.yes

That doesn't work either :-/

Can someone give me a working specifier and an acceptable format for the
matching flat file? Much thanks,

/*-------------------------------------------------------------*
 * Peter James Naylor ## SysAdmin, Supernal Technologies, Inc. *
 *-------------------------------------------------------------*
       * pete@??? ## <http://www.supernal.net> *
       *------------------------------------------------*/



--
*** Exim information can be found at http://www.exim.org/ ***