<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: courier new,courier,monaco,monospace,sans-serif; font-size: 10pt; color: #000000'>Hello all,<br><br>we are using IMAP for the storage of VMs and had a user today his their maxmsg limit (default 100) and was wondering why nobody could leave them messages.&nbsp; I see in /var/log/asterisk/messages that it does write out a warning message of:<br><br>ast_log(LOG_WARNING, "Unable to leave message since we will exceed the maximum number of messages allowed (%u &gt;= %u)\n", msgnum, vmu-&gt;maxmsg);<br><br>but I was wondering how feasible it would be to modify the code to add:<br><br>1) the mailbox name of the user whom has hit the limit<br>2) a warning/critical threshold that the user is getting close to the limit<br><br>using whatever monitoring tool one has available eg. OSSEC the alert could be trapped and the user notified.<br><br>Thoughts or insults ?<br><div><span name="x"></span>-- <br>Thanks, Phil<span name="x"></span><br></div><br></div></body></html>