On Sat, Jul 28, 2001 at 11:20:37AM -0400, Philip Mak wrote:
[snip]
> I'm also considering putting in my .qmail-default file:
> 
> |forward `database-lookup $RECIPIENT`
> 
> where database-lookup is a simple C program that connects to MySQL, looks
> up the recipient in the database, and prints it to standard output.

<shameless plug>
You may want to look at dteq (www.dataloss.nl/software/dteq/) in that
case, which is a commandline mysql query tool
</shameless plug>

However, using `` allows you no way to detect errors in the query. If
the mysqld is down, where does the mail go?

Greetz, Peter
-- 
Against Free Sex!   http://www.dataloss.nl/Megahard_en.html

Reply via email to