On Mon, Mar 26, 2001 at 10:54:20AM -0800, Matt Simonsen wrote:
> Unfortunately, there is no MUA since qmail-inject is being called from
> various scripts. Here's the output you requested, Charles.
> 
> 
> [root@wrapguy bin]# ls -l | grep qmail-inject
> lrwxrwxrwx    1 root     qmail           8 Mar 26 10:48 qmail-inject ->
> datemail
> -rwxr-xr-x    1 root     qmail       34748 Mar 19 10:44 qmail-inject.orig

You are lucky that qmail's sendmail wrapper takes different arguments
than qmail-inject. Otherwise you'd be in an endless loop.

datemail calls, through a symlink, /var/qmail/bin/sendmail.
/var/qmail/bin/sendmail calls qmail-inject. You've set up qmail-inject
to be a link to datemail. Oops.

You're getting your error because, after /var/qmail/bin/sendmail has
parsed sendmail's arguments it calls qmail-inject with arguments
translated appropriately. One of those is -H. What ends up happening is,
because of the above-mentioned loop, /var/qmail/bin/sendmail gets called
again but this time with arguments for qmail-inject. Since they don't
make sense, /var/qmail/bin/sendmail errors out.

This is just a diagnosis. People have already suggested solutions for
you.

Tim

Reply via email to