[% USE Master; USE Api2; Api2.pre_exec("Email", "listpopswithdisk"); SET mail_accounts_near_quota = Api2.exec("Email", "listpopswithdisk", {"nearquotaonly"=>"1"} ); Api2.post_exec("Email", "listpopswithdisk"); %] [% IF mail_accounts_near_quota.size; %]
[% locale.maketext("[output,strong,Warning:] The following email account(s) have issues with their quota(s):") %]
[% END; %] [% IF (ExpVar.expand('$disk_quota_is_full')) %]
[% locale.maketext("[output,strong,Warning:] This account has reached its disk usage quota.") %] [% IF varcache.upgrade_app_info %] [%- varcache.upgrade_app_info.itemdesc -%] [% ELSE %] [% locale.maketext("If you need more disk space, contact your service provider.") %] [% END %]
[% END; %]