On Thu, Apr 03, 2008 at 01:13:24PM +0700, Olivier Nicole wrote: > I am trying to have maildrop to send a warning message whenever a > virtual user is getting over 90% of his quota. > > But so far I am not successful. The message getting over 90% is being > delivered, but I get not maildrop warning.
Is the quota working otherwise? That is, are mails bounced once the mailbox is 100% full? If not, maybe the quota wasn't set properly. > On another front, I am trying to use maildirmake with quota. > > The version without quota is working fine, but the version with quota > is hanging indefinitely. > > maildirmake -q 1024S titi > > then nothing, I have to ^C to stop the process. Firstly, a quota of 1024 bytes is tiny; even a single message is likely to exceed that. Try setting a larger quota, like maildirmake -q 1048576S titi (that would be 1MB) If that still hangs, then try strace maildirmake -q 1048576S titi then look at the strace output to see if it's stuck in an infinite loop of system calls. If not, check your CPU load using 'top'. Is this process consuming 100% of CPU or thereabouts? If so it's in an infinite loop. You may be able to find out what it's doing by running it under gdb, waiting for a second or two, then breaking into it. gdb /path/to/maildirmake run -q 1048576S titi (wait a couple of seconds) ctrl-C bt Regards, Brian. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Courier-imap mailing list Courier-imap@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap