Qmail
[Top] [All Lists]

Re: Broken DomainKey Implementation

To: "Russ Nelson" <nelson@crynwr.com>
Subject: Re: Broken DomainKey Implementation
From: "Erik A. Espinoza" <erik.espinoza@gmail.com>
Date: Fri, 6 Apr 2007 12:31:51 -0700
Cc: 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
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=AnSimWwcwUZfN4bxZfsGPm5FgDpq0RqIgfII81PsftvXP29jjpFReWfj4zGqQbT7+Bmz+6QbP3zKRpQr0oCFCD+wma+8tz8kQddQflfAykAPGqo5gnJudxCcr1AHvA9f8epXvZinifV9eCuu0SXksiKQIaLmBUDQ/aqzCtLrqCk=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=AqJp0T2h/RQcFGUWLk+ACIiq/WJEKAcKQYe4eWYWKIt6HgIW04Ocig+7RmCVnWiQt3ZSof/rpBwutQSBvVtfwyqFLyeyXt/QpdBTJlbHZY5xmg+Ub66mWWpp6bp+6WiZO9FsmchPflei3GFUEX2bZ4ohFaZdndoO5LEma71hQx0=
Domainkey-status: good (test mode)
In-reply-to: <17941.57540.536844.183887@desk.crynwr.com>
Mailing-list: contact qmail-help@list.cr.yp.to; run by ezmlm
References: <b86db13f0704011331m4135c427vc934ced0d8b64120@mail.gmail.com> <20070401205313.GA5988@discworld.dyndns.org> <b86db13f0704011429x17f3e0b1w903861f725380af5@mail.gmail.com> <17941.57540.536844.183887@desk.crynwr.com>
Hi Russ,

 > 1) No reporting at all. Mail gets dropped without notice to the admin

Nope.  If you have so configured it, email gets a qmail-queue permfail
response.  Whatever the calling program does with that is its
responsibility.

Nothing shows up in the log when mail is dropped. All other patches
write info into the log when mail is rejected. This makes
troubleshooting your broken code incredibly hard.

 > 2) Doesn't honor disabling. If you disable it, qmail-dk can still drop mail.

What do you mean by "disabling"?  If qmail-dk is disabled, then you're
no longer running it, so how can software which isn't running drop mail?

Disable was the wrong word. If you set qmail-dk to not permanently
reject mail (IE soft errors), qmail-dk can still hard reject mail.

 > 3) Doesn't honor testing flag in DNS

Errr, it's supposed to.  Do you have a test case for which it fails?

Probably not a big deal

 > 4) Doesn't set "h=" flag which states what is covered by the sig
 > (causes forwards and backup mx mail to fail)

Nope.  If you have software which is munging the message ... fix it.
But forwards and backup mx mail don't cause it to fail.

Adding Received headers is not message munging. The fact that qmail-dk
doesn't set the h= flag means outgoing mail can be hard rejected by
mail servers doing the right thing.

The fact that qmail-dk doesn't honor the h= flag for incoming mail
means that qmail-dk will set DomainKey status as bad when the mail is
good (verifies via dktest).

Look Russ, I'm not here to flame you or your contributions. All I'm
saying is that this doesn't work properly for most people. The fact
that so many people jumped in as soon as I brought it up should be a
sign of that, rather than trying to defend broken code.

Thanks,
Erik

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