I'm trying to configure the $mailer variable, similar to the example in
the majordomo.cf (the example uses TLB, I'm using bulk_mailer). When I
try to exercise the list, I get an error that "resend[18563] {testlist}
ABORT do_exec_sendmail, number of args <= 1 unsafe to exec". I hotwired
the code in the majordomo perl source to skip the check which was
causing this, and got instead: "resend[18679] {testlist} ABORT
mj_resend: do_exec_sendmail, mailer testlist-out not executable".
The only place where "testlist-out" appears is on the resend alias in
/etc/aliases:
testlist: "| /home/majordomo/wrapper resend -l testlist testlist-out"
I'm not sure how to write the resend alias if I'm not going to have the
last argument used. In the majordomo.cf, I tried:
$mailer = "$sendmail_command -oi -oee -f\$sender";
if ($main'program_name eq 'mj_resend') {
$mailer = "/usr/local/bin/bulk_mailer owner-$opt_l\@$whereami
$listdir/$opt_l";
}
Any insights on this?
If I run bulk_mailer using an alias (testlist-out in this example),
everything works just fine. I'm trying to NOT have an alias for
testlist-out, since that can be exploited.
Dan
--
-----------------------------------------------------------------
Daniel Senie dts@senie.com
Amaranth Networks Inc. http://www.amaranthnetworks.com
|
|