[vchkpw] vadduser from perl script via sudo

2005-12-29 Thread jon
I have created a user registration script to create a new email account. 
The script is written in perl and call vadduser, I have added a sudo entry
to allow the webserver user to execute vadduser as root.  The script has
worked well for sometime but now receives the following error.  This error
is not raised when running vadduser from the command line.

Error: Unable to chdir to vpopmail/domains directory 64256

Thanks in advance


Re: [vchkpw] qmail-default incorrect behavior

2005-12-29 Thread Rick Macdougall

Darek Milewski wrote:
I'm not positive that this is a vpopmail issue, but am leaning more 
towards vpopmail than qmail.  Perhaps it is a known issue, but I haven't 
been able to get any decent search results for it.



And when I delete the .qmail-default file outright, accounts that don't 
have a .qmail file bounce mail destined for them, and work if the 
.qmail- file routes mail to their Maildir/


So overall, if the .qmail-defaul file is set to anything other than 
bounce or delete, accounts need a .qmail-user file to be able to receive 
mail.




Vpopmail requires a .qmail-default file to exist to function correctly.

If you delete the .qmail-default file, vdelivermail never gets called so 
you aren't using vpopmail anymore, just straight qmail.


Regards,

Rick


[vchkpw] qmail-default incorrect behavior

2005-12-29 Thread Darek Milewski
I'm not positive that this is a vpopmail issue, but am leaning more 
towards vpopmail than qmail.  Perhaps it is a known issue, but I haven't 
been able to get any decent search results for it.


When the .qmail-default file is set to bounce, mail for accounts with or 
without a .qmail-user file works fine.


But when I set a catchall account in the .qmail-default file, if an 
account doesn't have a .qmail-user file, messages destined for that 
account are sent to the catchall account.


And when I delete the .qmail-default file outright, accounts that don't 
have a .qmail file bounce mail destined for them, and work if the 
.qmail- file routes mail to their Maildir/


So overall, if the .qmail-defaul file is set to anything other than 
bounce or delete, accounts need a .qmail-user file to be able to receive 
mail.


I upgraded to the latest 5.4.13 version and observed the same behavior.

Has anyone seen this before?