2 Replies Latest reply: Aug 13, 2012 8:46 AM by Kellyc-Oracle RSS

    Individual User Quotas

    user13574895
      mail: /mail/messaging64/sbin > ./imsimta version
      Oracle Communications Messaging Server 7u4-23.01(7.0.4.23.0) 64bit (built Aug 10 2011)
      libimta.so 7u4-23.01 64bit (built 17:01:27, Aug 10 2011)
      Using /mail/messaging64/config/imta.cnf (compiled)
      SunOS mail 5.10 Generic_137137-09 sun4u sparc SUNW,Sun-Fire-280R

      Hi everyone
      I wanted to set "Individual User Quotas" like this..

      system default quota : no quota
      for specifis user :
      INBOX -> 20M
           Sent-> 10M
           for excluded messages in the "INBOX" and "Sent" folder -> 50M
      So total disk quota for one user is 80 MBytes.

      So I put user jhjung's ldap entry "mailquota : 50M;INBOX%20M;Sent%10M".

      Not like admin guide tells, however, mail quota was 50M and it includes all folders' messages.

      mail: /mail/messaging64/sbin > ./imquotacheck
      Name Quota(K) Usage(K) % Quota# Usage# % OverDate WarnDate
      ....................................
      imapproxy - 0 - - 0 - - -
      jhjung 51200 53079 103 - 39 - 08/01/12 08/01/12
      jhjung/INBOX 20480 0 0 - 0 - - -
      jhjung/Sent 10240 0 0 - 0 - - -
      jinzzaru - 1013975 - - 1594 - - -
      ....................................

      I can not understand why "jhjung/INBOX" and "jhjung/Sent " are made in the Name field. Are those different from "jhjung" box above imquotacheck output ?


      mail: /mail/messaging64/sbin > ./mboxutil -lxp "user/jhjung/*"
      msgs Kbytes last msg partition quotaroot mailbox path and acl

      34 39595 2012/08/01 14:40 store02 51200 user/jhjung/INBOX /store02/=user/20/56/=jhjung jhjung lrswipcdan
      0 0 - - store02 - user/jhjung/Drafts /store02/=user/20/56/=jhjung/=+Drafts jhjung lrswipcdan
      3 13481 2012/07/30 15:20 store02 - user/jhjung/Sent /store02/=user/20/56/=jhjung/=+Sent jhjung lrswipcdan
      2 2 2012/08/01 13:49 store02 - user/jhjung/Trash /store02/=user/20/56/=jhjung/=+Trash jhjung lrswipcdan
      mail: /mail/messaging64/sbin >

      - IMAP quotaroot information was different from admin Guide tells.

      * OK [CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ NAMESPACE UIDPLUS CHILDREN BINARY UNSELECT SORT CATENATE URLAUTH LANGUAGE ESEARCH ESORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES ENABLE CONTEXT=SEARCH CONTEXT=SORT WITHIN SASL-IR SEARCHRES XSENDER X-NETSCAPE XSERVERINFO X-SUN-SORT ANNOTATE-EXPERIMENT-1 X-UNAUTHENTICATE X-SUN-IMAP X-ANNOTATEMORE XUM1 ID AUTH=PLAIN] mail.ioss.co.kr IMAP4 service (Oracle Communications Messaging Server 7u4-23.01(7.0.4.23.0) 64bit (built Aug 10 2011))
      0 login jhjung **********
      0 OK User logged in
      1 getquotaroot INBOX
      * QUOTAROOT INBOX user/jhjung
      * QUOTA user/jhjung (STORAGE 53079 51200)
      1 OK Completed
      2 getquotaroot Sent
      * QUOTAROOT Sent user/jhjung
      * QUOTA user/jhjung (STORAGE 53079 51200)
      2 OK Completed
      2 getquotaroot jhjung/INBOX
      2 NO [NONEXISTENT] Mailbox does not exist
      2 getquotaroot jhjung/Sent
      2 NO [NONEXISTENT] Mailbox does not exist
      0 logout
      * BYE LOGOUT received
      0 OK Completed

      - here are configutil parameter.

      ./configutil -o store.quotaenforcement -v on
      ./configutil -o store.quotanotification -v on
      ./configutil -o store.defaultmailboxquota -v -1
      ./configutil -o store.defaultmessagequota -v -1
      ./configutil -o store.quotaexceededmsginterval -v 1
      ./configutil -o store.quotagraceperiod -v 1
      ./configutil -o store.quotawarn -v 90
      ./configutil -o local.store.quotaoverdraft -v off
      ./configutil -o local.store.overquotastatus -v on

      Did I miss something or do something wrong ?
      Any advice would be thankful.
        • 1. Re: Individual User Quotas
          Kellyc-Oracle
          I think we are working on a service request from you about this.

          "jhjung/INBOX" and "jhjung/Sent " are listed in the imquotacheck output because you have created specific quotas for those folders.

          There may be some confusion where you see "user/jhjung/INBOX" in some utilities but only "user/jhjung" in others. This is because the inbox folder in the message store is also the indication of the existence of the user in the store.

          I think your main concern is that the IMAP GETQUOTAROOT response does not agree with the imquotacheck output:

          >
          1 getquotaroot INBOX
          * QUOTAROOT INBOX user/jhjung
          * QUOTA user/jhjung (STORAGE 53079 51200)
          1 OK Completed
          2 getquotaroot Sent
          * QUOTAROOT Sent user/jhjung
          * QUOTA user/jhjung (STORAGE 53079 51200)
          2 OK Completed
          >

          Please look for further progress in the SR in MOS.
          • 2. Re: Individual User Quotas
            Kellyc-Oracle
            it turned out that store.folderquota.enable had not been set.

            The store.folderquota.enable is documented in the configutil option reference:

            http://msg.wikidoc.info/index.php/Configutil_Reference

            But not in the discussion of per-folder quotas:

            https://wikis.oracle.com/display/CommSuite/Messaging+Server+and+Calendar+Server+LDAP+Attributes#MessagingServerandCalendarServerLDAPAttributes-GCPCY

            We will update that doc to correct that.

            Edited by: kellyc on Aug 13, 2012 9:43 AM