[Exim] 1 More PostgreSQL Item

Top Page
Delete this message
Reply to this message
Author: Jbbent Development
Date:  
To: exim-users
Subject: [Exim] 1 More PostgreSQL Item
Currently I have Exim setup to query a db file for all mail coming into the
server and it is working great.

The problem I am having is that I can not seem to get a query to run for
the domains.

Currently I have:
local_domains = lsearch;/etc/virtual/domains

I have tried both of the next 2:
local_domains = ${lookup pgsql{select domains.domain where
domains.domain='${domain}}{$value}}
local_domains = "pgsql;select domains.domain WHERE doamins.domain='$domain'"


And just get invalid domain errors on the server!!

What am I missing?

Thanks for the HELP!!!!

Brian