[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [tpop3d-discuss]MySQL and dots before the @ sign
From: |
David Mitchell |
Subject: |
Re: [tpop3d-discuss]MySQL and dots before the @ sign |
Date: |
Tue, 27 Jul 2004 10:20:18 +1000 |
----- Original Message -----
From: "address@hidden" <address@hidden>
Sent: Tuesday, July 27, 2004 6:24 AM
*snip*
> auth-mysql-enable: true
> auth-mysql-mail-group: postfix
> auth-mysql-database: database
> auth-mysql-username: username
> auth-mysql-password: password
>
>
> This is the select statement:
>
> mysql> select * from popbox where domain_name="efbs.net" and
> local_part="b.t";
>
+-------------+------------+---------------------------------+------------+
> | domain_name | local_part |password_hash | mbox_name
|
>
+-------------+------------+---------------------------------+------------+
> | efbs.net | b.t |598d4c200461b81522a3328565c25f7c |
address@hidden
>
+-------------+------------+---------------------------------+------------+
> 1 row in set (0.00 sec)
*snip*
Looks OK, but what do you have set for the auth-mysql-pass-query option in
the conf file? Your problem may be quoting in the SELECT statement - MySQL
will interpret WHERE local_part=b.t and WHERE local_part="b.t" differently.
I use single quotes in mine (WHERE USERNAME='$(user)') but I think double
quotes are interpreted the same way by MySQL.
Cheers,
Dave
- [tpop3d-discuss]MySQL and dots before the @ sign, address@hidden, 2004/07/26
- Re: [tpop3d-discuss]MySQL and dots before the @ sign, Jakob Hirsch, 2004/07/26
- AW: [tpop3d-discuss]MySQL and dots before the @ sign, address@hidden, 2004/07/26
- Re: AW: [tpop3d-discuss]MySQL and dots before the @ sign, Jakob Hirsch, 2004/07/27
- AW: AW: [tpop3d-discuss]MySQL and dots before the @ sign, address@hidden, 2004/07/27
- Re: AW: AW: [tpop3d-discuss]MySQL and dots before the @ sign, Jakob Hirsch, 2004/07/27
- AW: AW: AW: [tpop3d-discuss]MySQL and dots before the @ sign, address@hidden, 2004/07/27
- Re: AW: AW: AW: [tpop3d-discuss]MySQL and dots before the @ sign, Jakob Hirsch, 2004/07/27
- AW: AW: AW: [tpop3d-discuss]MySQL and dots before the @ sign II, address@hidden, 2004/07/27
- Re: AW: AW: AW: [tpop3d-discuss]MySQL and dots before the @ sign II, Jakob Hirsch, 2004/07/27
Re: [tpop3d-discuss]MySQL and dots before the @ sign, Kevin Bonner, 2004/07/26