Re: [vchkpw] Re: Permissions problem on /home/vpopmail after re-compile

2003-09-23 Thread matt





  - Original Message - 
  From: 
  X-Istence 
  Cc: [EMAIL PROTECTED] 
  Sent: Monday, September 22, 2003 8:00 
  PM
  Subject: Re: [vchkpw] Re: Permissions 
  problem on /home/vpopmail after re-compile
  [EMAIL PROTECTED] wrote:
  snip Hi again,

Any further update / info / suggestions / requests on this topic ?

The only advice I have had so far is a request for the output of  ls -la
/home/vpopmail/domains which is in this post.

I am now getting very lost.

Thanks,

Matt.

  
  I dont know if you can read or not, but PLEASE copy and paste this. 
  Thanks :)ls -al 
  /home/vpopmailthat is without the "/domain" 
  on the end
  

  
  Sorry - simple missread
  
  [EMAIL PROTECTED] /home/vpopmail]# ls -latotal 
  32drwxr-xr-x 8 vpopmail 
  vchkpw 4096 Sep 23 09:27 
  .drwxr-xr-x 12 root 
  root 4096 Sep 16 20:36 
  ..drwxr-xr-x 2 vpopmail 
  vchkpw 4096 Sep 10 20:21 
  bindrwxr-xr-x 4 vpopmail 
  vchkpw 4096 Apr 14 18:00 
  docdrwx-- 11 vpopmail 
  vchkpw 4096 Sep 22 20:31 
  domainsdrwxr-xr-x 2 vpopmail 
  vchkpw 4096 Sep 16 15:46 
  etcdrwxr-xr-x 2 vpopmail 
  vchkpw 4096 Aug 27 22:27 
  includedrwx-- 2 root 
  vchkpw 4096 Apr 14 18:00 
  lib
  
  all looks good a normal to me.
  
  Thanks,
  
  Matt.
  
  


Re: [vchkpw] Re: Permissions problem on /home/vpopmail after re-compile

2003-09-23 Thread X-Istence




[EMAIL PROTECTED] wrote:

  
  
  
  
  
  
-
Original Message - 
From:
X-Istence 
Cc:
[EMAIL PROTECTED]

Sent:
Monday, September 22, 2003 8:00 PM
Subject:
Re: [vchkpw] Re: Permissions problem on /home/vpopmail after re-compile


[EMAIL PROTECTED] wrote:
snip
  Hi again,

Any further update / info / suggestions / requests on this topic ?

The only advice I have had so far is a request for the output of  ls -la
/home/vpopmail/domains which is in this post.

I am now getting very lost.

Thanks,

Matt.

  


I dont know if you can read or not, but PLEASE copy and paste this.
Thanks :)

ls -al /home/vpopmail

that is without the "/domain" on the end

  
  

Sorry - simple missread

[EMAIL PROTECTED] /home/vpopmail]# ls
-la
total 32
drwxr-xr-x 8 vpopmail vchkpw 4096 Sep 23 09:27 .
drwxr-xr-x 12 root root 4096 Sep 16 20:36 ..
drwxr-xr-x 2 vpopmail vchkpw 4096 Sep 10 20:21 bin
drwxr-xr-x 4 vpopmail vchkpw 4096 Apr 14 18:00 doc
drwx-- 11 vpopmail vchkpw 4096 Sep 22 20:31 domains
drwxr-xr-x 2 vpopmail vchkpw 4096 Sep 16 15:46 etc
drwxr-xr-x 2 vpopmail vchkpw 4096 Aug 27 22:27 include
drwx-- 2 root vchkpw 4096 Apr 14 18:00 lib


all looks good a normal to me.

Thanks,

Matt.



  


Okay, so you are running the command vadddomain as root, and it says
permission errors, when your permissions look just fine. Did you try
tarring up your domains directory, removing it and then recreating it
with 700 permissions, and then trying again?




Re: [vchkpw] Re: Permissions problem on /home/vpopmail after re-compile

2003-09-22 Thread matt

