I guess I could have rm'ed it instead. It was to demonstrate that if the directory doesn't exist, vchkpw does not create it. Likewise with vdelivermail.
I'm having a hard time following all of the code within vpopmail, and I'm not sure where what needs to be done to get vchkpw and vdelivermail to create the directory. -- Troy Settle Pulaski Networks 540.994.4254 - 866.477.5638 http://www.psknet.com ** -----Original Message----- ** From: Ken Jones [mailto:[EMAIL PROTECTED]] ** Sent: Wednesday, October 10, 2001 1:08 AM ** To: Troy Settle ** Cc: [EMAIL PROTECTED] ** Subject: RE: User Directories in 5.0 ** ** ** On Tue, 2001-10-09 at 18:30, Troy Settle wrote: ** > ** > vph.pw_ent is returned as '/var/vpopmail/domains/test.com/t/r/troy' ** > ** > When the directory exists: ** > ** > +OK <[EMAIL PROTECTED]> ** > user [EMAIL PROTECTED] ** > +OK ** > pass test ** > +OK ** > ** > # mv ~vpopmail/domains/test.com/t ~vpopmail/domains/test.com/foo ** ** Why are you doing this move? ** ** Ken Jones ** inter7.com ** ** > ** > +OK <[EMAIL PROTECTED]> ** > user [EMAIL PROTECTED] ** > +OK ** > pass test ** > -ERR authorization failed ** > ** > ** > In 4.8.5, there were calls to vmake_maildir() in both vchkpw.c and ** > vdelivermail.c, but not in 5.0, in fact, I can't find anything ** that calls ** > this function: ** > ** > # grep vmake *.c ** > vpopmail.c:int vmake_maildir(char *dir, uid_t uid, gid_t gid) ** > ** > ** > Thoughts? ** > ** > -- ** > Troy Settle ** > Pulaski Networks ** > 540.994.4254 - 866.477.5638 ** > http://www.psknet.com ** > ** > ** > ** -----Original Message----- ** > ** From: Ken Jones [mailto:[EMAIL PROTECTED]] ** > ** Sent: Tuesday, October 09, 2001 6:48 PM ** > ** To: Troy Settle ** > ** Cc: [EMAIL PROTECTED] ** > ** Subject: Re: User Directories in 5.0 ** > ** ** > ** ** > ** On Tue, 2001-10-09 at 17:09, Troy Settle wrote: ** > ** > ** > ** > In vpopmail 4.8.5 (what I'm currently using), vchkpw and ** > ** vdelivermail will ** > ** > create a user's directory if it doesn't already exist. ** > ** > ** > ** > Either I'm overlooking something, or this functionality has ** > ** been taken out ** > ** > of 5.0. Does this still exist, or will this be added back in, ** > ** or do I need ** > ** > to figure out a way to do this in my vauth.c? ** > ** ** > ** Worked for me. created user directories. ** > ** ** > ** Ken ** > ** ** > ** ** > ** > ** ** **