Great Circle Associates Majordomo-Users
(June 2000)
 

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

Subject: Re: What's wrong with this?
From: dliston @ netscape . com (Dan Liston)
Organization: iPlanet
Date: Wed, 28 Jun 2000 15:38:32 -0500
To: John Poltorak <jp @ mail . eyup . org>
Cc: majordomo-users @ GreatCircle . COM
References: <20000627210327.H430@mail.eyup.org>

If your test.msg includes properly formatted header lines, you can do
this;

cat test.msg | sendmail -t

or 

sendmail -t < test.msg

If you do these commands as the majordomo user, you risk getting punt
and bounce messages about not replying to myself.

Dan Liston

John Poltorak wrote:
> 
> 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:
References:
Indexed By Date Previous: Re: effictive uid and gid problems
From: dliston@netscape.com (Dan Liston)
Next: Re: unknown mailer error 1
From: dliston@netscape.com (Dan Liston)
Indexed By Thread Previous: What's wrong with this?
From: John Poltorak <jp@mail.eyup.org>
Next: Re: What's wrong with this?
From: John Poltorak <jp@mail.eyup.org>

Google
 
Search Internet Search www.greatcircle.com