[Mimedefang] MD I/O intensive?

Clayton, Nik [IT] nik.clayton at citigroup.com
Wed Mar 17 09:50:05 EST 2004


David F. Skoll wrote:
> If you accumulate more than a few hundred files in your quarantine
> directory, it's time to turn off quarantining. :-)

Which reminds me.  Any chance future versions of MD could use 
mkpath() from File::Path to create multi-level quarantine directories.
I do that, plus this hack in mimedefang-filter:

    ...

    # Construct a multi-level quarantine dir
    sub my_time_str {
        # gloss over the details
        return "a/multi/level/directory/based/on/a/timestamp";
    }

    *time_str = *my_time_str;

    ...

but I get twitchy every time I see that code.

N



More information about the MIMEDefang mailing list