Open chriscroome opened 6 years ago
It would be nice to have it in the admin interface, per domain or per mailbox. But dovecot already does that in the configuration files: https://wiki2.dovecot.org/Quota/Configuration#Quota_warnings
Thanks @catcun, I didn't realise that, however, this:
Note that the warning is ONLY executed at the exact time when the limit is being crossed… If something else besides Dovecot updates quota so that the limit is crossed, the warning is never executed.
Indicates to me that if the delivery of email by Postfix causes the warning threshold to be crossed then no warning would be sent?
I guess I could write a Bash script to send a warning email via Mutt but I think it would be ideal if this could be incorporated into Mailcow itself at some stage in the future…
We can do that. I had this on my to-do for too long.
@andryyy I have found an issue, or feature? I have set this up on my own mail account on my server, 80% and I get 2 notifications every minute, that my quota is above 80%. is it possible to make that you can change how often a warning is sent? I haven't touched anything or tweaked much, and the installation is new, (Fresh mailcow install @ 31.03.2019)
It is sent whenever it is crossed or falls below the quota warning threshold.
It is not happening on any of my installations, so I cannot help. You need to check your dovecot logs etc.
@andryyy Ahh, that makes sense, I noticed what you just described by duplicating a folder, so the mailbox is now at 84%, now I don't receive them anymore. dovecot Logs didn't throw anything weird. Funny how it could just "Flap" between 79/80%. It also explains the inconsistency at 11:53 and up. Had my own system before trying out mailcow, and I love it :) Keep up the great work! But it would most likely happen when users mailboxes grow, 1 mail at a time.
Hm, I need to check if Dovecot can detect that flapping somehow. :)
Hi @andryyy, I just wanted to check, if there has been some progress on this issue.
Keep up the great work, mailcow is a great piece of software!
Hi, thank you! :)
Hmm. You talk about the flapping?
@DerLinkman I think this is implemented
I would find it useful if, when users get to say 95% (perhaps the percentage could be configurable by admin or in the config file) of their quota they are sent a daily email informing them of this and suggesting they either seek to get their quota increased or delete emails they no longer require.
It would also be useful if a daily email could be sent to the server admin listing users who are using more than 95% of their quota.
This is a feature request and could do with having the enhancement label adding.