From owner-freebsd-ports@FreeBSD.ORG Wed Feb 8 08:58:41 2006 Return-Path: X-Original-To: ports@FreeBSD.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9C81516A420 for ; Wed, 8 Feb 2006 08:58:41 +0000 (GMT) (envelope-from nino80@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 005DA43D4C for ; Wed, 8 Feb 2006 08:58:40 +0000 (GMT) (envelope-from nino80@gmail.com) Received: by zproxy.gmail.com with SMTP id 14so1615023nzn for ; Wed, 08 Feb 2006 00:58:40 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:mime-version:content-type:content-transfer-encoding:content-disposition; b=mVWvLF/i4jaG7RD5epEdvYuC5oAJCLBwdK9KQ2NByt+w7qTAFbinDw3Z/9QkCTLCWM/lnNE17ipbIvkBK0xwVLOsL8+wXX75UR/V7WKJ7EuhluuJhawebXfbIoisiwBIDWqAuwKw/XOph4uWRtK4bLtwO/jmOD6ZiUY/IncehU0= Received: by 10.65.84.16 with SMTP id m16mr90267qbl; Wed, 08 Feb 2006 00:58:39 -0800 (PST) Received: by 10.65.95.18 with HTTP; Wed, 8 Feb 2006 00:58:39 -0800 (PST) Message-ID: <92bcbda50602080058s2dc1d954y49b2a0dd37b91f55@mail.gmail.com> Date: Wed, 8 Feb 2006 09:58:39 +0100 From: n j To: wes@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Cc: ports@FreeBSD.org Subject: FreeBSD Port: mimedefang-2.54 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Feb 2006 08:58:41 -0000 Hello, Don't know if this has been reported and/or fixed... After installing mimedefang, the attempt to start it using rc.d startup script, mimedefang.sh, succeeds, but reports the following: "Starting mimedefang: [: missing ] [ OK ]" A few hours later (well, I'm no expert) :), I figured what's wrong with the installation. It appears that startup script has a bug. On lines 180 and 218, a space is missing before the closing square bracket, after the SPOOLDIR variable: the line should read [ -n "$SPOOLDIR" ] && echo "-z $SPOOLDIR" instead of [ -n "$SPOOLDIR"] && echo "-z $SPOOLDIR" (note the space). While I'm at it, it would be nice if mimedefang installation somehow modified sendmail startup script to automatically start mimedefang, as sendmail with mimedefang configured but not started doesn't work anyway. But this is more of an idea to think about than an RFE :). -- Nino