> "Brian Candler" <[EMAIL PROTECTED]> wrote on Wednesday, April 09, 2008 3:27 PM > > On Sat, Apr 05, 2008 at 12:19:03AM +0200, Marco Kammerer wrote: > > # AAA not working > > #MYSQL_AUXOPTIONS_FIELD > > CONCAT("disableimap=",IF($(service)='imaps',disableimaps,disableimap),",disa blepop3=",disablepop3,",disablewebmail=",disablewebmail) > ... > > the thing is that mysql gets in the line AAA the -> $(service) not as > > variable (imap or imaps), because i see it in the mysql.log > > According to the documentation in authmysqlrc, $(service) only expands > within MYSQL_SELECT_CLAUSE, not MYSQL_AUXOPTIONS_FIELD > > Since MYSQL_SELECT_CLAUSE is a superset of all the other functionality, you > should be able to rewrite your requirements as one big MYSQL_SELECT_CLAUSE > instead of using the other individual settings. > Thank you very much, Brian
Is there also a way to determine which IP Adress the Client has. I have now answer found regarding this question in any howto or manual. I want to get it working, that I can restrict imap access on a accounts basis (via mysql) to ip addresses. Marco ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Courier-imap mailing list Courier-imap@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap