How to change mailbx size on a postfix install on Etch with Virt users

Discussion in 'HOWTO-Related Questions' started by jakev383, May 20, 2008.

  1. jakev383

    jakev383 New Member

    I did a Postfix install on Etch using virtual users and I want to have a large email box. I tried to set a 5G quota limit on an email account but it keeps defaulting back to 2G (2147483647). I tried to change the quota limit in the mysql table as well, but it also keeps defaulting back to 2147483647. Is there a way to set this to a higher limit?
    Thanks.
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Change the type of the quota field in the database from int to bigint.
     
  3. florin

    florin New Member

  4. falko

    falko Super Moderator Howtoforge Staff

    Have you tried this with another IMAP client as well? Are there any errors in the mail log?
     
  5. florinn

    florinn New Member

    I haven't tried another IMAP client.
    I've search on Google and I've found this (this is the behaviour in my case, I've tried to change manually the maildirsize file and this is what happens)

    >> > In an effort to increase the quota to 3GB, the size is being reset to less
    >> > than 2 GB. Even hand changing the maildirsize file to the desired size, it
    >> > will be reset by Courier later on to < 2GB value.
    >> >
    >> > After some investigation, it may be due to the integer size limit. This
    >> > quota thing affects the maildirmake -q, and userdb.
    >> >
    >> > Is there any chances of Courier to support a larger quota size?
    >>
    >> Not on 32-bit machines.

    http://www.mail-archive.com/[email protected]/msg11573.html
     
  6. falko

    falko Super Moderator Howtoforge Staff

    Ok, then the only workaround is to use an x86_64 system instead of i386.
     

Share This Page