Re: [vchkpw] peculiar qmailadmin problem

2006-04-21 Thread Rick Macdougall

Paul Theodoropoulos wrote:

At 08:36 AM 4/21/2006, you wrote:
To debug this, you might need to modify set_admin_type() in auth.c in 
qmailadmin and have it dump some debugging information to find out why 
it's failing.


if only i were a programmer! i wouldn't have a clue how to do that, 
sorry...




Oh, oh!

Check the vlimits.default file in ~vpopmail/etc and the 
.qmailadmin-limits file in the domains directory (most likely the 
.qmailadmin-limits since you said earlier that other domains work fine).


I'll bet something in there is wacky, happened to me before.

Regards,

Rick



Re: [vchkpw] peculiar qmailadmin problem

2006-04-21 Thread Paul Theodoropoulos

At 10:35 AM 4/21/2006, you wrote:


On Apr 21, 2006, at 10:25 AM, Paul Theodoropoulos wrote:
i should add that on closer inspection, it's not even a 'real' 
regular user interface - it only lists


Forwards
Mail Robots

New Mail robot

and the 'refresh' and 'logout' options. however, at the bottom, it 
does have the 'quick links' option, with the ability to modify or 
delete a user. but no ability to add mailing lists for example, 
which is what this customer needs.


Aha!  That's the missing clue.

Check the domain limits (vmoddomlimits).  You have mailing lists set 
to 0.  Set everything to -1 if you want to allow all 
types.  vmoddomlimits might have an option to delete the limits for 
a single domain so it will revert back to the defaults.


Does vqadmin allow you to edit the limits?


aha indeed! yep. it seems several domains have no value at all for 
many fields - probably very old legacy info, since many domains go 
back more than three years, created under older versions of 
vpopmail/vqadmin/qmailadmin. setting the fields to proper values gets 
it all working.


whew. thanks so much - to ken as well of course too!


Paul Theodoropoulos
http://www.anastrophe.com
http://www.smileglobal.com
http://www.forumgarden.com






Re: [vchkpw] peculiar qmailadmin problem

2006-04-21 Thread Tom Collins

On Apr 21, 2006, at 10:25 AM, Paul Theodoropoulos wrote:
i should add that on closer inspection, it's not even a 'real' regular 
user interface - it only lists


Forwards
Mail Robots

New Mail robot

and the 'refresh' and 'logout' options. however, at the bottom, it 
does have the 'quick links' option, with the ability to modify or 
delete a user. but no ability to add mailing lists for example, which 
is what this customer needs.


Aha!  That's the missing clue.

Check the domain limits (vmoddomlimits).  You have mailing lists set to 
0.  Set everything to -1 if you want to allow all types.  vmoddomlimits 
might have an option to delete the limits for a single domain so it 
will revert back to the defaults.


Does vqadmin allow you to edit the limits?

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/



Re: [vchkpw] peculiar qmailadmin problem

2006-04-21 Thread Paul Theodoropoulos

At 08:36 AM 4/21/2006, you wrote:
To debug this, you might need to modify set_admin_type() in auth.c 
in qmailadmin and have it dump some debugging information to find 
out why it's failing.


if only i were a programmer! i wouldn't have a clue how to do that, sorry...


Paul Theodoropoulos
http://www.anastrophe.com
http://www.smileglobal.com
http://www.forumgarden.com






Re: [vchkpw] peculiar qmailadmin problem

2006-04-21 Thread Paul Theodoropoulos

At 10:16 AM 4/21/2006, you wrote:

You can use mysqlcheck to repair all the tables in the vpopmail database
mysqlcheck -uroot -ppassword -r vpopmail


i should add that on closer inspection, it's not even a 'real' 
regular user interface - it only lists


Forwards
Mail Robots

New Mail robot

and the 'refresh' and 'logout' options. however, at the bottom, it 
does have the 'quick links' option, with the ability to modify or 
delete a user. but no ability to add mailing lists for example, which 
is what this customer needs.



Paul Theodoropoulos
http://www.anastrophe.com
http://www.smileglobal.com
http://www.forumgarden.com






Re: [vchkpw] peculiar qmailadmin problem

2006-04-21 Thread Paul Theodoropoulos

At 10:16 AM 4/21/2006, you wrote:

You can use mysqlcheck to repair all the tables in the vpopmail database
mysqlcheck -uroot -ppassword -r vpopmail


i used the mysqladmin program to do a repair - no difference. this is 
too weird.



Paul Theodoropoulos
http://www.anastrophe.com
http://www.smileglobal.com
http://www.forumgarden.com






Re: [vchkpw] peculiar qmailadmin problem

2006-04-21 Thread Ken Jones

Paul Theodoropoulos wrote:

At 05:52 AM 4/21/2006, Ken Jones wrote:


Paul Theodoropoulos wrote:

