From 498e7ab274bb78fa7c91b7622a1d1230cc8f867c Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sun, 1 Jun 2003 18:36:19 +0000 Subject: Recognize amavisd-new as alternative to amavisd. --- postfix/postfix.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/postfix/postfix.sh b/postfix/postfix.sh index 670beeb..22a3e10 100755 --- a/postfix/postfix.sh +++ b/postfix/postfix.sh @@ -3,7 +3,7 @@ # /etc/local-COMMON/postfix/postfix.sh # Copyright 2002-2003 Jonas Smedegaard # -# $Id: postfix.sh,v 1.16 2003-04-10 04:27:10 jonas Exp $ +# $Id: postfix.sh,v 1.17 2003-06-01 18:36:19 jonas Exp $ # # Auto-tweak plain installed postfix Debian package # @@ -106,7 +106,7 @@ else echo 'TLS not activated - check the script for requirements...' fi -if [ -x /usr/sbin/amavisd ]; then +if [ -x /usr/sbin/amavisd -o -x /usr/sbin/amavisd-new ]; then cat $confdir/master.cf | egrep -q "^smtp-amavis$sp" || \ echo 'smtp-amavis unix - - n - 2 smtp -o smtp_data_done_timeout=1200s -o smtp_never_send_ehlo=yes -o disable_dns_lookups=yes' >> $confdir/master.cf cat $confdir/master.cf | egrep -q "^127.0.0.1:10025$sp" || \ -- cgit v1.2.3