Thanks! It help me to do what I want! 2007/12/14, Tom Collins <[EMAIL PROTECTED]>: > On Dec 14, 2007, at 5:04 AM, aledr wrote: > > What is the best way to create .qmail files automatically when adding > > the user with vadduser command? > > > > Should I create an script to add the users and then find its directory > > ('cause 0/user, 1/user...), or patch vpopmail.c? > > > You could use the onchange feature of the recent versions of > vpopmail. Vpopmail would call your script whenever a change > happened, your script could check for the "adduser" event, use the > vuserinfo -d command to get the directory, and then create the .qmail > file. > > -- > Tom Collins - [EMAIL PROTECTED] > Vpopmail - virtual domains for qmail: http://vpopmail.sf.net/ > QmailAdmin - web interface for Vpopmail: http://qmailadmin.sf.net/ > > > > > > -- [ ]'s Aledr - Alexandre "OpenSource Solutions for SmallBusiness Problems"
!DSPAM:4762d56132009018155475!