Since qmail's replacement for sendmail contains the following code:
arg = qiargv;
*arg++ = "bin/qmail-inject";
*arg++ = (flagh ? "-H" : "-a");
if (sender) {
*arg++ = "-f";
*arg++ = sender;
}
*arg++ = "--";
for (i = 0;i < argc;++i) *arg++ = argv[i];
*arg = 0;
execv(*qiargv,qiargv);
substdio_putsflush(subfderr,"sendmail: fatal: unable to run qmail-inject\n");
I would say that the statement about simply using a symlink was misleading at
best. qmail-inject is also an executable program which datemail is not. Just
because something is a wrapper for another program does not automatically make
it a script.
Restore your original qmail-inject executable and modify your scripts to call
datemail directly and I'll bet you it works as you would like it to. :)
On Mon, Mar 26, 2001 at 12:10:43PM -0800, Matt Simonsen wrote:
> Are you sure? Is this wrong?
> http://www.faqts.com/knowledge_base/view.phtml/aid/1167/fid/208
>
> As an aside, on my system /var/qmail/bin/sendmail is not a shell script as
> your first sentence seems to imply but a seperate program... I don't know if
> this has anything to do with my problems.
>
>
>
> -----Original Message-----
> From: Timothy Mayo [mailto:[EMAIL PROTECTED]]
> Sent: Monday, March 26, 2001 11:51 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Symbolic link to datemail?
>
>
> You cannot replace qmail-inject with a symlink to datemail. datemail uses
> /var/qmail/bin/sendmail which simply calls qmail-inject.
>
> Change your original scripts to call datemail directly.
>
--
---------------------------------
Timothy L. Mayo mailto:[EMAIL PROTECTED]
Senior System Administrator
The National Business Network Inc.
localconnect(sm)
http://www.localconnect.net/
The National Business Network Inc. http://www.nb.net/
One Monroeville Center, Suite 850
Monroeville, PA 15146
(412) 810-8888 Phone
(412) 810-8886 Fax