Thanks for the fast reply Wietse...
If we switch to maildir mode, there is still no option to have postfix cleanup 
old messages, correct?



-----Original Message-----
From: [email protected] [mailto:[email protected]] 
On Behalf Of Wietse Venema
Sent: Wednesday, January 14, 2015 7:38 PM
To: Postfix users
Subject: Re: Behavior when mailbox limit is reached

Mullis, Josh (CCI-Atlanta):
> Hello,
> 
> Is there a way to configure postfix to remove old mail when the 
> mailbox size limit is reached instead of new mail being rejected?

Deleting mailboxes is (will not be) built into Postfix. 

You can switch to maildir mode, which produces one file per message, by 
appending '/' to the mail_spool_directory setting:

    mail_spool_directory = /var/spool/mail/

That will change deliveries for all users, and requires changes to mail reading 
programs.

        Wietse

> The basic need is limiting the amount of disk space mailbox files are 
> using without rejecting mail.
>
> We have a default postfix install via RHEL 5/6 rpms (version 2.3.3) 
> only used for local user mail.  The user mailboxes are single mailbox 
> files under "/var/spool/mail/<user_name>".
>
>
> Thanks!  -josh

Reply via email to