FreeBSD Port: mimedefang-2.54

n j nino80 at gmail.com
Wed Feb 8 00:58:41 PST 2006


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


More information about the freebsd-ports mailing list