Qmail
[Top] [All Lists]

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

To: qmail List <qmail@list.cr.yp.to>
Subject: Re: qmail-dk not signing mail sent from system application
From: Kyle Wheeler <kyle-qmail@memoryhole.net>
Date: Wed, 6 Jun 2007 14:15:14 -0600
Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
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
Dkim-signature: v=0.5; a=rsa-sha1; c=relaxed; d=memoryhole.net; h=received:comment:domainkey-signature:received:received:date:from:to:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; q=dns/txt; s=default; bh=2PSLFnop/iyl3lQ2mhvYMk1pyCo=; b=Ib6ErBq0tUC5vOvmlljxR5e3/EzGYDFqdOtaFhb6LgWPQfIxo9+AYBKxrmU2eosB8tF2OCG4gp2ymz+oiilgd4gTl7NGEZv48ThJruFD67e0PPEEf9jHF9Md2FtqdSenRTea3DHgIX0Zx4BOVtm+4NPimcMBj36o/yATYxE6psg=
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=memoryhole.net; b=OS+K3wa1uyKJdUqRpVNpWaDyxYdKQaY0zGVtpSyGVXSI6wB7EUjQdRopXSCb+690P9PkJUmdy831cNxrgeBlPpVh6waniz7Q0MU8CFuPHCFDgC5QIgRtw3L2ahr5QfczjM+Lhlh+0KohzcNN1Z4tuR/N5l4EEDcQ6QLLRGK0XEI= ;
Domainkey-status: good
In-reply-to: <4666FEF0.60601@dotcomholdingsofbuffalo.com>
Mail-followup-to: qmail List <qmail@list.cr.yp.to>
Mailing-list: contact qmail-help@list.cr.yp.to; run by ezmlm
References: <4666F97C.5060209@dotcomholdingsofbuffalo.com> <p06240603c28cac286ed5@chowder.jmatt.net> <4666FEF0.60601@dotcomholdingsofbuffalo.com>
User-agent: Mutt/1.5.15cvs (2007-05-20)
On Wednesday, June  6 at 02:37 PM, quoth Phil Breskey:
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.

That's not the way environment variables work. You don't pass them as arguments to your function command, you have to establish them before you call your command. Like this:

    env DKSIGN=/etc/domainkeys/dotcomholdingsofbuffalo.com/default \
    QMAILQUEUE=/var/qmail/bin/qmail-dk \
    /usr/sbin/sendmail -t -i -fbounce@dotcomholdingsofbuffalo.com

~Kyle
--
Every American expects and deserves clean air, and then we act on that belief, then we will set an example for the rest of the world to follow.
                                                  -- George H. W. Bush

Attachment: pgpRm9SEgtx6G.pgp
Description: PGP signature

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