atom feed7 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Can I do this?
FromSent OnAttachments
Lindsay HaisleyMar 30, 2002 11:16 am 
Lindsay HaisleyMar 30, 2002 12:25 pm 
Sam VarshavchikMar 30, 2002 1:38 pm 
Lindsay HaisleyMar 30, 2002 2:21 pm 
Lindsay HaisleyMar 30, 2002 2:49 pm 
Sam VarshavchikMar 30, 2002 4:03 pm 
Elian KoolApr 1, 2002 12:51 pm 
Subject:Re: [courier-users] Can I do this?
From:Lindsay Haisley (fmo@fmp.com)
Date:Mar 30, 2002 12:25:11 pm
List:net.sourceforge.lists.courier-users

Could I, for instance, include a domain_name field in the mysql passwd table and set up MYSQL_SELECT_CLAUSE to be something like

select id,crypt,uid,gid,clear,home,maildir,quota,name from passwd where id="$(local_part)" and domain_name="$(domain)"

Well I tried this, and rcpt to: for _any_ address on the server (even those otherwise authenticated via authpam) returns "450 Service temporarily unavailable." If I comment out MYSQL_SELECT_CLAUSE it works. From the mysql.log it looks as if the query isn't even being run.