> Von: Rodrigo Severo [mailto:[EMAIL PROTECTED]
> Gesendet: Dienstag, 4. November 2003 17:39
> Cc: [EMAIL PROTECTED]
> Betreff: Re: [courier-users] authmysqlrc + MYSQL_SELECT_CLAUSE
> 
> 
> ""B�rkle wrote:
> 
> >Hi @ll,
> >
> >i tried to activate the MYSQL_SELECT_CLAUSE in the 
> authmysqlrc, but it didnt
> >work. With the standard-parameters everthing works fine, but with the
> >cutom-select not. In the mysql.log i see, that courier get a 
> connect, but no
> >query is sent afterwards.
> >
> >At least for me, the sql-query looks correct, so please help 
> me, what else
> >could be wrong?
> >
> >--snip--
> >System: Debian stable, 
> >tank:~# dpkg -l |grep courier
> >ii  courier-authda 0.37.3-2.3     Courier Mail Server 
> authentication daemon
> >  
> >
> I would try a newer version. I am using authmysqlrc with 
> MYSQL_SELECT_CLAUSE activated over Courier 0.42.2 and it's 
> working fine.
> 

I updated to version:

tank:~# dpkg -l|grep cour
ii  courier-authda 0.42.2-7       Courier Mail Server - Authentication
daemon
ii  courier-authmy 0.42.2-7       Courier Mail Server - MySQL authentication
ii  courier-base   0.42.2-7       Courier Mail Server - Base system
ii  courier-imap   1.7.3-7        Courier Mail Server - IMAP daemon
ii  courier-imap-s 1.7.3-7        Courier Mail Server - IMAP over SSL
ii  courier-maildr 0.42.2-7       Courier Mail Server - Mail delivery agent
ii  courier-mta    0.42.2-7       Courier Mail Server - ESMTP daemon
ii  courier-mta-ss 0.42.2-7       Courier Mail Server - ESMTP over SSL
ii  courier-pop    0.42.2-7       Courier Mail Server - POP3 daemon
ii  courier-pop-ss 0.42.2-7       Courier Mail Server - POP3 over SSL
ii  courier-ssl    0.42.2-7       Courier Mail Server - SSL/TLS Support

and the following authmysqlrc:

# be used to do a SELECT operation on database, which should return fields
# in order specified bellow:
#
# username, cryptpw, clearpw, uid, gid, home, maildir, quota, fullname

MYSQL_SELECT_CLAUSE     SELECT id, crypt, passwd, uid, gid, home, '',
quota_size, '' from user where id = '$(local_part)'


----
I mentioned a difference in the order of the parameters from 0.37. to 0.42.

0.37:
# username, cryptpw, uid, gid, clearpw, home, maildir, quota, fullname
#

0.42:
#
# username, cryptpw, clearpw, uid, gid, home, maildir, quota, fullname

I tried with both combinations, it just won't work !!
----

Rodrigo, could you please post your authmysqlrc?

Many thanx in advance

Roman B�rkle







-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to