On Apr 29, 2004, at 7:04 PM, Sean Plaice wrote:
2) Change the evaluation in vadddomain() to use MAX_PW_DIR instead of
MAX_PW_DOMAIN.

Thanks for finding that. You are correct.


--- vpopmail.c 4 Mar 2004 05:17:54 -0000 1.28.2.1
+++ vpopmail.c 30 Apr 2004 03:49:42 -0000
@@ -174,7 +174,7 @@
* We dont want to start creating dirs and putting entries in
* the assign file etc if the path is going to be too long
*/
- if (strlen(dir)+strlen(DOMAINS_DIR)+strlen(DomainSubDir) >= MAX_PW_DOMAIN) {
+ if (strlen(dir)+strlen(DOMAINS_DIR)+strlen(DomainSubDir) >= MAX_PW_DIR) {
/* back out of changes made so far */
dec_dir_control(dir_control_for_uid, uid, gid);
chdir(calling_dir);


In CVS, will be in the next 5.4 release.

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/



Reply via email to