Qmail
[Top] [All Lists]

Re: qmail-dk not signing mail sent from system application

Subject: Re: qmail-dk not signing mail sent from system application
From: Phil Breskey <pbreskey@dotcomholdingsofbuffalo.com>
Date: Wed, 06 Jun 2007 14:37:36 -0400
Cc: qmail List <qmail@list.cr.yp.to>
Delivered-to: sp-com-lists@consult.net
Delivered-to: gmail-qmail@securepoint.com
Delivered-to: sp.com.list@gmail.com
Delivered-to: mailing list qmail@list.cr.yp.to
In-reply-to: <p06240603c28cac286ed5@chowder.jmatt.net>
Mailing-list: contact qmail-help@list.cr.yp.to; run by ezmlm
References: <4666F97C.5060209@dotcomholdingsofbuffalo.com> <p06240603c28cac286ed5@chowder.jmatt.net>
User-agent: Thunderbird 2.0.0.0 (X11/20070326)
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.

<Prev in Thread] Current Thread [Next in Thread>