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 MySQL feature.

All select should be modified to use "like binary" instead of "=" in their 
string comparison.
         I.e.
         SELECT * FROM VPOPMAIL WHERE pw_name LIKE BINARY "user "
         does return 0 lines.

Tonino



------------------------------------------------------------
         Inter@zioni            Interazioni di Antonio Nati
    http://www.interazioni.it      [EMAIL PROTECTED]
------------------------------------------------------------


Reply via email to