From dd1b03799e383df43069ad317db41ec690a8de31 Mon Sep 17 00:00:00 2001 From: rmurray <> Date: Mon, 17 Jul 2006 20:59:26 +0000 Subject: [PATCH] bsmtp handling updated for exim4 --- ud-replicate | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ud-replicate b/ud-replicate index bf1d2db..275b090 100755 --- a/ud-replicate +++ b/ud-replicate @@ -1,7 +1,7 @@ #! /bin/sh # Copyright (c) 1999-2001 Jason Gunthorpe -# Copyright (c) 2002-2003 Ryan Murray +# Copyright (c) 2002-2003,2006 Ryan Murray # Copyright (c) 2004-2005 Joey Schulze # # 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 -- 2.20.1