- Original Message - 
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, September 21, 2003 6:42 PM
Subject: [vchkpw] Re: Permissions problem on /home/vpopmail after re-compile


  - Original Message - 
  From: [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Sunday, September 21, 2003 4:24 PM
  Subject: Permissions problem on /home/vpopmail after re-compile
 
 
   hi all,
  
   I have been having a qmailadmin problem for a while now, after playing
  with
   vpopmail I think I have got to the bottom. (quite a simple one when
you
  look
   at it properly)
  
   The initial problem was qmailadmin gave me the error could not open
 and
   that was it
  
   I rebuilt qmailadmin - I rebuilt vpopmail nothing seemed to work.
  
   However I tried to add a domain using the command line today as I
 decided
  to
   spend some proper time on this problem.
  
   I ran a ./vadddomain test.com
   typed in the password 2 times
   and got back Error: Could not open qmail default
  
   a quick search of bluedot.net revieled that qmail default is
  .qmail-default
   in the domain dir of the domain creating.
  
   so the problems is a simple permissions problem. Now comes to the
  confusing
   bit.
  
  
   All the domains bar inter7.com and hugo.com where created from the
first
   vpopmail install
  
   [EMAIL PROTECTED] /home/vpopmail/domains]# ls -la
   total 44
   drwx--   10 vpopmail vchkpw   4096 Sep 21 15:13 .
   drwxr-xr-x9 vpopmail vchkpw   4096 Sep 10 20:21 ..
   -rw-r--r--1 vpopmail vchkpw 34 Sep  9 10:12 .dir-control
   drwxr-x---3 vpopmail vchkpw   4096 Apr 23 13:24
 aspectevents.co.uk
   drwx--4 vpopmail vchkpw   4096 Jul 17 14:15 hacktek.co.uk
   drwx--2 vpopmail vchkpw   4096 Sep 21 15:06 hugo.com
   drwx--2 vpopmail vchkpw   4096 Sep 21 15:13 inter7.com
   drwxr-x---4 vpopmail vchkpw   4096 Sep 10 20:08 mdlan.co.uk
   drwxr-x---4 vpopmail vchkpw   4096 May 29 17:08
   parsonsmotorsport.co.uk
   drwxr-x---6 vpopmail vchkpw   4096 Apr 30 15:38
 projecthugo.co.uk
   drwxr-x---4 vpopmail vchkpw   4096 Apr 25 15:15
sfproject.co.uk
  
   As you can see the X permissions is missing from the group permissions
 on
   the 2 test domains created. So vpopmail is actually creating the
domains
   with the right user/group vpopmail:vchkpw (so the ./configure options
  appear
   to have worked)  yet it appears to have just forgot about the group
   permissions ???
  
   The group permissions at not a build time option ?? so why when I have
   rebuilt the same version of vpopmail with the same configure options
 does
  it
   simpley forget to apply group permissions. vadddomain creates the dir
 with
   the wrong group permissions so it can't create the .qmail-default
domain
   inside.
  
   Any suggestions as to why vpopmail is doing this ?
  
   (Thanks for the input on the qmailadmin list also some good advice -
the
   fact that I didn't get anywhere made me get my head down today)
  
  
   thanks,
  
   Matt.
 
 
  An interesting note is
 
  a.) vpopmail ./vadddomain causes the error
  b.) qmailadmin complains of an error cannot open dir
  c.) vqadmin does NOT complain of any error. It creates a dir with the
SAME
  permissions as the other none working domains (as though the group
  permissions had been forgot) but it manages to create the
.qmail-defaults
  file. This is very interesting as I understand it vqadmin simpley uses
  vadddomain - and if the permissions are correct with drwx-- and not
  drwxr-x why can vadddomain not create the .qmail-defaults file when it
  creates a domain.
 
  Thanks
 
  Matt.
 

Hi again,

Any further update / info / suggestions / requests on this topic ?

The only advice I have had so far is a request for the output of  ls -la
/home/vpopmail/domains which is in this post.

I am now getting very lost.

Thanks,

Matt.





Re: [vchkpw] Re: Permissions problem on /home/vpopmail after re-compile

2003-09-22 Thread X-Istence




[EMAIL PROTECTED] wrote:
snip
  
Hi again,

Any further update / info / suggestions / requests on this topic ?

The only advice I have had so far is a request for the output of  ls -la
/home/vpopmail/domains which is in this post.

I am now getting very lost.

Thanks,

Matt.

  


I dont know if you can read or not, but PLEASE copy and paste this.
Thanks :)

ls -al /home/vpopmail

that is without the "/domain" on the end




