Jump to content

Recommended Posts

Posted

After many days trying to get a plugging that shows quota usage for users mailboxes inside squirrelmail, I have come to the conclusion that nothing exists that works with cPanel to do this.

 

I want to provide my users the ability to see from their squirrelmail how much quota they have used.

 

Can someone write a script or pluggin that will work here at TCH for squirrelmail?

 

The info is already posted in your cPanel if you click on manage accounts and then disk quota taking you here:

 

http://******:2082/frontend/bluela...tml?extras=disk

 

I attached a screenshot of what I am trying to offer.

 

Dennis

post-21-1088662616_thumb.jpg

Posted

Thanks,

 

I tried that plugin and the other one and cannot get them to work. I don't think TCH has the extension on and I don't think they run courier IMAP.

 

I have asked around but so far no replies.

 

Dennis

Posted

Well, you could write a php script to read the size of the mail user's directory:

 

/home/domain/mail/domain.com/user

 

You would not be able to get the quota limit from cpanel, so you would have to put that value in another file or database. Now, you have the total space used and the total space available. This would be fairly straightforward to write and would look something like this to the user:

 

You have used 7.5MB out of 100MB storage space.

 

To implement a graphical bar may be more challenging, but there are lots of tutorials on the net for such things...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...