Hi,
Anyone knows a way how to debug authdaemond? I would like to see the exact
query sent to mysql, because I believe $(service) is not replaced to
'esmtp', since my query is still not working...
Please give me a hint. My aim is to be able to ban specific users from using
smtp through server (smtp-auth).
Thanks,
Peter
-----Original Message-----
From: cour...@lists.sourceforge.net
[mailto:cour...@lists.sourceforge.net] On Behalf Of Kóczán
Péter
Sent: Tuesday, July 18, 2006 6:24 PM
To: cour...@lists.sourceforge.net
Subject: [courier-users] authmysql $(service)
Hi Everyone,
Could you give me a hint on using $(service) in MYSQL_WHERE_CLAUSE ?
I tried:
MYSQL_WHERE_CLAUSE ($(service)='esmtp' and smtp='1') or ($(service) !=
'esmtp)
I have an smtp column in my users table, which indicates if an user may or
may not send mail through smtp-auth. Am I getting something wrong, or
$(service) can only be used in MYSQL_SELECT_CLAUSE ?
If I start authdaemond with the configuration above, it simply gives io
error (actually pop3d).
I use authlib 0.58 and courier 0.53.2
Thanks in advance,