[Mimedefang] MIMEDefang 2.62 is released

Oliver Schulze L. oliver at samera.com.py
Tue Apr 10 14:39:31 EDT 2007


No problem, here it is

HTH
Oliver

-- 
Oliver Schulze L.   | Get my e-mail after a captcha in:
Asuncion - Paraguay | http://tinymailto.com/oliver 

-------------- next part --------------
--- mimedefang	2007-01-29 16:37:03.000000000 -0300
+++ mimedefang.ori	2006-06-20 11:51:02.000000000 -0400
@@ -200,14 +200,6 @@
 	return $RETVAL
     fi
 
-    # check mimedefang-filter syntax
-    configtest 2>/dev/null 1>/dev/null
-    RETVAL=$?
-    if [ $RETVAL -ne 0 ] ; then
-        echo "You have an error in your mimedefang-filter. Start cancelled"
-        return $RETVAL
-    fi
-
     echo -n "Starting $prog-multiplexor: "
     [ -e $MX_SOCKET ] && rm -f $MX_SOCKET
     # Tricky stuff below... "echo -E" won't work, hence the two-step.
@@ -328,19 +320,6 @@
     return $RETVAL
 }
 
-function configtest () {
-    # check mimedefang-filter syntax
-    echo -n "Checking syntax: "
-    mimedefang.pl -test 2>/dev/null 1>/dev/null
-    RETVAL=$?
-    if [ $RETVAL -ne 0 ] ; then
-        echo "You have an error in your mimedefang-filter"
-    else
-        echo "Syntax OK"
-    fi
-    return $RETVAL
-}
-
 # See how we were called.
 case "$1" in
     start)
@@ -394,12 +373,9 @@
 	    fi
 	fi
     ;;
-    configtest)
-      configtest
-    ;;
 
     *)
-    echo "Usage: $0 {start|stop|restart|condrestart|reread|reload|status|configtest}"
+    echo "Usage: $0 {start|stop|restart|condrestart|reread|reload|status}"
     exit 1
 esac
 


More information about the MIMEDefang mailing list