First, the problem: we need to send email from our Qmail server using
standard time instead of GMT.

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 ... ]

My datemail file contains:
#!/bin/sh
# WARNING: This file was auto-generated. Do not edit!
exec /var/qmail/bin/predate /var/qmail/bin/sendmail ${1+"$@"}

Any help would be greatly appreciated.

Thanks
Matt Simonsen

Reply via email to