Giter Club home page Giter Club logo

Comments (2)

glime-ai avatar glime-ai commented on May 24, 2024

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.

georglauterbach avatar georglauterbach commented on May 24, 2024

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)

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.