David Nelson wrote:
> I don't know if this is the proper forum for this, but I'd like to make
> a feature request for MD.
> 
> I ran into a problem quarantining messages on a FreeBSD 5.4 box.
> Specifically, I hit the upper limit for the number of directories a
> single directory can hold (32767).  I store about 2 weeks of quarantined
> mail in case anything needs to be released and I average over 3000
> quarantined messages daily.
> 
> The solution was to create 256 directories under MD-Quarantine (00-FF
> inclusive), have get_quarantine_dir() randomly generate a number,
> convert it to hex, and append it to $Features{'Path:QUARANTINEDIR'}.
> 
> I don't know if there's a more ''elegant'' way of doing it, but it does
> take care of the problem.
> 

I load my quarantine into a database which does a much better job of
storing this information since I simply run queries to cleanup or fetch
the information.

A simple perl script that wakes up and loads the information works, but
running the db queries inside your filter would be even cleaner.

schu
_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list [email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to