Comments (2)
Please note that this response was created using generative AI, leveraging previously available information from the repository. This information may be helpful. However, it is our strong recommendation that you carefully consider the information before blindly applying it.
Based on the context provided, Docker Mailserver (DMS) does support setting mailbox size limits, which can effectively serve as a storage limit for users. This feature is controlled through environment variables, specifically POSTFIX_MAILBOX_SIZE_LIMIT
for setting the mailbox size limit for all users and ENABLE_QUOTAS
for enabling Dovecot quotas which allow clients to query their mailbox usage.
To set a global limit for all mailboxes, you can use the POSTFIX_MAILBOX_SIZE_LIMIT
environment variable. However, this sets the limit for all users and not on a per-user basis. For example, setting POSTFIX_MAILBOX_SIZE_LIMIT=1000000000
would limit the size of all mailboxes to approximately 1GB. If set to zero, the size will be unlimited.
For more granular control, enabling Dovecot quotas (ENABLE_QUOTAS=1
) is the way to go. This allows for setting quotas on a per-user basis, although the exact method to specify individual user quotas is not directly mentioned in the provided context. Typically, this involves configuring quota settings in Dovecot's configuration files or through a database that Dovecot queries for user information and quotas.
Unfortunately, the specific command format you've suggested (setup email update [email protected] --datalimit=1000000000
) does not directly match any documented feature in the provided context. It seems like a useful feature for managing user quotas more dynamically without directly editing configuration files or databases.
For implementing such a feature or making per-user quota adjustments, you might need to delve into the configuration of Postfix and Dovecot (the underlying services used by DMS for handling mail and user accounts, respectively), and possibly contribute to the Docker Mailserver project if you're looking to have a more user-friendly way to manage quotas directly through the setup.sh
script.
Given your interest in contributing but lack of familiarity with Linux programming languages, a good starting point could be to familiarize yourself with the existing documentation and community contributions around Docker Mailserver. Engaging with the community through GitHub issues or discussions could also help clarify how you might contribute or implement the specific functionality you're interested in.
This comment was generated by Glime.
from docker-mailserver.
What you're looking for is called quotas; have a look at our docs and search for ENABLE_QUOTAS
.
from docker-mailserver.
Related Issues (20)
- bug report: forwarded emails are not sent via relay HOT 4
- Your DKIM signature is not valid - opendkim HOT 4
- bug report: `SSL_TYPE=none` should not disable STARTTLS for outbound SMTP connections HOT 8
- Sender dependent relay should NOT require RELAY_HOST env HOT 6
- question: Why does `SMTP_ONLY=1` still allow to receive mail locally? HOT 5
- bug report: [Windows] No difference after call to 'sed' in 'sedfile' HOT 3
- feature request: Support per-user SASL authentication when used as a relay HOT 3
- Question: How to merge 2 servers into 1? HOT 3
- other: Question lost connection after BDAT / DATA in postfix HOT 3
- How to send email by java-smpt/pop3,how to get auth-code HOT 2
- Userdb alias dummy accounts use wrong home directory HOT 2
- Feature request: Replace Redis HOT 4
- question: Why does LetsEncrypt certificate from `nginxproxy/acme-companion` fail to send mail with TLS? HOT 4
- Rspamd rejects `asciinema` e-mails HOT 44
- bug report: I copied volumes to another system to migrate DMS but it fails to start properly HOT 8
- bug report: bad hostname or network address: 127.0.0.1:10025 HOT 17
- bug report: setup script alway fail with "setup email list" related on the user name HOT 17
- bug report: getmail not set up HOT 3
- [BUG]: RSPAMD needs a password for the web interface HOT 16
- [BUG]: Solr image is oudated and does not support arm64 HOT 16
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 docker-mailserver.