not sure what to think of this. vqadmin 2.3.5/vpopmail 
5.4.10/qmailadmin-1.2.7
i have a domain, been around on the server for a long time. 
postmaster is the administrator. that's confirmed both by vuserinfo 
on the shell, and in vqadmin it shows the normal 'yes' for domain 
adminstrator.
the problem is, in qmailadmin the 'regular user' interface is always 
presented - none of the administrator options available. other 
domains/domain administrators are fine.
i'm baffled. i've turned off then back on admin privileges, no 
effect. i added admin privs for another user within the same domain, 
and that won't work either - but it works fine on other domains. has 
anyone ever run into this? i gotta get admin privs back for the 
customer.

Paul Theodoropoulos



Perhaps deleting and adding the account will help.

By default, the postmaster account should have admin privileges.
So you wouldn't need to set that privilege.



thanks Ken. i tried that yesterday as well - forgot to mention it. no 
success. i'm wondering if it might be some sort of db corruption in 
mysql. but i can't seem to figure out what table/field holds that value 
(i'm definitely no whiz at dbs).


You can use mysqlcheck to repair all the tables in the vpopmail database
mysqlcheck -uroot -ppassword -r vpopmail

Ken


Re: [vchkpw] peculiar qmailadmin problem

2006-04-21 Thread Paul Theodoropoulos

At 05:52 AM 4/21/2006, Ken Jones wrote:


Paul Theodoropoulos wrote:
not sure what to think of this. vqadmin 2.3.5/vpopmail 
5.4.10/qmailadmin-1.2.7
i have a domain, been around on the server for a long time. 
postmaster is the administrator. that's confirmed both by vuserinfo 
on the shell, and in vqadmin it shows the normal 'yes' for domain adminstrator.
the problem is, in qmailadmin the 'regular user' interface is 
always presented - none of the administrator options available. 
other domains/domain administrators are fine.
i'm baffled. i've turned off then back on admin privileges, no 
effect. i added admin privs for another user within the same 
domain, and that won't work either - but it works fine on other 
domains. has anyone ever run into this? i gotta get admin privs 
back for the customer.

Paul Theodoropoulos


Perhaps deleting and adding the account will help.

By default, the postmaster account should have admin privileges.
So you wouldn't need to set that privilege.


thanks Ken. i tried that yesterday as well - forgot to mention it. no 
success. i'm wondering if it might be some sort of db corruption in 
mysql. but i can't seem to figure out what table/field holds that 
value (i'm definitely no whiz at dbs).



Paul Theodoropoulos
http://www.anastrophe.com
http://www.smileglobal.com
http://www.forumgarden.com






Re: [vchkpw] peculiar qmailadmin problem

2006-04-21 Thread Tom Collins

On Apr 20, 2006, at 10:58 PM, Paul Theodoropoulos wrote:
the problem is, in qmailadmin the 'regular user' interface is always 
presented - none of the administrator options available. other 
domains/domain administrators are fine.


i'm baffled. i've turned off then back on admin privileges, no effect. 
i added admin privs for another user within the same domain, and that 
won't work either - but it works fine on other domains. has anyone 
ever run into this? i gotta get admin privs back for the customer.


That's extremely odd.

If the domain name is at least 1 character, and the username is 
'postmaster' (a case-sensitive comparison), it sets the DOMAIN_ADMIN 
flag.  It also sets it if the admin flag is set via user info.


To debug this, you might need to modify set_admin_type() in auth.c in 
qmailadmin and have it dump some debugging information to find out why 
it's failing.


--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/



Re: [vchkpw] peculiar qmailadmin problem

2006-04-21 Thread Ken Jones

Paul Theodoropoulos wrote:
not sure what to think of this. vqadmin 2.3.5/vpopmail 
5.4.10/qmailadmin-1.2.7


i have a domain, been around on the server for a long time. postmaster 
is the administrator. that's confirmed both by vuserinfo on the shell, 
and in vqadmin it shows the normal 'yes' for domain adminstrator.


the problem is, in qmailadmin the 'regular user' interface is always 
presented - none of the administrator options available. other 
domains/domain administrators are fine.


i'm baffled. i've turned off then back on admin privileges, no effect. i 
added admin privs for another user within the same domain, and that 
won't work either - but it works fine on other domains. has anyone ever 
run into this? i gotta get admin privs back for the customer.


Paul Theodoropoulos


Perhaps deleting and adding the account will help.

By default, the postmaster account should have admin privileges.
So you wouldn't need to set that privilege.

Ken Jones



[vchkpw] peculiar qmailadmin problem

2006-04-20 Thread Paul Theodoropoulos

not sure what to think of this. vqadmin 2.3.5/vpopmail 5.4.10/qmailadmin-1.2.7

i have a domain, been around on the server for a long time. 
postmaster is the administrator. that's confirmed both by vuserinfo 
on the shell, and in vqadmin it shows the normal 'yes' for domain adminstrator.


the problem is, in qmailadmin the 'regular user' interface is always 
presented - none of the administrator options available. other 
domains/domain administrators are fine.


i'm baffled. i've turned off then back on admin privileges, no 
effect. i added admin privs for another user within the same domain, 
and that won't work either - but it works fine on other domains. has 
anyone ever run into this? i gotta get admin privs back for the customer.


Paul Theodoropoulos
http://www.anastrophe.com
http://www.smileglobal.com
http://www.forumgarden.com