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 / Archives for Mail Quota

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

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

Recent Posts

  • Disable iLO on HP Microserver Gen8
  • Ubuntu Desktop 24.04 Change Wallpaper Settings
  • Customising Ubuntu Desktop 24.04
  • Remove domains from Let’s Encrypt using Certbot
  • Install Jetbrains Toolbox on Ubuntu 22.04

Tags

API auditing crochet data recovery debian debudding development Dingo API docker email Getting started with Laravel 5 & Dingo API hard drive health HP Microserver KVM Laravel larvel 5 lenovo Linux Minion mint netgear nas networking network shares php PHP development Postfix raspberry pi review samba security SMART smartctl smartmontools smb testing traefik ubuntu ubuntu 18.04 ubuntu 20.04 ubuntu 22.04 ubuntu server vagrant Virtual machines xdebug xubuntu

© Copyright 2015 apt get life