[Mimedefang] tmpfs on Linux
Matthew S. Cramer
mscramer at armstrong.com
Fri Nov 12 15:46:33 EST 2004
On Fri, Nov 12, 2004 at 12:25:12PM -0500, Jeff Rife wrote:
> On 12 Nov 2004 at 9:03, Aleksandar Milivojevic wrote:
>
> > For later (simpler) global solution, just add these lines to
> > sa-mimedefang.cf:
> >
> > auto_whitelist_path /var/spool/MIMEDefang/awl
> >
> > bayes_path /var/spool/MIMEDefang/bayes
>
> These are really *bad* paths if you put /var/spool/MIMEDefang on any
> sort of ramdisk (like many of us do).
Why? I found this greatly improved performance. I have a cron job
that copies the bayes db files over to a physical disk once every
day so there is no danger of losing the entire database if the ramdisk
would suddenly go away.
On my machine:
/dev/ram0 483886 46 458840 1% /var/spool/MIMEDefang
/dev/ram1 483886 132675 326211 29% /var/spool/bayes
Matt
--
Matthew S. Cramer <mscramer at armstrong.com> Office: 717-396-5032
Infrastructure Security Analyst Fax: 717-396-5590
Armstrong World Industries, Inc. Cell: 717-917-7099
More information about the MIMEDefang
mailing list