Re: [Postfixadmin-devel] postfixadmin-devel@lists.sourceforge.net
Brought to you by:
christian_boltz,
gingerdog
From: MailingLists <mai...@st...> - 2008-07-20 21:43:02
|
Benny Pedersen wrote: > On Sun, July 20, 2008 18:44, MailingLists wrote: > > >> @lookup_sql_dsn = ( >> ['DBI:mysql:database=postfixadmin;host=127.0.0.1;port=3306', >> 'postfixadm', >> 'aaaaaaaa']); >> >> $sql_select_policy = 'SELECT domain FROM domain WHERE CONCAT("@",domain) >> IN (%k)'; >> > > this is not currently supported :( > > http://www.ijs.si/software/amavisd/README.sql-mysql.txt > > thats the sql setup for amavisd, and we both need it :-) > > >> Example data follows: >> > > i had something in my mind with this olso so users can select from presets > like this in postfixadmin, and domain owner can add new presets if one > like it, olso maybe if domain owner permit it make it possible for user to > custom policy it in amavisd > > if i was better php coder this was done now :/ > > but dont add amavisd tables to postfix admin, it will fail in the long run > > make a postfix admin sql cluase that uses amavisd sql data and modify it > > then its portable code and can be used longer then my life > > just my 2 cent, eh @ :-) > > Hey, Thank you for the swift informative reply! :) Can you explain a little more as I don't code and am not very good with SQL ? Thanks again. Dusty. |