On Mon, 2008-12-01 at 20:41 -0500, Kari Suomela (DC) wrote:
On 01/12/2008 20:36 Timo Sirainen wrote:
On Mon, 2008-12-01 at 18:48 -0500, Kari Suomela (DC) wrote:
Now I got quotas working and under control, but can't get quota-warning.sh to run. I tried to fire it by reducing my won quota, but nothing happens. Should the command go to passwd-file somehow?
The quota warning is triggered at the exact moment when saving a mail brings the quota over the warning threshold. It doesn't keep any track of when warnings have been sent, so simply reducing the quota doesn't trigger it.
Hmmm... Is there any way to test it?
Not any other way than triggering it like I explained above. You could change quota warning limit or quota limit and then send a large enough mail that brings the quota usage over the warning limit (or simply send many huge mails that quickly bring usage over the warning limit).