Qmail
[Top] [All Lists]

Domain Key signature on bounce messages?

To: Qmail mailing list <qmail@list.cr.yp.to>
Subject: Domain Key signature on bounce messages?
From: Matt Simpson <net-qmlist@jmatt.net>
Date: Fri, 16 Feb 2007 22:32:48 -0500
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
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=jmatt.net; b=Vs33dc48VvAyzri+9okLMu0VPL5/TBbIMCYAnwFNOFKCg+epdP1DUjb5Hp2znL0+4FMPKuA3S5py+f5XrivPw7OlKtw1JInNc8KOOFpah5m8v3tLOS1RU4Z0eplS+/PZC0jFqfhDzJQ6YGwWvF4mgm0aPRHIzQkIKvH6GBruC88=; h=Received:Mime-Version:Message-Id:Date:From:Subject:Mime-Version:Content-Type;
Domainkey-status: bad
Mailing-list: contact qmail-help@list.cr.yp.to; run by ezmlm

Has anybody tried to make qmail sign bounce messages? I tried setting the DKSIGN and QMAILQUEUE variables in my qmail-send startup script. That worked; bounce messages got signed. Unfortunately, it caused legitimate messages to get bounced (but at least the bounces were signed.) The problem seemed to occur with messages that were forwarded or delivered via an alias. They were bounced with a message saying:

Unable to forward message: mail server permanently rejected message
(#5.3.0).


I'm not sure exactly what the problem is, but I'm guessing that for some reason when qmail-dk gets invoked for the message's second trip through the queue, it gets upset about something.

I know it's better to reject messages at the smtp level instead of bouncing them whenever possible, and that's how I do most of my spam control (validrcptto patch, rbls, spamassassin invoked via simscan, etc.), but there are still some messages that get through that level and need to get bounced. For example, ezmlm will bounce messages that can't/shouldn't be delivered to a list for some reason. Since I can't eliminate all bounces, I'd like to sign the ones I do generate.

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