The quota update hasn't been solved yet. The README.quota file in vpopmail-5.2 states that :
qmail-pop3d does not update maildirsize when you delete messages. This problem will correct itself within 15 minutes, since the Maildir++ spec dictates that the maildirsize file must be recalculated at least every 15 minutes. But there are 2 ways to avoid this:
1. Patch qmail with the qmail-pop3d-maildirquota.patch in the contrib directory. 2. Use courier's pop server which ships with courier-imap. It supports maildirquotas natively. See http://www.inter7.com/courierimap for details. --------------------------------------------------------------------------------------------------- I have several problems:
1.The maildirsize update does not happen after 15 minutes.
2.I patched qmail with qmail-pop3d-maildirquota.patch but when i started to issue the make setup check command an error occured in the qmail-pop3d.c file.
I really need a solution to this problem or even a document stating it.
Many thanks.
From: "o k" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Fwd: Re: [vchkpw] Re: maildir++ patch doesn't solve the problem Date: Thu, 18 Sep 2003 14:06:44 +0000
Dear sir,
I used your mailfilter script
I don't know if this patch solves the problem i stated before:
The problem is that the quota displayed after I retrieve mails through pop3 is not updated.
Thanks
From: Tamer Hassan <[EMAIL PROTECTED]> To: o k <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED] Subject: Re: [vchkpw] Re: maildir++ patch doesn't solve the problem Date: Thu, 18 Sep 2003 05:11:22 -0700
Try using courier maildrop for delivery instead of vdelivermail.
I just switched all my domains (on nfs) .qmail-default's to invoke maildrop
instead of vdelivermail also because of problems with maildirsize not being
rebuilt and/or getting really screwed up. The problem happened very randomly
and cannot be duplicated easily, but happens over days to random
accounts/domains that used vdelivermail.
I am doing this using two files in each domain directory, .qmail-default and
mailfilter (basic version no filtering), both have to be owned by vpopmail and
vchkpw, and chmod 700 or it will not work
Please let me know if there is a better way..
# cat .qmail-default | /usr/local/bin/maildrop mailfilter
# cat mailfilter SHELL="/bin/sh" import EXT import HOST VHOME=`/home/vpopmail/bin/vuserinfo -d [EMAIL PROTECTED]
`test -d $VHOME/Maildir` if ( $RETURNCODE == 1 ) { echo "Sorry, no mailbox here by that name. (#5.1.1)" EXITCODE=100 exit }
# Make sure the quota file is in place. # Vpopmail does not create it by default. # Vpopmail also removes it when you change the quota. `test -s "$VHOME/Maildir/maildirsize"` if ( $RETURNCODE == 1 ) { `/home/vpopmail/bin/vuserinfo -Q [EMAIL PROTECTED]
`test -s "$VHOME/Maildir/maildirsize"` if ( $RETURNCODE == 0 ) { `/usr/sbin/chown vpopmail:vchkpw $VHOME/Maildir/maildirsize` `/bin/chmod 640 $VHOME/Maildir/maildirsize` } }
# Default delivery exception { to "$VHOME/Maildir/" }
I have another mailfilter template which does spam filtering with spamassassin
2.55 (w/ mysql prefs per user), which I enable only for a specific domain, or
can be modified to do per-user when invoked from user's .qmail file.
Quoting o k <[EMAIL PROTECTED]>:
>
> Thanks for your reply.
> But what can solve the quota update problem?
>
> >From: Charles Cazabon <[EMAIL PROTECTED]>
> >To: [EMAIL PROTECTED]
> >Subject: Re: maildir++ patch doesn't solve the problem
> >Date: Sun, 14 Sep 2003 09:14:01 -0600
> >
> >o k <[EMAIL PROTECTED]> wrote:
> > > Then I patched it:
> > > cd qmail-1.03
> > > patch < qmail-maildir++.patch
> >
> >Don't. "maildir++" is broken by design and violates the letter and spirit
> >of
> >the maildir specification; it also makes the maildir unsafe for use over
> >NFS
> >without locking, which is one of the basic reasons for the existence of
> >maildir.
> >
> >Charles
> >--
> >---------------------------------------------------------------------------
> >Charles Cazabon <[EMAIL PROTECTED]>
> >GPL'ed software available at: http://www.qcc.ca/~charlesc/software/
> >Read http://www.qcc.ca/~charlesc/writings/12-steps-to-qmail-list-bliss.html
> >---------------------------------------------------------------------------
>
> _________________________________________________________________
> MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
> http://join.msn.com/?page=features/virus
>
>
>
Respectfully, Tamer Hassan
_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail
_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail