Quarantine problem: Ext3 directory limit to 32000 files

Peter Bonivart bonivart at opencsw.org
Mon Aug 9 15:35:39 IST 2010

On Mon, Aug 9, 2010 at 4:13 PM, hvdkooij <hvdkooij at vanderkooij.org> wrote:
> On Mon, 09 Aug 2010 14:32:45 +0100, Martyn Routley <martyn at invictawiz.com>
> wrote:
>> On 09/08/2010 13:04, Paulo Roncon wrote:
>>> Hello,
>>> Yesterday I got a problem with my mailscanner server. The messages
>>> stopped being processed and the mailscanner would crash attempting to
>>> process the messages.
>>> Some troubleshooting later and: The problem was with the file per
>>> directory limit = 32000 of the ext3.
>>> I'm going to upgrade to ext4.
>>> Any ideias? Change the quarantine function to create directories per
>>> hour also?
>> How about be really radical and delete some of the old quarantine
> messages?
>> They are almost certainly not wanted by end users otherwise you would be
>> spending your entire day releasing messages from quarantine?
> Perhaps the end-users can do this themselves through mailwatch or a
> similar solution. Or end-users need the messages to finetune the bayesian
> database.
> So that solution is propably too radical.

Especially since this guy quarantines more than 32,000 mail per day.
To delete "old" stuff then is making the users have less than a day to
retrieve their blocked mail. That's poor service.

His own suggestion of creating hourly catalogs sounded good to me.


More information about the MailScanner mailing list