[Mimedefang] move SPOOLDIR to tmpfs - how to keep bayes and qdir files at reboot?

Marcus Schopen lists at localguru.de
Thu Feb 20 15:58:19 EST 2014


Hi,

I'm planning to move SPOOLDIR (/var/spool/MIMEDefang) to tmps.

My /etc/fstab
tmpfs           /var/spool/MIMEDefang  tmpfs
defaults,size=128m,mode=750,uid=ofdefanguser,gid=ofdefanggroup   0 0

This works fine, but mimedefang stores quarantinedir and spamassassin
bayes files in /var/spool/MIMEDefang too. How to handle this.
Copy /var/spool/MIMEDefang/.spamassassin at stop/start of mimedefang to
another directory outside tmpfs. And what about quarantinedir files.
Those fill up the ramdisk. Move them by cronjob?

Ciao
Marcus





More information about the MIMEDefang mailing list