RE: [vchkpw] Strange problem?

2003-05-14 Thread Nick Harring
Title: RE: [vchkpw] Strange problem?





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.

Thanks,


Nicholas Harring
System Administrator
Webley Systems, Inc
877-609-4795



>-Original Message-
>From: Tom Collins [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, May 14, 2003 9:46 AM
>To: [EMAIL PROTECTED]
>Subject: Re: [vchkpw] Strange problem?
>
>
>On Wednesday, May 14, 2003, at 12:21  AM, Wei Gao wrote:
>> Another question is: Do I had to run vadddomain command as root? I 
>> tried to
>> run it as vpopmail, looks like subfolder for domain been created, 
>> database
>> tables been created, but still report error. and vdominfo told me no 
>> domain
>> exists. So where does vpopmail store these virtual domain infomation 
>> except
>> in mysql database?
>
>You need to run it as root, since it modifies files in 
>/var/qmail/control/ and the file /var/qmail/users/assign in 
>addition to 
>creating the directory in ~vpopmail/domains/.
>
>--
>Tom Collins
>[EMAIL PROTECTED]
>
>





Re: [vchkpw] Strange problem?

2003-05-14 Thread Tom Collins
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]



[vchkpw] Strange problem?

2003-05-14 Thread Wei Gao
Hi, there.

I'm using qmail, vpopmail, courier-imap, mysql to building email system. All
of them are stable release version.

Now I got some problem:

1, qmail, vpopmail, courier-imap (qmail-pop3d), mysql, all of them work
fine.
2, I can send email to my virtual domain's user. and check the email from
imap and pop3 client.
3, I'm using Outlook Express as my email client (for both pop3 and imap)
4, My problem is: By using Outlook Express IMAP client, I can NOT create,
delete, subscribe or list any folders except INBOX. I do have "Root Folder
Path" set as "INBOX.". I tried to use telnet to connect to 143 port, and run
IMAP command directly, no problem. Just can not do these operations in
Outlook Express. Since I don't have other email client, I was not able to
test it with other email client.
5, I used to setup email system by qmail, courier-imap with system passwd
authorization without problem. So I'm think if it's vpopmail problem.

Another question is: Do I had to run vadddomain command as root? I tried to
run it as vpopmail, looks like subfolder for domain been created, database
tables been created, but still report error. and vdominfo told me no domain
exists. So where does vpopmail store these virtual domain infomation except
in mysql database?

Any comments, tips will be appreciate. Thanks

Noodle



RE: [vchkpw] Strange problem?

2003-05-14 Thread Nick Harring



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 
  AMTo: vpopmail listSubject: 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]