Mail quota report

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • arthok
    Junior Member
    • Apr 2008
    • 20

    #1

    Mail quota report

    Is there an easy solution to get on OX AE a weeekly mail quota status report?
  • Martin Heiland
    Open-Xchange Quality Assurance
    • Feb 2007
    • 3695

    #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

    • jmueller

      #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

      • arthok
        Junior Member
        • Apr 2008
        • 20

        #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

        • jmueller

          #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