[vchkpw] Problems with domain limits

2008-06-05 Thread Nick Bright

Greetings,

I've got an installation of vpopmail 5.4.17, vqadmin 2.3.6, and 
qmailadmin 1.2.11 (updated vqadmin and qmailadmin trying to fix this issue).


This issue started when I recompiled qmailadmin to remove 
domain-autofill, and I came across it once before long ago - but 
lost/forgot the fix.


What happens is that vpopmail (even when compiled with 
--disable-mysql-limits) stores all information in the SQL table limits.


Qmailadmin, regardless of how vpopmail is compiled, will only look in 
the SQL table for limit information, and does not have a compile flag to 
tell it to pay attention to the .qmailadmin-limits file.


Vqadmin, regardless of how vpopmail is compiled, will only look at the 
.qmailadmin-limits file, and does not have a compile flag to tell it to 
look in the database instead.


Though I would prefer that things look at the .qmailadmin-limits file 
(since that's where all the limits are defined currently) I don't really 
care if the limits are in .qmailadmin-limits, or in the sql table, I 
just need to know how to get _all_ of the applications to look at the 
same thing. If it has to be in SQL, I can go through all my domains and 
put them in the database.


Any advice is welcome, thanks in advance.

--
---
- Nick Bright
  Network Administrator
  Terra World
  Tel 888-332-1616 x 315
  Fax 620-332-1201

!DSPAM:48483e5232352133457548!



Re: [vchkpw] Problems with domain limits

2008-06-05 Thread Nick Bright

Update to this issue:

It seems a little odd, but with vpopmail compiled for 
--disable-mysql-limits if the limits table exists, vmoddomlimits 
will apply settings to that table. If the table is deleted, it applies 
them to the .qmailadmin-limits file.


So now, vpopmail and vqadmin are talking to .qmailadmin-limits; all that 
remains is to get qmailadmin to talk to .qmailadmin-limits.


Any tips?

---
- Nick Bright
  Network Administrator
  Terra World
  Tel 888-332-1616 x 315
  Fax 620-332-1201


Nick Bright wrote:

Greetings,

I've got an installation of vpopmail 5.4.17, vqadmin 2.3.6, and 
qmailadmin 1.2.11 (updated vqadmin and qmailadmin trying to fix this 
issue).


This issue started when I recompiled qmailadmin to remove 
domain-autofill, and I came across it once before long ago - but 
lost/forgot the fix.


What happens is that vpopmail (even when compiled with 
--disable-mysql-limits) stores all information in the SQL table limits.


Qmailadmin, regardless of how vpopmail is compiled, will only look in 
the SQL table for limit information, and does not have a compile flag to 
tell it to pay attention to the .qmailadmin-limits file.


Vqadmin, regardless of how vpopmail is compiled, will only look at the 
.qmailadmin-limits file, and does not have a compile flag to tell it to 
look in the database instead.


Though I would prefer that things look at the .qmailadmin-limits file 
(since that's where all the limits are defined currently) I don't really 
care if the limits are in .qmailadmin-limits, or in the sql table, I 
just need to know how to get _all_ of the applications to look at the 
same thing. If it has to be in SQL, I can go through all my domains and 
put them in the database.


Any advice is welcome, thanks in advance.



!DSPAM:4848456632351386346584!



Re: [vchkpw] Problems with domain limits

2008-06-05 Thread Rick Macdougall

Nick Bright wrote:

Update to this issue:

It seems a little odd, but with vpopmail compiled for 
--disable-mysql-limits if the limits table exists, vmoddomlimits 
will apply settings to that table. If the table is deleted, it applies 
them to the .qmailadmin-limits file.


So now, vpopmail and vqadmin are talking to .qmailadmin-limits; all that 
remains is to get qmailadmin to talk to .qmailadmin-limits.




After recompiling vpopmail with --disable-mysql-limits, make clean and 
make qmailadmin. That should fix the problem.


qmailadmin reads fine from .qmailadmin-limits here.

Regards,

Rick


!DSPAM:48484e3532351715118327!



Re: [vchkpw] Problems with domain limits

2008-06-05 Thread Nick Bright
Odd. I can't explain it other than I must have done something in the 
wrong order, because I installed qmailadmin-1.2.11 after recompiling 
vpopmail-5.4.17 without mysql-limits, but I did a make clean and make 
install-strip on qmailadmin-1.2.11 as you suggested and now it's reading 
the .qmailadmin-limits file.


---
- Nick Bright
  Network Administrator
  Terra World
  Tel 888-332-1616 x 315
  Fax 620-332-1201


Rick Macdougall wrote:

Nick Bright wrote:

Update to this issue:

It seems a little odd, but with vpopmail compiled for 
--disable-mysql-limits if the limits table exists, vmoddomlimits 
will apply settings to that table. If the table is deleted, it applies 
them to the .qmailadmin-limits file.


So now, vpopmail and vqadmin are talking to .qmailadmin-limits; all 
that remains is to get qmailadmin to talk to .qmailadmin-limits.




After recompiling vpopmail with --disable-mysql-limits, make clean and 
make qmailadmin. That should fix the problem.


qmailadmin reads fine from .qmailadmin-limits here.

Regards,

Rick






!DSPAM:484851b632351682512477!