using vadduser not only adds the row to the table, but creates the directory structure for vdelivermail to put mail into. It also encrypts the password field. So you should either use the vadduser program or the vpopmail vadduser() API routine.
Brian > Sorry for the basic question but i can't figure how they work together. > > If i add a vpopmail user ( ~vpopmail/bin/vadduser [EMAIL PROTECTED] ), it will > saved in mysql db. All right. > > But if i add a mysql record will it added to vpopmail users? > What's about fields like pw_passwd? > > Tnx in advance. > > -- > cris >