RE: [Exim] ACL problem - semi-urgent

Etusivu
Poista viesti
Vastaa
Lähettäjä: Troy Settle
Päiväys:  
Vastaanottaja: exim-users
Aihe: RE: [Exim] ACL problem - semi-urgent

> -----Original Message-----
> From: exim-users-admin@???
> [mailto:exim-users-admin@exim.org] On Behalf Of William Thompson
> Sent: Monday, June 09, 2003 11:50 AM
> To: exim-users@???
> Subject: Re: [Exim] ACL problem - semi-urgent
>
>
> Please reply only to list.
>
> > I'm having an issue with the ACL for controlling host
> access. Here's
> > the relevent portions of my configuration.
> >
> > MYSQL_HOSTS = SELECT host FROM hosts WHERE status='allow'
> > hostlist relay_from_hosts = mysql;MYSQL_HOSTS
> > accept hosts = +relay_from_hosts
>
> This does not work. I've tried it myself.
>
> My work around was:
> hostlist relay_from_hosts = ${lookup
> mysql{MYSQL_HOSTS}{${sg{$value}{\\n}{ : }} }}
>


We have a winner. Thank you William, I do appreciate it.


--
Troy Settle
Pulaski Networks
http://www.psknet.com
540.994.4254 - 866.477.5638