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

2014-02-20 Thread Marcus Schopen
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/MIMED

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

2014-02-20 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 20 Feb 2014, Marcus Schopen wrote: 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 fi

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

2014-02-21 Thread Kees Theunissen
On Fri, 21 Feb 2014, Steffen Kaiser wrote: >-BEGIN PGP SIGNED MESSAGE- >Hash: SHA1 > >On Thu, 20 Feb 2014, Marcus Schopen wrote: > >> I'm planning to move SPOOLDIR (/var/spool/MIMEDefang) to tmps. >> >> My /etc/fstab >> tmpfs /var/spool/MIMEDefang tmpfs >> defaults,size=128m,mod

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

2014-02-21 Thread Marcus Schopen
Hi Kees, I put $Features{'Path:QUARANTINEDIR'} to mimedefang.pl.conf and in my case (Ubuntu 12.04 LTS) .spamassassin is automatically located under /var/spool/MD-Quarantine without changing home in passwd or changing HOME=/var/spool/MD-Quarantine in /etc/init.d/mimedefang. Kind of strange, but it

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

2014-02-21 Thread Kees Theunissen
On Fri, 21 Feb 2014, Marcus Schopen wrote: >Hi Kees, > >I put $Features{'Path:QUARANTINEDIR'} to mimedefang.pl.conf and in my >case (Ubuntu 12.04 LTS) .spamassassin is automatically located >under /var/spool/MD-Quarantine without changing home in passwd or >changing HOME=/var/spool/MD-Quarantine i