Hi Rafael
If you are copying files directly into peoples
maildirs, then for sure the quota counts will be out of whack. (The quotas
counts are generally updated during message delivery by the vdelivermail
program)
You can leave the quotas files alone alone and over
time they should sync back to the correct counts. This might confuse your users
though in the short term (as you have already seen)...
Alternatively you can delete all the user's quota
files and then next time each user receives some mail, their quota file will be
recreated with the correct value. (This might not be a bad option for you,
because if you go into squirrelmail for a user who has no quota file setup, then
the quota plugin doesnt even display itself. As soon as the quota file is
recreated then the quota display will magically appear again). Heres the command we have used in the past to zap all the
quota files :
find /home/vpopmail/domains -name 'maildirsize' | xargs -i
--verbose rm '{}' 2>&1
When we migrated a couple of years back from our
old Windows-based mail server to our vpopmail server, we pulled all existing
mail across by using a script that ran the "fetchmail" program for each user.
This program retrieved the existing mail via POP3 and inserted into the Linux
mailbox for delivery via SMTP. This worked pretty well for us, and also
prevented any problems with miscounted quotas etc.
Hope that helps
Michael.
|
- [vchkpw] Help with Rafael Fajardo
- Michael Bowe