LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-11-2008, 09:58 PM   #1
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Rep: Reputation: 77
Question Postfix Behavior w/ Disk Quotas


I recently noticed that my Postfix email server has a few people who never clean up their mailboxes. I have IMAP only so all email remains on the server in their home directory via Maildir style.

/home/$user/Maildir

My question is how does Postfix handle email delivery if I set a user quota and that quota has been exceeded. Obviously Postfix can't deliver any messages to your home directory so what is the process from there? Does Postfix reject the message back to the sender as undeliverable or does it re-attempt at a later time?

I doubt it makes a difference but I set each users home directory to 2GB.
 
Old 06-11-2008, 11:26 PM   #2
ramram29
Member
 
Registered: Jul 2003
Location: Miami, Florida, USA
Distribution: Debian
Posts: 848
Blog Entries: 1

Rep: Reputation: 47
It will probably not work with quota if exceeded, be careful. You should set quota with your imap server, not with your smtp server. Try cyrus imap, which has excellent email quota capabilities that work with web email, outlook express and others.
 
Old 06-12-2008, 09:25 AM   #3
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Original Poster
Rep: Reputation: 77
Quote:
Originally Posted by ramram29 View Post
You should set quota with your imap server, not with your smtp server.
I was setting disk quotas with the Linux file system - not the MTA. What is the difference between setting up a MDA and a Linux system wide quota?
 
Old 06-12-2008, 02:31 PM   #4
ramram29
Member
 
Registered: Jul 2003
Location: Miami, Florida, USA
Distribution: Debian
Posts: 848
Blog Entries: 1

Rep: Reputation: 47
If postfix cannot save to the directory because of quota then it will crash or not deliver the message. Postfix is an SMTP Server and SMTP doesn't care about quotas. All it cares about is delivering messages from one SMTP server to another - that's it. Your MDA is what controls the quota; it should still get the message, warn the user and prevent the user from sending any more messages until he/she reduces the quota. Cyrus IMAP does all that very well. Dovecot was trying to implement quotas but it is not so good. Linux file system quotas are only for file systems, not email systems.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Quotas with Postfix and courier-imap deeztech Linux - Enterprise 1 05-02-2006 09:51 PM
Disk Quotas or What? dalponis Linux - Software 3 02-04-2006 07:53 AM
mailbox quotas with ldap postfix & courier mephitic Linux - Software 0 02-14-2005 01:26 AM
disk quotas johnnycash Linux - General 1 03-16-2004 08:12 AM
disk quotas skeletal29 Linux - General 1 10-13-2002 04:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration