apt get life

Life around technology

  • Technology
    • Guides
    • Linux
    • Development
      • Laravel
    • Misc
    • Raspberry Pi
  • Writing
  • Crafts
    • Crochet
    • Model Making
    • Painting
  • Privacy Policy
You are here: Home / Technology / Guides / Setting email quota in Courier-MTA

Setting email quota in Courier-MTA

2011/03/22 by sudo

If you’re receiving errors along the lines of:
456 Address temporarily unavailable.
Or
maildrop: maildir over quota.
Or
status: deferred

It’s likely that the mail box in question has run out of storage space. In my experience this is usually due to the user not sorting through their emails and deleting old ones, and in one case there was hundreds of megabits in the .Trash folder that had simply not been emptied.

In order to increase the mail directory’s quota for the user in question, you need to run the following command from inside the users directory:
maildirmake -q 500000000S,1000000C ./Maildir

this will allow 500MB of Storage to be used, or 1000000 Correspondents (or emails) to be stored on their mail directory, whichever comes first.

After running this command you’ll need to restart the mta
/etc/init.d courier-mta restart

and make sure that the cache of problem email addresses is cleared:
courier clear all

Share this:

  • Twitter
  • Facebook
  • Reddit
  • Tumblr
  • Pinterest

Related

Filed Under: Guides, Technology Tagged With: Courier MTA, Mail Quota

Recent Posts

  • Alternative GPIO pins for Wemos D1 Mini BME280 sensor
  • Fixing zsys daemon: timed out waiting for server handshake on Ubuntu 20.04 ZFS
  • Solving Error on statfs() system call with cAdvisor and Docker
  • MySQL in Docker for Local Development
  • Laravel Docker Development Environment With PHP7

Tags

7zip API auditing Courier MTA crochet data recovery debian debudding development Dingo API docker email Getting started with Laravel 5 & Dingo API hard drive health KVM Laravel larvel 5 lenovo Linux Mail Quota Minion mint netgear nas networking network shares php PHP development Postfix samba security SMART smartctl smartmontools smb smbfs testing traefik ubuntu ubuntu 18.04 ubuntu 20.04 ubuntu server vagrant Virtual machines xdebug xubuntu

© Copyright 2015 apt get life