• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 485
  • Last Modified:

increase inbox size in postfix

I want to increase inbox/ mailbox size of a particular user in postfix.

Currently default size of mailbox for all user is set as 100 mb in main.cf....

root@mail#postconf mailbox_size_limit
mailbox_size_limit = 102400000

1 Solution
There are multiple ways to limit mailbox size in email, but inside postfix itself you have two ways:

mailbox_size_limit = ###
message_size_limit = ###

The first limits peoples mailbox, the second the individual message size
samirroulAuthor Commented:
Hi, Thanks for replying, however the solution you are giving is for global mailbox size....setting this variable in main.cf will change the mailbox size for all users.....in my case I want the default mailbox size to be 100 mb for all the users and 200 mb for some particular users....

I am looking solution for the second requirement....
Christopher Raymond MendozaCommented:
Hello, unfortunately Postfix was not designed for your second requirement.

There are patches that can possibly be used though. Just check this site: http://www.postfix.org/addon.html.

Hope this helps.
Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

In my opinion, you have to switch your configuration to a more flexible one with users defined in a MySQL (or LDAP or whatever) database.
Then there is a patch to be able to manage quotas then: http://vda.sourceforge.net/

I'm running a config with users defined in mysql, I have a default quota I can override when I want.
I can give you directions (or a full article, but in french)

Maciej SsysadminCommented:
In addition to above - if you have dovecot as your POP3/IMAP server, you can use its delivery agent, and use dovecot quotas.
More info here: http://wiki.dovecot.org/LDA
samirroulAuthor Commented:

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now