[vchkpw] Re: Permissions problem on /home/vpopmail after re-compile

2003-09-21 Thread matt
 - Original Message - 
 From: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Sunday, September 21, 2003 4:24 PM
 Subject: Permissions problem on /home/vpopmail after re-compile


  hi all,
 
  I have been having a qmailadmin problem for a while now, after playing
 with
  vpopmail I think I have got to the bottom. (quite a simple one when you
 look
  at it properly)
 
  The initial problem was qmailadmin gave me the error could not open
and
  that was it
 
  I rebuilt qmailadmin - I rebuilt vpopmail nothing seemed to work.
 
  However I tried to add a domain using the command line today as I
decided
 to
  spend some proper time on this problem.
 
  I ran a ./vadddomain test.com
  typed in the password 2 times
  and got back Error: Could not open qmail default
 
  a quick search of bluedot.net revieled that qmail default is
 .qmail-default
  in the domain dir of the domain creating.
 
  so the problems is a simple permissions problem. Now comes to the
 confusing
  bit.
 
 
  All the domains bar inter7.com and hugo.com where created from the first
  vpopmail install
 
  [EMAIL PROTECTED] /home/vpopmail/domains]# ls -la
  total 44
  drwx--   10 vpopmail vchkpw   4096 Sep 21 15:13 .
  drwxr-xr-x9 vpopmail vchkpw   4096 Sep 10 20:21 ..
  -rw-r--r--1 vpopmail vchkpw 34 Sep  9 10:12 .dir-control
  drwxr-x---3 vpopmail vchkpw   4096 Apr 23 13:24
aspectevents.co.uk
  drwx--4 vpopmail vchkpw   4096 Jul 17 14:15 hacktek.co.uk
  drwx--2 vpopmail vchkpw   4096 Sep 21 15:06 hugo.com
  drwx--2 vpopmail vchkpw   4096 Sep 21 15:13 inter7.com
  drwxr-x---4 vpopmail vchkpw   4096 Sep 10 20:08 mdlan.co.uk
  drwxr-x---4 vpopmail vchkpw   4096 May 29 17:08
  parsonsmotorsport.co.uk
  drwxr-x---6 vpopmail vchkpw   4096 Apr 30 15:38
projecthugo.co.uk
  drwxr-x---4 vpopmail vchkpw   4096 Apr 25 15:15 sfproject.co.uk
 
  As you can see the X permissions is missing from the group permissions
on
  the 2 test domains created. So vpopmail is actually creating the domains
  with the right user/group vpopmail:vchkpw (so the ./configure options
 appear
  to have worked)  yet it appears to have just forgot about the group
  permissions ???
 
  The group permissions at not a build time option ?? so why when I have
  rebuilt the same version of vpopmail with the same configure options
does
 it
  simpley forget to apply group permissions. vadddomain creates the dir
with
  the wrong group permissions so it can't create the .qmail-default domain
  inside.
 
  Any suggestions as to why vpopmail is doing this ?
 
  (Thanks for the input on the qmailadmin list also some good advice - the
  fact that I didn't get anywhere made me get my head down today)
 
 
  thanks,
 
  Matt.


 An interesting note is

 a.) vpopmail ./vadddomain causes the error
 b.) qmailadmin complains of an error cannot open dir
 c.) vqadmin does NOT complain of any error. It creates a dir with the SAME
 permissions as the other none working domains (as though the group
 permissions had been forgot) but it manages to create the .qmail-defaults
 file. This is very interesting as I understand it vqadmin simpley uses
 vadddomain - and if the permissions are correct with drwx-- and not
 drwxr-x why can vadddomain not create the .qmail-defaults file when it
 creates a domain.

 Thanks

 Matt.

 






Re: [vchkpw] Re: Permissions problem on /home/vpopmail after re-compile

2003-09-21 Thread X-Istence
[EMAIL PROTECTED] wrote:

- Original Message - 
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, September 21, 2003 4:24 PM
Subject: Permissions problem on /home/vpopmail after re-compile

   

hi all,

I have been having a qmailadmin problem for a while now, after playing
 

with
   

vpopmail I think I have got to the bottom. (quite a simple one when you
 

look
   

at it properly)

The initial problem was qmailadmin gave me the error could not open
 

and
 

that was it

I rebuilt qmailadmin - I rebuilt vpopmail nothing seemed to work.

