[vchkpw] Username length in vchkpw/vpopmail
Hi, it seems that (at least with version 5.4.17) the username length with mysql authentication has been limited to 32 characters and the domain part to 64 characters; vpopmail.pw_name char(32), vpopmail.pw_domain(64), valias.alias char(32), valias.domain char(64). The SMTP RFC allows for a local-name part of an email address to be 64 characters and domain to be 255 characters long. Has this been addressed in later versions of vpopmail, and can it safely be fixed by altering these table fields to have corresponding longer lengths? ie. does it break something in vchkpw (or qmailadmin)? Found some references on the list mentioning limits in vpopmail.h: #define MAX_PW_NAME 32 #define MAX_PW_DOMAIN 64 Are these still valid and therefore require changes to the code and recompilation in order to conform with the RFC? Cheers, Antti Kanes, Innoventum !DSPAM:48f32b1532314550744776!
Re: [vchkpw] Username length in vchkpw/vpopmail
Il Monday 13 October 2008 13:03:45 Antti Kanes ha scritto: Hi, it seems that (at least with version 5.4.17) the username length with mysql authentication has been limited to 32 characters and the domain part to 64 characters; vpopmail.pw_name char(32), vpopmail.pw_domain(64), valias.alias char(32), valias.domain char(64). The SMTP RFC allows for a local-name part of an email address to be 64 characters and domain to be 255 characters long. Has this been addressed in later versions of vpopmail, and can it safely be fixed by altering these table fields to have corresponding longer lengths? ie. does it break something in vchkpw (or qmailadmin)? Found some references on the list mentioning limits in vpopmail.h: #define MAX_PW_NAME 32 #define MAX_PW_DOMAIN 64 Are these still valid and therefore require changes to the code and recompilation in order to conform with the RFC? This problem is solved. Upgrade to 5.4.18 and/or read the UPGRADE file of 5.4.18. Ciao -- Alessio Cecchi is: @ ILS - http://www.linux.it/~alessice/ Assistenza Sistemi GNU/Linux - http://www.cecchi.biz/ @ PLUG - ex-Presidente, adesso senatore a vita, http://www.prato.linux.it @ LOLUG - neo-Socio http://www.lolug.net !DSPAM:48f32cc432311148314093!