[Mimedefang] examples/init-script

John Nemeth jnemeth at victoria.tc.ca
Tue Apr 24 03:01:43 EDT 2007


     Here's a patch to add support for mimedefang-multiplexor's new -N
option:

--- mimedefang.rc       24 Apr 2007 06:29:33 -0000      1.6
+++ mimedefang.rc       24 Apr 2007 06:57:47 -0000      1.7
@@ -156,6 +156,9 @@
 # Multiplexor queue timeout -- default is 30 seconds
 # MX_QUEUE_TIMEOUT=30

+# Set to yes if you don't want to see invalid recipients
+# MX_NO_BAD_RCPTS=no
+
 # SUBFILTER specifies which filter rules file to use
 # SUBFILTER=/etc/mail/mimedefang-filter

@@ -218,6 +221,7 @@
        `[ -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"` +       `[ "$MX_NO_BAD_RCPTS" = "yes" ] && echo "-N"`         -s $MX_SOCKET
     RETVAL=$?
     if [ $RETVAL = 0 ] ; then



More information about the MIMEDefang mailing list