Re: [vchkpw] Bug (feature) in MySQL select

2002-10-15 Thread Ken Jones
I'm pretty sure that all the vpopmail functions validate user names as well as domain names. Please see the two functions: is_domain_valid ( char *domainname ) is_username_valid( char *username) The both return error codes if not valid. [root@newdevel bin]# ./vadduser "kbo @ken.com" test user i

[vchkpw] Bug (feature) in MySQL select

2002-10-15 Thread tonix (Antonio Nati)
I've received a message for "user @mydomain.it", and vpopmail routine validating addresses has let this wrong address pass. I've found that when you make a SELECT * FROM VPOPMAIL WHERE pw_name = "user " it's exactly like SELECT * FROM VPOPMAIL WHERE pw_name = "user" This is a