[Pkg-exim4-users] Obtaining Local Domains from a mysql database.

Neil Briscoe neil.briscoe at adelix.com
Tue Dec 12 21:04:00 CET 2006


Thanks Alex

Your explanation helped out a lot.  Whilst my definiton of local domains 
came from the normal place, the two routers and one transport I wrote 
worked beautifully.

My last stumbling block is trying to get my definition of local domains 
sorted.  The current line I have is

MAIN_LOCAL_DOMAINS = ${sg ${quote_mysql:${lookup mysql{select domain 
from transport}}}{\\n}{:}}

Which is supposed to select all the domains from the transport table, 
and substitute all the new line characters that quote_mysql is supposed 
to give me into colons.

I've tried several variations on this but needless to say I suffer an 
expansion failure when trying an exim4 -bt user at some.tld

I don't suppose either you, or anyone else would care to assist would you?

Regards
Neil

------------------------------------------------------------------------------------
Scanned for viruses, spam and offensive content by CensorNet MailSafe

Professional Web & E-mail Filtering from www.censornet.com



More information about the Pkg-exim4-users mailing list