There may be easier ways, and I am by no means either familar with or really even used vpopmail. BUT, in the vpopmail.c source file, you will see this in a function called make_user_dir():
if (mkdir("new",VPOPMAIL_DIR_MODE) == -1) { chdir(tmpbuf); free(tmpbuf); free(tmpdir); printf("make_user_dir: error 6\n"); return(NULL); } if (mkdir("tmp",VPOPMAIL_DIR_MODE) == -1) { chdir(tmpbuf); free(tmpbuf); free(tmpdir); printf("make_user_dir: error 7\n"); return(NULL); } if you were to add your own dir in here and recompile, it should work... Matt Wade ----- Original Message ----- From: "Jose Morales" <[EMAIL PROTECTED]> To: "VpopMail-List" <[EMAIL PROTECTED]> Sent: Tuesday, August 20, 2002 6:30 PM Subject: [vchkpw] how auto create folder > Hello list... > the question.... > How can I tell to vpopmail that every time I add a > new user create the folder .JunkMail with their > respectiv sub-folders: new, cur and tmp??? > > > Best regards. > > __________________________________________________ > Do You Yahoo!? > HotJobs - Search Thousands of New Jobs > http://www.hotjobs.com >