On Friday 07 March 2003 16:51, Duane Wylie wrote: > 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()".
Hi Duane. Please post any future diffs with -u or unified format. The diff below is difficult to use. Thanks. > > 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 -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net We are actively looking for companies that do a lot of long distance faxing and want to cut their long distance bill by up to 50%. Contact [EMAIL PROTECTED] for more info.
