]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - lfs/dma
dma: Add script that cleans up stale emails in the spool directory
[people/pmueller/ipfire-2.x.git] / lfs / dma
diff --git a/lfs/dma b/lfs/dma
index 4e6150e8a02696b6cc8d7ac5ea82a2cfacd53755..9fe49ab094f22ecf4b72ce1a49aab786082f660b 100644 (file)
--- a/lfs/dma
+++ b/lfs/dma
@@ -78,6 +78,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        cd $(DIR_APP) && sed -i '/CONFDIR/s/etc\/dma/var\/ipfire\/dma/g' Makefile
        cd $(DIR_APP) && make
        cd $(DIR_APP) && make install mailq-link install-spool-dirs install-etc
+       install -v -m 755 $(DIR_SRC)/config/dma/dma-cleanup-spool /usr/sbin
        chown -R nobody.nobody /var/ipfire/dma
        chown nobody.root /var/ipfire/dma/auth.conf
        ln -svf dma /usr/sbin/sendmail.dma