Comments (23)
Quota implementation is already working. Thank you @rainulf 😎
Looking forward to the merge of @JoshData !
from mailinabox.
Solve one of the more pressing issues first (e.g. #514, #777, among others) and then we can talk about adding features!
from mailinabox.
Solve one of the more pressing issues first (e.g. #514, #777, among others) and then we can talk about adding features!
from mailinabox.
Any news on 2022?
from mailinabox.
This would probably be the way to do it: http://wiki2.dovecot.org/Quota
Feel free to submit a pull request.
from mailinabox.
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.
Great.
from mailinabox.
Any news?
from mailinabox.
No news until someone does the work....
from mailinabox.
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:
- 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.
- 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. - 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.
- 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.
Is this going to be implemented in the near future? Would love to see quotas :)
from mailinabox.
from mailinabox.
Can I at least install this modification on the latest 0.21?
from mailinabox.
Also, thanks for the response, but I will be hosting over 100 emails, and would like to limit each account specifically. :)
from mailinabox.
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.
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.
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.
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.
@mitchellurgero Can you re-post that in that issue instead of here?
from mailinabox.
what is the status of this PR? this is a very good feature :)
from mailinabox.
Any news?
from mailinabox.
Is there any news on this feature? Or anyone knows how to do this? Thank you
from mailinabox.
Any news on 2024 ?
from mailinabox.
Related Issues (20)
- Custom DKIM selector HOT 7
- SCRAM-SHA-1(-PLUS) + SCRAM-SHA-256(-PLUS) + SCRAM-SHA-512(-PLUS) + SCRAM-SHA3-512(-PLUS) supports HOT 4
- Mailinabox discourse is down? HOT 1
- Weird output (from Roundcube?) during install HOT 2
- Update to SpamAssassin 4 HOT 2
- hostname example.host.tld does not resolve to address xxx.xxx.xxx.xxx HOT 4
- Fail2ban - miab-munin.conf filter not cathing HTTP/2.0
- Add an edit button on DNS entries
- LetsEncrypt certificate renewal fails
- Systemd service not working
- how make a file copy of incoming email?
- Backup Error happening with mailinabox command I think HOT 1
- Break System Status Checks up into smaller checks HOT 2
- Root Domain configs in nginx
- owncloud-unlockadmin.sh has incorrect path for mail.py HOT 4
- Backup: File size can't be validated, because of missing capabilities of the backend HOT 4
- freebsd support HOT 2
- active-sync is with imap, or with mapi
- Multiple Domain why change NS ?? HOT 3
- Feature request: Add the ability for parked domain email user to edit it's own DNS records in the control panel HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mailinabox.