I don't use fs, but, service quota-warning { executable = script /usr/local/scripts/quota-warning.sh user = vmail unix_listener quota-warning { mode = 0666 <------------------------------------------------- } }
You also have quota_warning2 = storage=90%% quota-warning 80 %u shouldn't that be 90 / 90 or 80 / 80 Not sure on validity of those other "quota_warning02" (zero-%d) etc since we dont use fs, suggest you check, we use maildir (and I dont have time at present to read up on fs to offer any further help right now - need sleep), but maybe try using maildir? quota = maildir quota_rule = *:storage=800M quota_rule2 = Trash:storage=+100M quota_rule3 = Junk:storage=+100M On 6/27/14, Przemysław Orzechowski <przemek.orzechow...@makolab.pl> wrote: > Hi > > Im trying to setup automatic quota warning in dovecot but somehow cant > get it to work > Quota usage is displayed properly in roundcube so quota plugin is working. > But somehow i cant get quota warning to work > my dovecot is 2.2.9 (stock version in ubuntu) > doveconf -n output in attached file > dovecot-quota-warning-sh is as found in wiki > > Best regards > Przemysław Orzechowski >