Email disk usage counted twice

ClayRabbit

Verified User
Joined
Jan 3, 2004
Messages
260
Location
Russia
Version Number: 1.213
Finished: Yes
Type: bugfix
Overview: Email disk usage counted twice if /var and /home on same partitiion

Some systems use seperate partitions for /home and /var so email disk usage has to be counted in addition to the system quota disk usage. This fix will add a check to see if they're on the same partition or not and decide whether to add the email disk usage again or not.
But email usage still counted twice if /home and /var on separate partitions, but /var/spool/mail and /var/spool/virtual it's symlinks to /home/mail/mail and /home/mail/virtual (for example)
 
Hello,

Yes, it only checks:

if quota_partition not "/" and "/var" partition doesn't exist, don't count email.
else count email.

I can look into doing an actual device check on those directories.. not sure if it will happen though. I'll give it a shot :)

John
 
Back
Top