[Mimedefang] examples/init-script

David F. Skoll dfs at roaringpenguin.com
Tue Apr 24 11:18:00 EDT 2007


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

> +# Set to yes if you don't want to see invalid recipients
> +# MX_NO_BAD_RCPTS=no
> +

Aiee... double-triple-negatives!  I think patch below is clearer.

Regards,

David.

--- MIMEDefang/trunk/examples/init-script.in	2006/11/09 16:35:46	12997
+++ MIMEDefang/trunk/examples/init-script.in	2007/04/24 15:15:18	14971
@@ -156,6 +156,10 @@
 # Multiplexor queue timeout -- default is 30 seconds
 # MX_QUEUE_TIMEOUT=30
 
+# Set to no if you don't want to see invalid recipients.  Only
+# works with Sendmail 8.14.0 and later.
+# MX_SEE_BAD_RCPTS=yes
+
 # SUBFILTER specifies which filter rules file to use
 # SUBFILTER=@CONFDIR_EVAL@/mimedefang-filter
 
@@ -214,6 +218,7 @@
 	`[ "$MX_STATS_SYSLOG" = "yes" ] && echo "-T"` \
 	`[ "$MX_STATUS_UPDATES" = "yes" ] && echo "-Z"` \
 	`[ -n "$MX_QUEUE_SIZE" ] && echo "-q $MX_QUEUE_SIZE"` \
+	`[ "$MX_SEE_BAD_RCPTS" = "no" ] && echo "-N"` \
 	`[ -n "$MX_QUEUE_TIMEOUT" ] && echo "-Q $MX_QUEUE_TIMEOUT"` \
 	`[ -n "$MX_NOTIFIER" ] && echo "-O $MX_NOTIFIER"` \
 	-s $MX_SOCKET



More information about the MIMEDefang mailing list