The code that I posted incorporating Brent Chapman's filter into
majordomo 1.93 wasn't quite right. If you've installed it, make the
following changes to it.
Ed Simpson Internet: evs@igc.apc.org
Technical Staff UUCP: uunet!cdp!evs
Institute for Global Communications Phone: 415-322-9069, 415-442-0220
*** majordomo~ Thu Dec 28 22:55:58 1995
--- majordomo Tue Jan 2 17:34:18 1996
***************
*** 105,111 ****
&set_log($log, $hostname, "majordomo", $reply_to);
# filter mail that is to be ignored
! if (defined($hdrs{'from'}) && defined(@ignore_from)) {
local($from) = $hdrs{'from'};
local($i);
foreach $i (@ignore_from) {
--- 105,111 ----
&set_log($log, $hostname, "majordomo", $reply_to);
# filter mail that is to be ignored
! if (defined(@ignore_from) && defined($hdrs{'from'})) {
local($from) = $hdrs{'from'};
local($i);
foreach $i (@ignore_from) {
***************
*** 112,118 ****
$ignore = "IGNORE REQUEST: From: $i" if ($from =~ /${i}/i);
}
}
! elsif (defined($hdrs{'received'}) && defined(@ignore_rcvd)) {
local($rcvd) = $hdrs{'received'};
local($i);
foreach $i (@ignore_rcvd) {
--- 112,118 ----
$ignore = "IGNORE REQUEST: From: $i" if ($from =~ /${i}/i);
}
}
! if (defined(@ignore_rcvd) && !defined($ignore) && defined($hdrs{'received'})) {
local($rcvd) = $hdrs{'received'};
local($i);
foreach $i (@ignore_rcvd) {
|
|