From time to time, we have to suspend the mail quota temporarily on a certain account. So, in MailQuotaChkWarning, we will add something like:
# if mailserver rule // set some temporary exceptions if $name eq "egonzalez" set #timelimit = 0 next endif # endif
One problem is: How will we know, or be reminded of, when to lift the suspension?
One could do this:
if $name eq "egonzalez" if #now() > #datevalue(2000, 1, 30) output mail "Cancel the egonzalez temporary quota exception." endif set #timelimit = 0 next endif
Then, on January 30th, and every day thereafter until we remove the reminder (and the rest of the quota exception code for this account) from the script, we would see that reminder message in each day's Warning alert.
Note that in the forthcoming 1.9.0 release, you will be able to use macro arguments and a macro invocation like:
=remind(2000, 1, 30, "Cancel the egonzalez temporary quota exception.")
For more examples, see Developer's Notes.