#! /bin/sh /usr/share/dpatch/dpatch-run
## ConfigDefs.pl.dpatch by Simon Walter <simon.walter@hp-factory.de>
##
## DP: debian modification for mailscanners default config 

@DPATCH@
diff -urNad mailscanner-4.57.6~/lib/MailScanner/ConfigDefs.pl mailscanner-4.57.6/lib/MailScanner/ConfigDefs.pl
--- mailscanner-4.57.6~/lib/MailScanner/ConfigDefs.pl	2007-02-08 11:56:50.000000000 +0100
+++ mailscanner-4.57.6/lib/MailScanner/ConfigDefs.pl	2007-02-08 12:06:39.000000000 +0100
@@ -245,7 +245,7 @@
 # These should be checked for dir existence
 [Simple,Dir]
 incomingworkdir		/var/spool/MailScanner/incoming
-lockfiledir		/tmp
+lockfiledir		/var/lock/subsys/MailScanner/
 
 # Check the first word of these for file existence
 [Simple,File]
