[Mimedefang] defang startup errors

Greg McCarthy GMcCARTHY at metropolitan.co.za
Sun Dec 11 08:58:04 EST 2005

Thanks - that seemed to have done the trick. Now onto the next part ;)

-----Original Message-----
From: mimedefang-bounces at lists.roaringpenguin.com
[mailto:mimedefang-bounces at lists.roaringpenguin.com] On Behalf Of David
F. Skoll
Sent: 09 December 2005 08:18 PM
To: mimedefang at lists.roaringpenguin.com
Subject: Re: [Mimedefang] defang startup errors

Greg McCarthy wrote:

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

There are annoying bugs in the 2.54 startup script; sorry!

Because of ancient and hairy UNIXy reasons, this snippet is not

	`[ -n "$SPOOLDIR"] && echo "-z $SPOOLDIR"` \

whereas this one is:

	`[ -n "$SPOOLDIR" ] && echo "-z $SPOOLDIR"` \

Spot the difference? :-)

Adding a space before the ] on lines 182 and 220 will make the
warning go away.


Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list
MIMEDefang at lists.roaringpenguin.com

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