Hi all, I'm trying to setup sqwebmail to exclude the ~user/Maildir/.Drafts folder from being counted toward user's quotas, but have not yet been successful. The changes I've made so far compile with no errors, but seem to have no impact whatsoever.
I've included a diff below to show what I've done so far. The lines 640-641 are in "static int statsubdir()", and the rest is in "int maildirquota_countfolder()". If anyone can point me in the right direction, I'd appreciate it. I'm on version 3.5.0, and at this point, the modifications I've made are: # pwd /usr/local/src/sqwebmail-3.5.0 # diff ./maildir/maildirquota.c ./maildir/maildirquota.c.orig 640,641c640 < strcmp(subdir, "..") == 0 || strcmp(subdir, "." TRASH) == 0 || < strcmp(subdir, "." DRAFTS) == 0) --- > strcmp(subdir, "..") == 0 || strcmp(subdir, "." TRASH) == 0) 750,752c749 < strcmp(folder, "." TRASH "/") == 0 || < strcmp(folder, "." DRAFTS) == 0 || < strcmp(folder, "." DRAFTS "/") == 0) --- > strcmp(folder, "." TRASH "/") == 0) 758,760c755 < strcmp(folder+1, "." TRASH "/") == 0 || < strcmp(folder+1, "." DRAFTS) == 0 || < strcmp(folder+1, "." DRAFTS "/") == 0)) --- > strcmp(folder+1, "." TRASH "/") == 0)) Thanks, Duane