However I tried to add a domain using the command line today as I
 

decided
 

to
   

spend some proper time on this problem.

I ran a ./vadddomain test.com
typed in the password 2 times
and got back Error: Could not open qmail default
a quick search of bluedot.net revieled that qmail default is
 

.qmail-default
   

in the domain dir of the domain creating.

so the problems is a simple permissions problem. Now comes to the
 

confusing
   

bit.

All the domains bar inter7.com and hugo.com where created from the first
vpopmail install
[EMAIL PROTECTED] /home/vpopmail/domains]# ls -la
total 44
drwx--   10 vpopmail vchkpw   4096 Sep 21 15:13 .
drwxr-xr-x9 vpopmail vchkpw   4096 Sep 10 20:21 ..
-rw-r--r--1 vpopmail vchkpw 34 Sep  9 10:12 .dir-control
drwxr-x---3 vpopmail vchkpw   4096 Apr 23 13:24
 

aspectevents.co.uk
 

drwx--4 vpopmail vchkpw   4096 Jul 17 14:15 hacktek.co.uk
drwx--2 vpopmail vchkpw   4096 Sep 21 15:06 hugo.com
drwx--2 vpopmail vchkpw   4096 Sep 21 15:13 inter7.com
drwxr-x---4 vpopmail vchkpw   4096 Sep 10 20:08 mdlan.co.uk
drwxr-x---4 vpopmail vchkpw   4096 May 29 17:08
parsonsmotorsport.co.uk
drwxr-x---6 vpopmail vchkpw   4096 Apr 30 15:38
 

projecthugo.co.uk
 

drwxr-x---4 vpopmail vchkpw   4096 Apr 25 15:15 sfproject.co.uk

As you can see the X permissions is missing from the group permissions
 

on
 

the 2 test domains created. So vpopmail is actually creating the domains
with the right user/group vpopmail:vchkpw (so the ./configure options
 

appear
   

to have worked)  yet it appears to have just forgot about the group
permissions ???
The group permissions at not a build time option ?? so why when I have
rebuilt the same version of vpopmail with the same configure options
 

does
 

it
   

simpley forget to apply group permissions. vadddomain creates the dir
 

with
 

the wrong group permissions so it can't create the .qmail-default domain
inside.
Any suggestions as to why vpopmail is doing this ?

(Thanks for the input on the qmailadmin list also some good advice - the
fact that I didn't get anywhere made me get my head down today)
thanks,

Matt.
 

An interesting note is

a.) vpopmail ./vadddomain causes the error
b.) qmailadmin complains of an error cannot open dir
c.) vqadmin does NOT complain of any error. It creates a dir with the SAME
permissions as the other none working domains (as though the group
permissions had been forgot) but it manages to create the .qmail-defaults
file. This is very interesting as I understand it vqadmin simpley uses
vadddomain - and if the permissions are correct with drwx-- and not
drwxr-x why can vadddomain not create the .qmail-defaults file when it
creates a domain.
Thanks

Matt.

   







 

Please post a ls -al of /home/vpopmail/




Re: [vchkpw] Re: Permissions problem on /home/vpopmail after re-compile

2003-09-21 Thread matt

