Announcement

Collapse
No announcement yet.

Mail quota report

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Mail quota report

    Is there an easy solution to get on OX AE a weeekly mail quota status report?

  • #2
    Hi,

    you could add a cronjob or something like that, but i suspect thats not what you meant by "easy". You could contact a OX partner or our Support if there is a simple solution for that request.

    Greetings

    Comment


    • #3
      Hi,

      you could write a shell script. The command to read the current quota would be:

      su - cyrus -c "/usr/sbin/cyrquota -f -C /etc/imapd/imapd.conf -d yourdomain.com"

      I would dump the data into a textfile and send via sendmail to your emailaddress.

      Comment


      • #4
        Thanks to jmuller, that helps for now.
        To Martin Baun for a Appliance Edition such "easy management and controlling" things should be included not require shell skripting or having a meeting with a partner...

        Comment


        • #5
          This will sent you the current emailquota by mail: su - cyrus -c "/usr/sbin/cyrquota -f -C /etc/imapd/imapd.conf -d yourdomain.com" | /usr/sbin/sendmail -F quota@yourdomain.com -t youremail@yourdomain.com

          Comment

          Working...
          X