4 messages in net.sourceforge.lists.courier-maildrop[maildropl] Quota increasing issue
FromSent OnAttachments
Jasper SlitsJun 30, 2005 2:48 am 
Tony EarnshawJun 30, 2005 4:09 am 
Szabo NandorJun 30, 2005 6:16 am 
Tony EarnshawJun 30, 2005 7:55 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[maildropl] Quota increasing issueActions...
From:Jasper Slits (jas@insiders.nl)
Date:Jun 30, 2005 2:48:00 am
List:net.sourceforge.lists.courier-maildrop

Hi,

I am not sure if it's a bug but I know more people experienced this situation as well.

Current setup: maildrop 1.8.1 using courier-authlib with MySQL as its backend. Postfix is used as SMTP-server and I am using pipe (virtual_transport) to talk to maildrop. I am not using quota warnings yet.

The following situation doesn't work as expected:

1. Virtual user jo@domain.com has a quota of 5000000S (5MB) 2. The user reached his quota. (maildirsize is created). 3. I increase his quota in the database to 10000000S (10MB). 4. I send him an e-mail of 1MB.

[Expected behavior] Maildrop sees that his new quota differs from the one in maildirsize and updates the maildirsize before trying to deliver the e-mail.

[Actual behaviour] Mails remains in the queue because the user is over his 5MB quota. I need to manually remove the 'maildirsize' file from the user's homedir and force a queue run (postqueue -f) for immediate delivery.

I was looking around in maildirquota.c to implement the expected behavior. What would be the right function to patch?

Kind regards,

Jasper