1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Is it possible to show the quota used on horde?

Discussion in 'Plesk for Linux - 8.x and Older' started by Filipe Miranda, Oct 19, 2007.

  1. Filipe Miranda

    Filipe Miranda Guest

    0
     
    Hello,

    I'm using Horde as my webmail with Plesk 8.2 and I would like to know if its possible to make horde show to the user the amount of quota used by his account.

    Thank you,
     
  2. Filipe Miranda

    Filipe Miranda Guest

    0
     
    I found that it is by doing this:
    /etc/psa-horde/imp/servers.php

    $servers['imap'] = array(
    'name' => 'IMAP Server',
    'server' => 'localhost',
    'hordeauth' => false,
    'protocol' => 'imap/notls',
    'port' => 143,
    'maildomain' => $DomainName,
    'smtphost' => 'localhost',
    'smtpport' => 25,
    'realm' => '',
    'preferred' => '',
    'quota' => array(
    'driver' => 'courier'
    ),
    );

    But the problem is.... it always shows QUOTA: UNLIMITED

    I already changed the quota for mailboxes and/or hard disk quotas but it always shows unlmited on horde.

    Is it possible to make this work properly?
     
  3. tiramisu

    tiramisu Guest

    0
     
    Hi Filipe,

    where do you want this to be shown? for user?
     
  4. Filipe Miranda

    Filipe Miranda Guest

    0
     
    Hello,


    Yes, exactly! Anyone that access the webmail (any domain any user) would be able to see the quota used and quota limit .

    When I use the code posted in the first post of this tread it shows to the user QUOTA LIMIT: UNLIMITED, even if the quota is set on plesk for the mailbox or domain account.
     
  5. Filipe Miranda

    Filipe Miranda Guest

    0
     
    To enable quota support in Plesk is just enable quota on the OS filesystem?? What about e-mail quota support? doesnt that need to be enabled on the MDA? (courier?)

    How does Plesk really works so we can solve this mystery !?
     
  6. curtis

    curtis Guest

    0
     
    Plesk doesn't currently support IMAP quotas; they seem to have disabled it in their courier and qmail builds (well probably just didn't include a patch for qmail to enable it).

    Working on my own stuff to gloss over this for certain clients w/heavy webmail usage...
     
  7. somnath

    somnath Guest

    0
     
    Does this mean that Plesk does not impose limits on email usage even though we specify quota on the domain's properties?
     
  8. Filipe Miranda

    Filipe Miranda Guest

    0
     
    Hello,

    Yesterday I tested the quota for e-mail accounts and it does work!

    Horde, according to this forum does not come with the quota support (just to show the information).

    But quota is enforced!

    And I also found out that disk quota is different from e-mail quota. Which means that if you put a disk quota of 1GB and have e-mail quota of 2GB, each mailbox from each user will have a limit of 2GB even though the disk quota is 1GB, the disk quota only applies to the content of your website space....

    Regards,
    Filipe Miranda
     
  9. somnath

    somnath Guest

    0
     
    And so is SQL space I guess then - seperate from everything. Well.. too many billing items for too little pay! Linux's cPanel seems better or even Helm for that matter as they consider everything as one with the option of segregating the variables - but with Plesk we only have one option i.e. too many items to count.
     
  10. curtis

    curtis Guest

    0
     
    To be absolutely clear my understanding, and I believe it to be accurate, is that Plesk:

    a) has its own quota mechanism for email built into its qmail and courier builds
    b) does not recognize, support or display IMAP quotas as described by Maildir++ and used by courier
    c) does not use OS level disk quotas for this either
    d) does not have a Quota subclass for IMP to be able to display quota usage in the webmail interface

    I'm taking a look at the Plesk Qmail patches now, and am going to write my own solution to fix IMP. It looks like the Plesk quota mechanism is fairly inefficient though so we'll see how this works out with PHP...
     
  11. tiramisu

    tiramisu Guest

    0
     
Loading...