Page 1 of 1

Quota warning message template

Posted: Sun Nov 13, 2011 5:28 am
by alessiof
Hi,
recently I tried to modify the quota warning message template to add a secondary email address for those kind of notifications.
The default template is
From: Postmaster ${NEWLINE}To: ${RECIPIENT_NAME} ${NEWLINE}Subject: Quota warning${NEWLINE}Date: ${DATE}${NEWLINE}Content-Type: text/plain${NEWLINE}${NEWLINE}Your mailbox size has reached ${MBOX_SIZE_MB}MB, which is over ${WARN_PERCENT}% of your ${QUOTA_MB}MB quota.${NEWLINE}Please delete some messages to avoid exceeding your quota.${NEWLINE}
So I supposed that adding a Cc: field or modifying the To: would have done the trick. No way. The mail is always sent to the owner of the mailbox.
Even more strange is the fact that looking at the warning message headers I was able to see the modified To: and the added Cc: fields, still it seems that the delivery is "hard coded" in the procedure that watches the mailboxes for overquotas.
Can someone give some clarification about this matter?
Many tnx!
ps I'm aware that there are scripts to set up some sort of "periodical report" of mailboxes status, still I would have liked more to be warned for any single "threshold violation" ...

Quota warning message template

Posted: Wed Nov 16, 2011 2:27 am
by alessiof
no idea whatsoever? :(

Quota warning message template

Posted: Thu Mar 01, 2012 2:49 am
by Porra
Hi alessiof
Did you eventually get an answer on this? as I have the same issue here.

Quota warning message template

Posted: Thu Mar 01, 2012 2:57 am
by alessiof
Unfortunately no! I resorted in using a script I found on the wiki to do the job ... pretty absurd, but it was the only way. Good luck! :)

Quota warning message template

Posted: Thu Mar 01, 2012 3:05 am
by Porra
I see - thanks for the reply alessiof