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: John Poltorak <jp @ mail . eyup . org>
Date: Wed, 28 Jun 2000 01:00:07 +0100
To: majordomo-users @ GreatCircle . COM
In-reply-to: <200006272231.PAA24007@mpk07.Eng.Sun.COM>; from Mike Oliver on Tue, Jun 27, 2000 at 03:31:41PM -0700
References: <200006272231.PAA24007@mpk07.Eng.Sun.COM>

On Tue, Jun 27, 2000 at 03:31:41PM -0700, Mike Oliver wrote:
> John Poltorak <jp@mail.eyup.org> wrote:
> >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()
> >
> >sendmail is on the path and works fine, so why does it stop here?
>
> I don't know anything about Majordomo on OS/2, but if it uses the same
> kind of 'wrapper' program as it does on Unix then you'll find that
> 'wrapper' explicitly establishes its own (very short) $PATH before
> launching 'resend', so 'resend' doesn't inherit its $PATH from
> 'sendmail' (and therefore not from your command processor).

I just use a wrapper program to add the additional environment
variables which majordomo requires. The path which Majordomo inherits
should be sufficient to find sendmail.

> >$sendmail_command is defined as "sendmail" in majordomo.cf.
>
> Try redefining $sendmail_command to use the absolute pathname of the
> sendmail executable.  For instance, on Solaris I have:
>
>     $sendmail_command = "/usr/lib/sendmail";

I did try that, and even copied sendmail into the appropriate path
but it made no difference.


> Mike.
> --
> mike.oliver@eng.sun.com

--
John





References:
Indexed By Date Previous: effictive uid and gid problems
From: James Austin <jaustin@gwdi.com>
Next: Re: "which" tricker?
From: "Joe R. Jah" <jjah@cloud.ccsf.cc.ca.us>
Indexed By Thread Previous: Re: What's wrong with this?
From: Mike Oliver <Mike.Oliver@eng.sun.com>
Next: effictive uid and gid problems
From: James Austin <jaustin@gwdi.com>

Google
 
Search Internet Search www.greatcircle.com