Matt Simpson wrote:
At 2:14 PM 6/6/07, Phil Breskey wrote:
qmail is signing messages fine when I compose and send an email from
my client, but it is not signing when I envoke a script or from the
command line (using the mail command). I have two entries in my
tcp.smtp file which look like this:
When you send mail from a script or the command line, it is not going
through qmail-smtpd, so the entries in your tcp.smtp file have no
effect. You need to set the appropriate environment variables, via
export or setenv, depending on which shell you are using. You can do
this in the scripts, or in your login profile.
Hi Matt, thanks for the reply. The line in the script I'm using is:
/usr/sbin/sendmail -t -i -fbounce@dotcomholdingsofbuffalo.com
I tried changing it to this:
/usr/sbin/sendmail -t -i -fbounce@dotcomholdingsofbuffalo.com
DKSIGN=/etc/domainkeys/dotcomholdingsofbuffalo.com/default
QMAILQUEUE=/var/qmail/bin/qmail-dk
Because in my reading it said something about qmail-inject passing along
variables which were passed to it, but that didn't seem to work.
<shrugs> I know it's probably something silly that I'm missing. Thanks
again.
|