[Mimedefang] defang startup errors

Greg McCarthy GMcCARTHY at metropolitan.co.za
Fri Dec 9 01:53:44 EST 2005


Hi all,

I'm trying to get mimedefang (v2.54) up and running - after a few
install problems and permission issues I thought I had it all setup
correctly as per the howto.

When I now run the init-script I get the following:

./init-script: line 182: [: missing `]'
[  OK  ]
Starting mimedefang:
./rc.mimedefang: line 220: [: missing `]'
[  OK  ]

Line 182 is as follows: 

        $PROGDIR/$prog-multiplexor -p $MXPID \
        $EMBEDFLAG \
        `[ -n "$SPOOLDIR"] && echo "-z $SPOOLDIR"` \
        `[ -n "$FILTER" ] && echo "-f $FILTER"` \
        `[ -n "$SYSLOG_FACILITY" ] && echo "-S $SYSLOG_FACILITY"` \
        `[ -n "$SUBFILTER" ] && echo "-F $SUBFILTER"` \
        `[ -n "$MX_MINIMUM" ] && echo "-m $MX_MINIMUM"` \
        `[ -n "$MX_MAXIMUM" ] && echo "-x $MX_MAXIMUM"` \
        `[ -n "$MX_MAP_SOCKET" ] && echo "-N $MX_MAP_SOCKET"` \
        `[ -n "$MX_LOG_SLAVE_STATUS_INTERVAL" ] && echo "-L
$MX_LOG_SLAVE_STATUS_INTERVAL"` \
        `[ -n "$MX_USER" ] && echo "-U $MX_USER"` \
        `[ -n "$MX_IDLE" ] && echo "-i $MX_IDLE"` \
        `[ -n "$MX_BUSY" ] && echo "-b $MX_BUSY"` \
        `[ -n "$MX_REQUESTS" ] && echo "-r $MX_REQUESTS"` \
        `[ -n "$MX_SLAVE_DELAY" ] && echo "-w $MX_SLAVE_DELAY"` \
        `[ -n "$MX_MIN_SLAVE_DELAY" ] && echo "-W $MX_MIN_SLAVE_DELAY"`
\
        `[ -n "$MX_MAX_RSS" ] && echo "-R $MX_MAX_RSS"` \
        `[ -n "$MX_MAX_AS" ] && echo "-M $MX_MAX_AS"` \
        `[ "$MX_LOG" = "yes" ] && echo "-l"` \
        `[ "$MX_STATS" = "yes" ] && echo "-t /var/log/mimedefang/stats"`
\
        `[ "$MX_STATS" = "yes" -a "$MX_FLUSH_STATS" = "yes" ] && echo
"-u"` \
        `[ "$MX_STATS_SYSLOG" = "yes" ] && echo "-T"` \
        `[ "$MX_STATUS_UPDATES" = "yes" ] && echo "-Z"` \
        `[ -n "$MX_QUEUE_SIZE" ] && echo "-q $MX_QUEUE_SIZE"` \
        `[ -n "$MX_QUEUE_TIMEOUT" ] && echo "-Q $MX_QUEUE_TIMEOUT"` \
        `[ -n "$MX_NOTIFIER" ] && echo "-O $MX_NOTIFIER"` \
        -s $MX_SOCKET
    RETVAL=$?

I've searched all over the place for this error and cannot seem to get
anywhere. I've also double checked my permissions and they seem to be
correct. Can anyone point me in the right direction?

Regards
Greg


Metropolitan is an authorised Financial Services Provider.

NOTE: This e-mail (including attachments) is subject to the restrictions, qualifications and disclaimers (the "disclaimer") published at http://www.metropolitan.co.za Please read the disclaimer before opening any attachments or taking any other action in terms of this e-mail.
If you cannot access the disclaimer, kindly send an e-mail to requestdisclaimer at metropolitan.co.za or contact tmalebana at metropolitan.co.za and a copy will be sent to you.
By reading this e-mail or opening any attachment you agree to be bound by the provisions of the disclaimer.

Web: http://www.metropolitan.co.za/
Disclaimer: http://www.metropolitan.co.za/email_disclaimer.html


Metropolitan Life subscribes to KPMG, a completely independent crime disclosure service - make a contribution to the establishment of a fraud free environment by reporting any suspicion to the KPMG Hotline
 
 * RSA     0800 22 14 18 
 * NAMIBIA 0800 00 00 77





More information about the MIMEDefang mailing list