After making those changes, and additionally adding /var/qmail/users and /var/qmail/control to group writeable, group vchkpw, I now get domain does not exist errors. Strace indicates that it wrote all of the files, however one problem is that it resets the mode to 644 in each place. The other problem is that it now returns with a "Domain does not exist" error instead of simply segfaulting.
I can provide the complete strace if anyone is interested.
Thanks,
Nicholas Harring
System Administrator
Webley Systems, Inc
877-609-4795
-----Original Message-----
From: Tom Collins [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 14, 2003 10:28 AM
To: vpopmail list
Subject: Re: [vchkpw] Strange problem?

On Wednesday, May 14, 2003, at 07:59 AM, Nick Harring wrote:

Is there a way around this limitation by modifying permissions on the affected files in /var/qmail/control and /var/qmail/users? The setup I run doesn't allow root access to the vpopmail/domains directory, and so I'd like to be able to add domains as vpopmail rather than remounting my NFS vpopmail/domains directory each time I need to add/remove a domain.


Try this -- no guarantees that it will work.


Make the following files group writable and change the group to vchkpw:


/var/qmail/control/virtualdomains

/var/qmail/control/virtualdomains.lock

/var/qmail/control/morercpthosts

/var/qmail/control/morercpthosts.cdb

/var/qmail/control/morercpthosts.lock

/var/qmail/control/rcpthosts

/var/qmail/control/rcpthosts.lock

/var/qmail/users/assign

/var/qmail/users/assign.lock

/var/qmail/users/cdb


I think that covers all of the files that could be modified by the vpopmail programs.


--

Tom Collins

[EMAIL PROTECTED]


Reply via email to