Jos Chrispijn wrote:
Odhiambo WASHINGTON:
Use a database and create an imap_enable field that is 1 if enabled and 0 if disabled and use this condition in the query.
Actually I am suggesting to let go SQL only for that and do it with a simple, plain text solution from within the configuration file. That can't be that difficult can it? It Postfix can do stuff with sender_checks and client_checks why using a database for a simple 0 or 1 :-)
Actually, I'd suggest that forcing people to use a database in this instance is a good idea. Have you any idea how terribly the solution you proposed will scale? Imagine having 1000 users with that kind of configuration file...
-- Jasper Bryant-Greene Director Album Limited
jasper@albumltd.co.nz +64 21 708 334 / 0800 425 286 http://www.albumltd.co.nz/