Giter Club home page Giter Club logo

Comments (23)

aspdye avatar aspdye commented on May 3, 2024 1

Quota implementation is already working. Thank you @rainulf 😎
Looking forward to the merge of @JoshData !

from mailinabox.

JoshData avatar JoshData commented on May 3, 2024 1

Solve one of the more pressing issues first (e.g. #514, #777, among others) and then we can talk about adding features!

from mailinabox.

JoshData avatar JoshData commented on May 3, 2024 1

Solve one of the more pressing issues first (e.g. #514, #777, among others) and then we can talk about adding features!

from mailinabox.

kendall1997 avatar kendall1997 commented on May 3, 2024 1

Any news on 2022?

from mailinabox.

JoshData avatar JoshData commented on May 3, 2024

This would probably be the way to do it: http://wiki2.dovecot.org/Quota

Feel free to submit a pull request.

from mailinabox.

carlosafonso avatar carlosafonso commented on May 3, 2024

Hi,

We are setting up Mail-in-a-box at our workplace. I've been doing some tweaking here and there and I managed to set up a user-based quota (with a hardcoded default of 1GB per user, but of course this value can be changed to a sensible generic default).

The only thing left is to enable administrators to modify these settings in the administration panel, as soon as I complete this I will submit a pull request if this is OK with you.

from mailinabox.

JoshData avatar JoshData commented on May 3, 2024

Great.

from mailinabox.

ViktorEyermann avatar ViktorEyermann commented on May 3, 2024

Any news?

from mailinabox.

JoshData avatar JoshData commented on May 3, 2024

No news until someone does the work....

from mailinabox.

pryley avatar pryley commented on May 3, 2024

If anyone wants to try the quotas feature on v0.20, I have merged @rainulf's changes to a fork of the latest master commit da5497c:

SSH into your box and then:

$ git clone https://github.com/geminilabs/mailinabox mailinabox-quotas
$ cd mailinabox-quotas
$ git checkout feature/quotas
$ sudo setup/start.sh

A few things to note:

  1. This worked/works fine on my existing v0.20 box, but as always make a backup. If you use DigitalOcean, make a snapshot of your droplet before upgrading. Use at your own risk.
  2. I have not tested reverting from this fork back to the official master branch. However, as far as I can tell there should be no problems in doing so. The only thing not reversed when reverting is the new quota column that this feature adds to the users sqlite database table. But if you do revert back to the official branch, the column will just be unused.
  3. Quotas is a great feature for the server admin to curb disk space usage, but it's not so user-friendly for the user. If a user's quota is full and they are using an email client to sync their emails, they will get no notification that they have run out of quota space and they will not realize that emails being sent to them are getting returned to sender.
  4. Instead of implementing quotas, consider hosting on DigitalOcean and using a datacenter that supports Volumes. $0.10 per GB per month. https://www.digitalocean.com/products/storage/

from mailinabox.

mitchellurgero avatar mitchellurgero commented on May 3, 2024

Is this going to be implemented in the near future? Would love to see quotas :)

from mailinabox.

pryley avatar pryley commented on May 3, 2024

from mailinabox.

mitchellurgero avatar mitchellurgero commented on May 3, 2024

Can I at least install this modification on the latest 0.21?

from mailinabox.

mitchellurgero avatar mitchellurgero commented on May 3, 2024

Also, thanks for the response, but I will be hosting over 100 emails, and would like to limit each account specifically. :)

from mailinabox.

yodax avatar yodax commented on May 3, 2024

Can I at least install this modification on the latest 0.21?

The PR has merge conflicts.

Also it changes the layout of the database: https://github.com/mail-in-a-box/mailinabox/pull/665/files#diff-d55d822b8e6ccfbe30985a32aeaca9c6

So even if it might be mergeable for 0.21, it might not be for 0.xx. So if your are not comfortable with applying the patch set every time and possibly dealing with database layout changes, then no. Also if quota's do land, it might be a different implementation and you would have to provide an upgrade path yourself.

from mailinabox.

guyzmo avatar guyzmo commented on May 3, 2024

I personally don't need it, but quota is a safe and simple feature (postfix/dovecot plays with it very simply) that can be integrated with little friction. In terms of UI, it's only a question of adding a numeric input box, and the database update (which has to happen once).

So the real question, @JoshData what do you think needs to be done to make this PR 👌 to merge?

from mailinabox.

rainulf avatar rainulf commented on May 3, 2024

PR is here #665 - I rebased it, and resolved conflicts. But it's not tested, because I currently don't have time.

I am fairly out to date with the state of this project, but I do still use mailinabox. Implementation of quota is simple, but it is really up to the maintainer which priority to take, or if this feature is even necessary.

from mailinabox.

mitchellurgero avatar mitchellurgero commented on May 3, 2024

for #514 - One option is Pydio. It has an open source version (I dont remeber the license it uses) but would be "simple" enough to swap out as it also supports SQLite.

from mailinabox.

JoshData avatar JoshData commented on May 3, 2024

@mitchellurgero Can you re-post that in that issue instead of here?

from mailinabox.

 avatar commented on May 3, 2024

what is the status of this PR? this is a very good feature :)

from mailinabox.

tynie avatar tynie commented on May 3, 2024

Any news?

from mailinabox.

renkasiyas avatar renkasiyas commented on May 3, 2024

Is there any news on this feature? Or anyone knows how to do this? Thank you

from mailinabox.

joyvw avatar joyvw commented on May 3, 2024

Any news on 2024 ?

from mailinabox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.