After my previous emails, I think it's safe to assume that #1 has been
answered... I believe my datemail script is OK.
As to #2, my symbolic links all point correctly to qmail-inject...
[root@wrapguy bin]# ls -l /usr/lib/sendmail
lrwxrwxrwx 1 root root 23 Mar 19 11:12 /usr/lib/sendmail ->
/var/qmail/bin/sendmail
[root@wrapguy bin]# ls -l /usr/sbin/sendmail
lrwxrwxrwx 1 root root 23 Mar 19 11:12
/usr/sbin/sendmail -> /var/qmail/bin/sendmail
I *really* wish that were the problem....
-----Original Message-----
From: Charles Cazabon [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 26, 2001 11:00 AM
To: [EMAIL PROTECTED]
Subject: Re: Symbolic link to datemail?
Matt Simonsen <[EMAIL PROTECTED]> 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
Okay, this looks alright.
[...]
> And one more potentially useful ls is:
>
> [root@wrapguy bin]# ls -l | grep datemail
> -rwxr-xr-x 1 root qmail 126 Mar 19 10:44 datemail
> lrwxrwxrwx 1 root qmail 8 Mar 26 10:48 qmail-inject ->
> datemail
Yes, this seems funny. Datemail here is a 67-byte Bourne shell script:
#!/bin/sh
exec /var/qmail/bin/predate /usr/sbin/sendmail ${1+"$@"}
My questions:
1) What are the contents of your datemail? It's got to be more than here.
2) How much do you want to bet that /usr/sbin/sendmail on your system
is not the qmail sendmail wrapper, but a real sendmail binary? That's
almost certainly the problem here, and would account for the sendmail
error messages you're seeing. If this is the problem, you need to remove
the sendmail binary (or rename it) and replace it with a link to
/var/qmail/bin/sendmail .
Charles
--
-----------------------------------------------------------------------
Charles Cazabon <[EMAIL PROTECTED]>
GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------