From: Charles S. <sp...@fa...> - 2003-09-17 06:46:40
|
On Fri, 5 Sep 2003, Gerald Villemure wrote: > # 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 "$HOME/Maildir/maildirsize"` > if ( $RETURNCODE == 1 ) > { > `~vpopmail/bin/vuserinfo -Q $USERNAME@$HOST` > `chown vpopmail:vchkpw $HOME/Maildir/maildirsize` > `chmod 640 $HOME/Maildir/maildirsize` > } This does work for me; it does create the file properly. However, I'm noticing that any mail that gets filtered away, be it spam, trash, or personal filter rules seems to not get counted towards the quota. I'm not sure I'm grasping what entities are involved in the quota setup. If I remember correctly, the following should all speak Maildir++ and be able to modify the maildirsize file: -courier imap/pop (updates on: deletes? moves? mail check?) -vdelivermail (updates on: direct deliveries) -maildrop (updates on: deliveries it performs to any(?) folder) Is the above correct? Maildrop should be incrementing the quota regardless of where in the user's top Maildir it puts the mail, right? Thanks, Charles |