From: Peter Pentchev Date: Tue, 15 Jun 2010 11:01:57 +0000 (+0000) Subject: Invoke dma-migrate if present before flushing the queue. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e2a1525279f1b060f7b508c68ed1bca4c74a3d9d;p=people%2Fms%2Fdma.git Invoke dma-migrate if present before flushing the queue. --- diff --git a/changelog b/changelog index 9d4b635..5f58064 100644 --- a/changelog +++ b/changelog @@ -24,6 +24,7 @@ dma (0.0.2009.08.29-1) UNRELEASED; urgency=low dpkg-buildpackage to set them by default. * Add the dma-migrate utility (in a separate binary package) to convert spool files to the new queue format (M* and Q* files for each message) + * Add a dma-migrate invocation to dma.cron.d -- Peter Pentchev Wed, 02 Jun 2010 14:10:05 +0300 diff --git a/dma.cron.d b/dma.cron.d index a3df66f..ad4f059 100644 --- a/dma.cron.d +++ b/dma.cron.d @@ -1,3 +1,3 @@ # Flush the dma mail transfer agent's queue every five minutes. # -*/5 * * * * root [ -x /usr/sbin/dma ] && /usr/sbin/dma -q1 +*/5 * * * * root [ -x /usr/sbin/dma-migrate ] && /usr/sbin/dma-migrate; [ -x /usr/sbin/dma ] && /usr/sbin/dma -q1