[This may be a FAQ...]
If you, like me, have had great trouble making taboo_headers work,
this patch may be good for you.
It basically adds printing of the error message when the regexp constructed
from the taboo_headers is invalid.
On my config, it ends up in /var/tmp/resend.debug; your mileage may vary.
Note: The patch also turns on debugging - once you have your problem
fixed, you might want to turn it off again.
If it was ever added to mainline source, it should do the same thing
for *all* the taboo_ stuff, not just headers.
(In my case, I had forgotten to quote the @ sign....)
Have fun!
Harald T. Alvestrand
--------------------------
--- /usr/src/majordomo-1.94.4/resend Wed Aug 27 16:59:24 1997
+++ resend Mon Jun 15 09:02:01 1998
@@ -38,8 +38,7 @@
# -C alternate config file
#
-#$DEBUG = 1;
-
+$DEBUG = 1;
# set our path explicitly
# PATH it is set in the wrapper, so there is no need to set it here.
#$ENV{'PATH'} = "/bin:/usr/bin:/usr/ucb";
@@ -601,6 +600,10 @@
eval $is_taboo_header) {
$gonna_bounce .= "taboo header: $taboo ";
print STDERR "$0: parse_header: [$.: boing: $gonna_bounce\n" if
$DEBUG;
+ }
+ if ($DEBUG && $@) {
+ # Something went boink in eval
+ print STDERR "$0: parse_header: taboo_header error $@\n";
}
if ($#global_taboo_headers >= $[ && !$approved &&
eval $is_global_taboo_header) {
--
Harald Tveit Alvestrand, Maxware, Norway
Harald.Alvestrand@maxware.no
|
|