- Original Message - 
From: X-Istence [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, September 21, 2003 7:46 PM
Subject: Re: [vchkpw] Re: Permissions problem on /home/vpopmail after
re-compile


 [EMAIL PROTECTED] wrote:

 - Original Message - 
 From: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Sunday, September 21, 2003 4:24 PM
 Subject: Permissions problem on /home/vpopmail after re-compile
 
 
 
 
 hi all,
 
 I have been having a qmailadmin problem for a while now, after playing
 
 
 with
 
 
 vpopmail I think I have got to the bottom. (quite a simple one when you
 
 
 look
 
 
 at it properly)
 
 The initial problem was qmailadmin gave me the error could not open
 
 
 and
 
 
 that was it
 
 I rebuilt qmailadmin - I rebuilt vpopmail nothing seemed to work.
 
 However I tried to add a domain using the command line today as I
 
 
 decided
 
 
 to
 
 
 spend some proper time on this problem.
 
 I ran a ./vadddomain test.com
 typed in the password 2 times
 and got back Error: Could not open qmail default
 
 a quick search of bluedot.net revieled that qmail default is
 
 
 .qmail-default
 
 
 in the domain dir of the domain creating.
 
 so the problems is a simple permissions problem. Now comes to the
 
 
 confusing
 
 
 bit.
 
 
 All the domains bar inter7.com and hugo.com where created from the
first
 vpopmail install
 
 [EMAIL PROTECTED] /home/vpopmail/domains]# ls -la
 total 44
 drwx--   10 vpopmail vchkpw   4096 Sep 21 15:13 .
 drwxr-xr-x9 vpopmail vchkpw   4096 Sep 10 20:21 ..
 -rw-r--r--1 vpopmail vchkpw 34 Sep  9 10:12 .dir-control
 drwxr-x---3 vpopmail vchkpw   4096 Apr 23 13:24
 
 
 aspectevents.co.uk
 
 
 drwx--4 vpopmail vchkpw   4096 Jul 17 14:15 hacktek.co.uk
 drwx--2 vpopmail vchkpw   4096 Sep 21 15:06 hugo.com
 drwx--2 vpopmail vchkpw   4096 Sep 21 15:13 inter7.com
 drwxr-x---4 vpopmail vchkpw   4096 Sep 10 20:08 mdlan.co.uk
 drwxr-x---4 vpopmail vchkpw   4096 May 29 17:08
 parsonsmotorsport.co.uk
 drwxr-x---6 vpopmail vchkpw   4096 Apr 30 15:38
 
 
 projecthugo.co.uk
 
 
 drwxr-x---4 vpopmail vchkpw   4096 Apr 25 15:15 sfproject.co.uk
 
 As you can see the X permissions is missing from the group permissions
 
 
 on
 
 
 the 2 test domains created. So vpopmail is actually creating the
domains
 with the right user/group vpopmail:vchkpw (so the ./configure options
 
 
 appear
 
 
 to have worked)  yet it appears to have just forgot about the group
 permissions ???
 
 The group permissions at not a build time option ?? so why when I have
 rebuilt the same version of vpopmail with the same configure options
 
 
 does
 
 
 it
 
 
 simpley forget to apply group permissions. vadddomain creates the dir
 
 
 with
 
 
 the wrong group permissions so it can't create the .qmail-default
domain
 inside.
 
 Any suggestions as to why vpopmail is doing this ?
 
 (Thanks for the input on the qmailadmin list also some good advice -
the
 fact that I didn't get anywhere made me get my head down today)
 
 
 thanks,
 
 Matt.
 
 
 An interesting note is
 
 a.) vpopmail ./vadddomain causes the error
 b.) qmailadmin complains of an error cannot open dir
 c.) vqadmin does NOT complain of any error. It creates a dir with the
SAME
 permissions as the other none working domains (as though the group
 permissions had been forgot) but it manages to create the
.qmail-defaults
 file. This is very interesting as I understand it vqadmin simpley uses
 vadddomain - and if the permissions are correct with drwx-- and not
 drwxr-x why can vadddomain not create the .qmail-defaults file when it
 creates a domain.
 
 Thanks
 
 Matt.
 
 
 
 
 
 
 
 
 
 
 

 Please post a ls -al of /home/vpopmail/


Re-read the post, its in there.

Matt.






Re: [vchkpw] Re: Permissions problem on /home/vpopmail after re-compile

2003-09-21 Thread Paul Theodoropoulos
At 11:42 AM 9/21/2003, [EMAIL PROTECTED] wrote:
From: X-Istence [EMAIL PROTECTED]

 Please post a ls -al of /home/vpopmail/

Re-read the post, its in there.


could both of you please trim your replies? reposting 6k to add a one liner 
at the bottom is silly.



Paul Theodoropoulos
http://www.anastrophe.com




Re: [vchkpw] Re: Permissions problem on /home/vpopmail after re-compile

2003-09-21 Thread matt

 could both of you please trim your replies? reposting 6k to add a one
liner
 at the bottom is silly.

Apologies.

I appriciate that for a 1 liner its silly, however it was just out of habbit
as I caused more problems by not including the full thread,

Point taken though.

Matt.





Re: [vchkpw] Re: Permissions problem on /home/vpopmail after re-compile

2003-09-21 Thread X-Istence
Not according to what i see, i said ls -al for /home/vpopmail not 
/home/vpopmail/domains