Great Circle Associates Majordomo-Users
(June 2000)
 

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

Subject: What's wrong with this?
From: John Poltorak <jp @ mail . eyup . org>
Date: Tue, 27 Jun 2000 21:03:27 +0100
To: majordomo-users @ GreatCircle . COM


I am trying to get Majordomo 1.94.5.1 working under OS/2 and have come
across a problem I don't understand. Not surprising really as I've
never done any Perl programming. Hopefully someone can explain what
I've done wrong...

I'm trying to post to a list from the command line:-

sendmail testlist <test.msg

and I get this error:-

resend.cmd: main'sendmail:  Sender owner-testlist, mail_cmd = sendmail -f owner-testlist -t
mj_resend: ABORT
mj_resend: do_exec_sendmail, mailer sendmail not executing
resend.cmd:  main'log()

This seems to come from here:-

majordomo.pl
~~~~~~~~~~~~
# Exec a mailer process
sub main'do_exec_sendmail {
    &main'abort("do_exec_sendmail, number of args <= 1 unsafe to exec")
      if scalar(@_) <= 1;
    # It makes sense to check to see that the mailer is valid here, but the
    # abort routine must make certain that recursion doesn't develop,
    # because abort calls this routine.
    &main'abort("$main'program_name: do_exec_sendmail, mailer $_[0] not executing")
      unless (-x $_[0]);
    exec(@_);
    die("Failed to exec mailer \"@_\": $!");
}

sendmail is on the path and works fine, so why does it stop here?

$sendmail_command is defined as "sendmail" in majordomo.cf.

I have had some success trying to run an older version of
majordomo which was slightly ammended to run under OS/2, so I
believe it should be possible to get it working..

--
John







Follow-Ups:
Indexed By Date Previous: unknown mailer error 1
From: James Austin <jaustin@gwdi.com>
Next: Re: 550 World Writable directory
From: Bob Dusek <bobd@saintjoe.edu>
Indexed By Thread Previous: Re: unknown mailer error 1
From: dliston@netscape.com (Dan Liston)
Next: Re: What's wrong with this?
From: dliston@netscape.com (Dan Liston)

Google
 
Search Internet Search www.greatcircle.com