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
And the problem again...
[root@wrapguy bin]# ./datemail
sendmail: illegal option -- a
sendmail: usage: sendmail [ -t ] [ -fsender ] [ -Fname ] [ -bp ] [ -bs ] [
arg ... ]
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
Thanks for all the help! I really am stumpted on this one.
Matt
-----Original Message-----
From: Charles Cazabon [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 26, 2001 10:41 AM
To: [EMAIL PROTECTED]
Subject: Re: Symbolic link to datemail?
Matt Simonsen <[EMAIL PROTECTED]> wrote:
> First, the problem: we need to send email from our Qmail server using
> standard time instead of GMT.
The right solution is to have your MUA (or your users' MUAs) insert a
Date: header before passing the mail on to qmail. qmail will then leave
it alone, and it will be in whatever timezone you want.
However...
> I found a solution to this problem from Dave Sill saying to use
datemail...
> He says that, "Some people even replace qmail-inject with a symbolic link
to
> datemail" This is the solution we really need, that is, one where we can
> continue to use the qmail-inject command. At this point I have tried both
a
> symbolic link and actually copying datemail to qmail-inject, but we
continue
> to get the error message:
>
> [root@wrapguy bin]# /var/qmail/bin/qmail-inject
> sendmail: illegal option -- H
> sendmail: usage: sendmail [ -t ] [ -fsender ] [ -Fname ] [ -bp ] [ -bs ] [
> arg ... ]
A sendmail error when calling qmail-inject? Something is screwy. What
does `ls -l /var/qmail/bin/qmail-inject` output? It looks like your
qmail-inject is a symlink to either the qmail sendmail wrapper, or a real
sendmail binary (can't recall enough about the error messages each gives
to determine which).
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.
-----------------------------------------------------------------------