bsmtp handling updated for exim4
authorrmurray <>
Mon, 17 Jul 2006 20:59:26 +0000 (20:59 +0000)
committerrmurray <>
Mon, 17 Jul 2006 20:59:26 +0000 (20:59 +0000)
ud-replicate

index bf1d2db..275b090 100755 (executable)
@@ -1,7 +1,7 @@
 #! /bin/sh
 
 #   Copyright (c) 1999-2001  Jason Gunthorpe <jgg@debian.org>
-#   Copyright (c) 2002-2003  Ryan Murray <rmurray@debian.org>
+#   Copyright (c) 2002-2003,2006  Ryan Murray <rmurray@debian.org>
 #   Copyright (c) 2004-2005  Joey Schulze <joey@infodrom.org>
 #
 #   This program is free software; you can redistribute it and/or modify
@@ -86,9 +86,9 @@ if [ -x /usr/bin/dchroot ]; then
        done
 fi
 
-if [ -d "/etc/exim" -a -e "$HOST/bsmtp" ]; then
-       if perl -e 'exit !((stat "/etc/exim/bsmtp")[9] < time()-3600)'; then
-               cp "$HOST/bsmtp" /etc/exim/bsmtp
+if [ -d "/etc/exim4" -a -e "$HOST/bsmtp" ]; then
+       if perl -e 'exit !((stat "/etc/exim4/bsmtp")[9] < time()-3600)'; then
+               cp "$HOST/bsmtp" /etc/exim4/bsmtp
        fi
 fi
 if [ -d "/etc/postfix" -a -f "$HOST/forward-alias" ]; then