Nevermind, just noticed this is fixed in 5.4.7.



From: Nick Harring [mailto:[EMAIL PROTECTED]
Sent: Monday, April 04, 2005 3:51 PM
Subject: [vchkpw] Max username length


In vpopmail.h MAX_PW_NAME is defined as 32, and the mysql column for pw_name is a varchar(32). This would lead me to believe it was intended to support up to 32 character usernames. However vadduser in vpopmail.c does:

If( strlen(username) >= MAX_PW_NAME ) rather than if( strlen(username) > MAX_PW_NAME).

Is this intentional, and if so then why is the mysql column defined the way it is?





Nicholas Harring

Ph/Fax/VM 877-609-4795

Sr. System Administrator

Parus Interactive


Reply via email to