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:
|
|