[Mimedefang] examples/init-script

John Nemeth jnemeth at victoria.tc.ca
Tue Apr 24 17:47:48 EDT 2007


On Sep 14,  5:53am, "David F. Skoll" wrote:
} 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.

     Hmm, not sure why you're calling it a "double-triple-negative"...
Anyways, I find the patch below to be counter-intuitive or at least
inconsistent, since in all other cases you turn on an option by setting
the value to "yes".  Also, it should be MD_... (my bad, teach me to do
this stuff late at night instead of taking down a production mail
server in the middle of the day).

} --- 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
}
}-- End of excerpt from "David F. Skoll"



More information about the MIMEDefang mailing list