I'm using majordomo for several mailing lists for several years, but only
now decided to start using bounce, bounce-remind and bounce -expire ...
However, I found that "bounce -expire" will send mail to "majordomo" by
default which doesn't make sense,
since majordomo of course is piped to "wrapper majordomo..." which then
complains of getting an incorrect command (and gives the standard help on
using majordomo).
A more useful default to send e-mail to is probably "owner-majordomo".
The following patch (against 1.94.4) does implement this (and has been
tested):
--- bounce.~3~ Mon Sep 20 17:20:53 1999
+++ bounce Mon Sep 20 19:03:26 1999
@@ -122,14 +122,15 @@
($sec,$min,$hour,$mday,$mon,$year) = localtime(time-$maxage);
+$mail_to = "owner-$majordomo{$list}";# "owner-" is crucial [MM]
if ($debug) {
open(MSG, ">&STDOUT");
} else {
- open(MSG, "|$MAILER $majordomo{$list}") ||
- die("open(MSG, \"|$MAILER $majordomo{$list}\"): $!\nStopped");
+ open(MSG, "| $MAILER $mail_to") ||
+ die("open(MSG, \"| $MAILER $mail_to\"): $!\nStopped\n");
}
-print MSG "To: $majordomo{$list}\n";
+print MSG "To: $mail_to\n";
print MSG "Subject: expired bounces entries\n" if $expire;
print MSG "\n";
Note: I'm only on majordomo-announce, not on this mailing.
Please (CC) me when answering...
Martin Maechler <maechler@stat.math.ethz.ch> http://stat.ethz.ch/~maechler/
Seminar fuer Statistik, ETH-Zentrum LEO D10 Leonhardstr. 27
ETH (Federal Inst. Technology) 8092 Zurich SWITZERLAND
phone: x-41-1-632-3408 fax: ...-1228 <><
|
|