[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Virtual domains and several databases...

Hello Rodolfo,

This kind of functionality isn't provided by qmail-sql. You could however
modify the code a little: qmail-sql tries several databases until it finds
one which gives a 'correct' answer. If you change that to: 'correct answer
containing at least 1 record', you will have about the setup you want.
But then qmail-sql will posibly try a few non-relevant databases before
querying the correct one, which is probably unwanted.
I don't know about any imap or pop-daemon with this functionality.

Kind regards,
Michael Devogelaere.

On Thu, Jul 11, 2002 at 02:10:11AM -0500, Rodolfo Gonzalez wrote:
> Hello,
> I'm new to qmail+sql, and I find interesting the quota support and other 
> features. I'd like to know if it's possible to have a somehow "reversal 
> setup"?... I mean, to have several databases, each database corresponding 
> to one (or maybe more, but let's say, one) virtual domain. For example:
> domain1.com checks against db_domain1
> domain2.net checks against db_domain2
> domain2.org checks against db_domain2
> domain3.edu checks against db_domain3
> ... and so on.
> Is this possible?. (or, if not, could it be possible at some point, or
> does any IMAP server support this?, because if not, it'd be useless to try
> :) ).
> Thank you for your help.
> Rodolfo.