Great Circle Associates Majordomo-Users
(May 1999)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Avoiding outgoing aliases: MJ and bulk_mailer
From: Daniel Senie <dts @ senie . com>
Organization: Amaranth Networks, Inc.
Date: Sun, 23 May 1999 15:19:00 -0400
To: majordomo-users @ greatcircle . com

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

Indexed By Date Previous: Avoiding outgoing aliases: MJ and bulk_mailer
From: Daniel Senie <dts@senie.com>
Next: Re: Majordomo works now; domain question
From: Mats Dufberg <Mats.Dufberg@abc.se>
Indexed By Thread Previous: Avoiding outgoing aliases: MJ and bulk_mailer
From: Daniel Senie <dts@senie.com>
Next: Turning on archive.
From: "Michael Fitzsimmons" <mfitzsim@iiginc.com>

Google
 
Search Internet Search www.greatcircle.com