[Mimedefang] examples/init-script

David F. Skoll dfs at roaringpenguin.com
Wed Apr 25 15:19:27 EDT 2007


Hi,

Here's my latest patch for the init script.  I think this one
(a) satisfies everyone and (b) actually works!

Regards,

David.

--- MIMEDefang/trunk/examples/init-script.in	2006/11/09 16:35:46	12997
+++ MIMEDefang/trunk/examples/init-script.in	2007/04/25 19:17:12	14983
@@ -156,6 +156,10 @@
 # Multiplexor queue timeout -- default is 30 seconds
 # MX_QUEUE_TIMEOUT=30
 
+# Set to yes if you don't want MIMEDefang to see invalid recipients.
+# Only works with Sendmail 8.14.0 and later.
+# MD_SKIP_BAD_RCPTS=no
+
 # SUBFILTER specifies which filter rules file to use
 # SUBFILTER=@CONFDIR_EVAL@/mimedefang-filter
 
@@ -239,6 +243,7 @@
 	`[ "$MX_RECIPIENT_CHECK" = "yes" ] && echo "-t"` \
 	`[ "$KEEP_FAILED_DIRECTORIES" = "yes" ] && echo "-k"` \
 	`[ "$MD_EXTRA" != "" ] && echo $MD_EXTRA` \
+	`[ "$MD_SKIP_BAD_RCPTS" = "yes" ] && echo "-N" \
 	`[ "$ALLOW_NEW_CONNECTIONS_TO_QUEUE" = "yes" ] && echo "-q"` \
 	-p $SOCKET
     RETVAL=$?



More information about the MIMEDefang mailing list