[vchkpw] vpopmail + mysql. Basic question.
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
Re: [vchkpw] vpopmail + mysql. Basic question.
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
Re: [vchkpw] vpopmail + mysql. Basic question.
On Wednesday 26 February 2003 17:33, Brian Kolaci wrote: 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. well.. not really. vchkpw for example creates the maildir, if it's missing, and so does vdelivermail. so if you just want to _create_ users by adding them to the mysql table, this is just fine. just if you want to delete the users thas way, it will keep their Maildirs in place. -- Best Regards --- Justin Heesemannionium Technologies [EMAIL PROTECTED]www.ionium.org
Re: [vchkpw] vpopmail + mysql. Basic question.
On Wednesday 26 February 2003 22:29, Justin Heesemann wrote: On Wednesday 26 February 2003 17:33, Brian Kolaci wrote: 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. well.. not really. vchkpw for example creates the maildir, if it's missing, and so does vdelivermail. so if you just want to _create_ users by adding them to the mysql table, this is just fine. just if you want to delete the users thas way, it will keep their Maildirs in place. add: i don't know, when this was introduced.. i'm speaking of 5.3.18 here (but i think this was already in some earlier versions) -- Best Regards --- Justin Heesemannionium Technologies [EMAIL PROTECTED]www.ionium.org
Re: [vchkpw] vpopmail + mysql. Basic question.
On Wednesday 26 February 2003 17:33, Brian Kolaci wrote: 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. well.. not really. vchkpw for example creates the maildir, if it's missing, and so does vdelivermail. so if you just want to _create_ users by adding them to the mysql table, this is just fine. just if you want to delete the users thas way, it will keep their Maildirs in place. Didn't know the recovery code was there. That's great. I've had instances in my old version where it wouldn't deliver mail because the maildir was missing, but now that I think about it, I haven't seen that problem for awhile. Thanks, Brian