Re: [vchkpw] Problem with quota update

2005-04-08 Thread Raúl Galicia
Andrej escribió:

> I'm using vpopmail-5.4.10, netqmail-1.05.
> 
> I have a problem with updating quota. All users have been created with:
> 
> vadduser [EMAIL PROTECTED] -q 5242880 -c 'comment' password
> 
> When an mail is delivered to [EMAIL PROTECTED], the usages changes, I've 
> figured out that there is a maildirsize file in the Maildir. Ok..
> 
> But when [EMAIL PROTECTED] gets his mail (not leaving mails on server), 
> the maildirsize is not being updated, seems that qmail-pop3d is not 
> updating the maildirsize???
[...]
> Could somebody help me solving this problem?


You should apply maildir++ patch to your qmail.

http://shupp.org/patches/qmail-maildir++-universal.patch



Regards,
Raúl Galicia


Re: [vchkpw] Problem with quota

2004-04-07 Thread Florent
Tom Collins wrote:

On Apr 6, 2004, at 5:43 AM, Florent wrote:

I watched into source code of vpopmail and vqadmin and saw that :
   - vqadmin uses the vauth_setpw function to modify a user.
   - inside vpopmail : the function vauth_setpw modify only the 
vpasswd file, but the vsetuserquota function modify vpasswd file (by 
calling vauth_setpw) and then update Maildir/maildirsize file.

That's why the vsetuserquota program does the right job (it uses the 
vsetuserquota function), and vqadmin does only 'half' of the job.

I think the best solution to solve this problem would be to move the 
portion of code which does the Maildir/maildirquota update in 
vsetuserquota into the vauth_setpw function.


It would be better to fix vqadmin to call vsetuserquota() instead of 
vauth_setpw.  The vauth_ functions should only update information in 
the auth backends.

Please report it as a bug on .
ok i'll do this

Florent



Re: [vchkpw] Problem with quota

2004-04-06 Thread Tom Collins
On Apr 6, 2004, at 5:43 AM, Florent wrote:
I watched into source code of vpopmail and vqadmin and saw that :
   - vqadmin uses the vauth_setpw function to modify a user.
   - inside vpopmail : the function vauth_setpw modify only the 
vpasswd file, but the vsetuserquota function modify vpasswd file (by 
calling vauth_setpw) and then update Maildir/maildirsize file.

That's why the vsetuserquota program does the right job (it uses the 
vsetuserquota function), and vqadmin does only 'half' of the job.

I think the best solution to solve this problem would be to move the 
portion of code which does the Maildir/maildirquota update in 
vsetuserquota into the vauth_setpw function.
It would be better to fix vqadmin to call vsetuserquota() instead of 
vauth_setpw.  The vauth_ functions should only update information in 
the auth backends.

Please report it as a bug on .

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/


Re: [vchkpw] Problem with quota

2003-01-21 Thread José Roberto Kerne
Em Tue, 21 Jan 2003 17:39:05 +0200
Kiril Todorov <[EMAIL PROTECTED]> escreveu:
 KT> On Tue, Jan 21, 2003 at 01:31:05PM -0200, José Roberto Kerne wrote:
 KT> > User: [EMAIL PROTECTED]
 KT> > Home Directory: ~vpopmail/domains/kerne.org/kerne/
 KT> > Maildir: ~vpopmail/domains/kerne.org/kerne/Maildir/
 KT> > 
 KT> > Then... the .qmail file have the configuration of user: antivirus, filters, and 
more.
 KT> 
 KT> the file is:
 KT> 
 KT> ~vpopmail/domains/kerne.org/.qmail-kerne

the problem persist!

I create the file ~vpopmail/domains/kerne.org/.qmail-kerne and set configuration.

Send a message, and quota limit dont be used.

But, i remove .qmail-kerne file of Domain "kerne.org" home, and quota limit was
turned on!


This is a bug 



---
 José Roberto Kerne <[EMAIL PROTECTED]> 
 TDKOM.NET - http://www.tdkom.net
---




 KT> 
 KT> it should read something like:
 KT> --- cut here ---
 KT> | some program here doing some stuff
 KT> |  maybe another program here doing more stuff?
 KT> /home/vpopmail/domains/kerne.org/kerne/Maildir/
 KT> --- cut here ---
 KT> 
 KT> if none of the programs exits with err message it will deliver messages 
 KT> to /home/vpopmail/domains/kerne.org/kerne/Maildir/
 KT> that's the whole trick.
 KT> Good luck ;>
 KT> -- 
 KT> 
 KT> Kiril Todorov   < -+- > +359 2 9712013
 KT> Bulgaria Online < -+- > http://home.online.bg
 KT> 
 KT> /* waiting... dreaming... wishing... */
 KT> 




Re: [vchkpw] Problem with quota

2003-01-21 Thread José Roberto Kerne
Em Tue, 21 Jan 2003 17:03:21 +0200
Kiril Todorov <[EMAIL PROTECTED]> escreveu:
 KT> In vpopmail you're not supposed to have dot-qmail files in the user dirs, instead 
you have .qmail-user files in the domain directory.
 KT> ~vpopmail/domains/domain.com/user/.qmail is just a wrong place for it.
 KT> any .qmail files should be in ~vpopmail/domains/domain.com/
 KT> for example: 
 KT> ~vpopmail/domains/domain.com/.qmail-user

But i have a user, sample:

User: [EMAIL PROTECTED]
Home Directory: ~vpopmail/domains/kerne.org/kerne/
Maildir: ~vpopmail/domains/kerne.org/kerne/Maildir/

Then... the .qmail file have the configuration of user: antivirus, filters, and more.

Your sample is to user alias, right ???



---
 José Roberto Kerne <[EMAIL PROTECTED]> 
 TDKOM.NET - http://www.tdkom.net
---




 KT> 
 KT> -- 
 KT> 
 KT> Kiril Todorov   < -+- > +359 2 9712013
 KT> Bulgaria Online < -+- > http://home.online.bg
 KT> 
 KT> /* waiting... dreaming... wishing... */
 KT> 
 KT> 




Re: [vchkpw] Problem with quota

2003-01-21 Thread Kiril Todorov
In vpopmail you're not supposed to have dot-qmail files in the user dirs, instead you 
have .qmail-user files in the domain directory.
~vpopmail/domains/domain.com/user/.qmail is just a wrong place for it.
any .qmail files should be in ~vpopmail/domains/domain.com/
for example: 
~vpopmail/domains/domain.com/.qmail-user

-- 

Kiril Todorov   < -+- > +359 2 9712013
Bulgaria Online < -+- > http://home.online.bg

/* waiting... dreaming... wishing... */