Timo Sirainen wrote:
On Fri, 2006-09-08 at 17:24 +1000, Michael Tibben wrote:
/dev/rob0 wrote:
Michael Tibben wrote:
Hi am having an issue with the quota plugin
To reproduce:
- have a mailbox close to its quota limit (say 10 MB), and a large email in the inbox (say 6 MB)
- use Squirrelmail or Thunderbird to delete the email
The operation fails, as by default the email client seems to try and copy the message into the Trash before deleting it from the inbox, and dovecot will correctly deny the copy operation as the quota will be exceeded if the message is copied...
Because of this, I am wondering if it is possible to have an option for the quota plugin to track, but not enforce the quota. This is because I don't require quota enforcement on IMAP operations, as Postfix will enforce quota on incoming mail anyway.
Attached is a quick hack job I did on the plugin to strip out the enforcing functionality, but it would be great if this could be a configurable option..
Thanks Michael
What about: maildir_copy_with_hardlinks = yes (if you're using maildir of course)
aahhh, thanks... this works great
sorry for the dup email today, i didn't realise my first message got through
What? Copying with hardlinks should increase quota just the same, if we're talking about maildir++ quota here.
You're right - I have just realized this, as I have updated to RC13, but now I am having the same issue again... I must have still been using my hacked quota plugin when I wrote that email.... sorry for the confusion
So now I am back where I started from.... is there a better solution to this problem that you would recommend ?
MT