Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

postfix duplicated dkim signature

379 views
Skip to first unread message

Birta Levente

unread,
Feb 16, 2012, 4:46:47 AM2/16/12
to
Hello

I use postfix 2.7.2 with amavisd-new, opendkim and dk-milter. My problem
is dkim signature appear 2 times in mail header. It is ok? how can i fix
this?

thanks
Levi

Wietse Venema

unread,
Feb 16, 2012, 7:09:13 AM2/16/12
to
Birta Levente:
TO REPORT A PROBLEM see http://www.postfix.org/DEBUG_README.html#mail

TO (UN)SUBSCRIBE see http://www.postfix.org/lists.html

Thank you for using Postfix.

li...@coffeehabit.net

unread,
Feb 16, 2012, 8:02:56 AM2/16/12
to
On 16/02/12 09:46, Birta Levente wrote:
> Hello
>
> I use postfix 2.7.2 with amavisd-new, opendkim and dk-milter.

I'm curious to know why you're using opendkim and dk-milter instead of
using the built-in DKIM signing/checking in amavisd-new?

> My problem
> is dkim signature appear 2 times in mail header. It is ok? how can i fix
> this?

Are you not perhaps signing with both DKIM and domainkey signature?

Birta Levente

unread,
Feb 16, 2012, 8:29:40 AM2/16/12
to
On 16/02/2012 15:02, li...@coffeehabit.net wrote:
On 16/02/12 09:46, Birta Levente wrote:
Hello

I use postfix 2.7.2 with amavisd-new, opendkim and dk-milter.

I'm curious to know why you're using opendkim and dk-milter instead of using the built-in DKIM signing/checking in amavisd-new?

I think its easier to configure and people say keeps more rapidly up to day with changes to the DKIM standards.


> My problem
is dkim signature appear 2 times in mail header. It is ok? how can i fix
this?

Are you not perhaps signing with both DKIM and domainkey signature?
No, all the mails are signed with DKIM and DomainKey.

main.cf:
smtpd_milters = inet:localhost:8891,inet:localhost:8892
non_smtpd_milters = $smtpd_milters
milter_protocol = 2
milter_default_action = accept


Maybe is signed 2 times because the amavisd-new reinject the mail?


Here the related header:

Received-SPF: pass (google.com: domain of le...@gogogog.go designates 88.88.88.88 as permitted sender) client-ip=88.88.88.88;
Authentication-Results: mx.google.com; spf=pass (google.com: domain of le...@gogogog.go designates 88.88.88.88 as permitted sender) smtp.mail=le...@gogogog.go; dkim=pass header.i=gogog...@gogogogo.og
Received: from localhost (localhost.localdomain [127.0.0.1])
��� by mail.ogogog.go (Postfix) with ESMTP id 2C3D0117C61
��� for <go...@gogogo.go>; Thu, 16 Feb 2012 11:27:39 +0200 (EET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gogogogo.og;
��� s=mail; t=1329384459; i=gogog...@gogogogo.og;
��� bh=g3zLYH4xKxcPrHOD18z9YfpQcnk/GaJedfustWU5uGs=;
��� h=Message-ID:Date:From:MIME-Version:To:Subject:Content-Type:
���� Content-Transfer-Encoding;
��� b=bPG4XAQhXelbhfvaNR6qqjkD+QtYW3sKxwx76lExAxK9WsEJPygHYCmPHc1RDRuH/
���� 9kW3x8zPpGNL8bS0Ru5pfLCxh6oytkEuIC2tKcgmSK4km5AjZcepNBos2s7B3HtbgL
���� R+PLIHvTe6DOxuqVsjKsSZTpGDcIgn4BRul/Np6M=
X-Virus-Scanned: amavisd-new at ogogog.go
Received: from mail.ogogog.go ([127.0.0.1])
��� by localhost (mail.ogogog.go [127.0.0.1]) (amavisd-new, port 10024)
��� with ESMTP id wy4yozd49FpF for <go...@gogogo.go>;
��� Thu, 16 Feb 2012 11:27:33 +0200 (EET)
Received: from [192.168.1.2] ( [192.168.1.2])
��� (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
��� (No client certificate requested)
��� (Authenticated sender: le...@gogogog.go)
��� by mail.ogogog.go (Postfix) with ESMTPSA id A6C0A117C5F
��� for <go...@gogogo.go>; Thu, 16 Feb 2012 11:27:33 +0200 (EET)
X-DomainKeys: Sendmail DomainKeys Filter v1.0.2 mail.ogogog.go A6C0A117C5F
DomainKey-Signature: a=rsa-sha1; s=mail; d=gogogogo.og; c=simple; q=dns;
��� b=NAoz38nesEe51iDiW6e3IUz6JI/A9T2HHXm9TEO3i3YhG4lo9jGKgAdzE694ROHK9
��� 32dvbtPYAIeKV5XKdWiziWEWyQ0VgJl+Y/0ob220L41PgBJGySsYjER9oaTRDWnEA7q
��� 5s7bAQv271d5uBY0zyug2h7niNGrfPaPc4MXnhY=
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gogogogo.og;
��� s=mail; t=1329384453; i=gogog...@gogogogo.og;
��� bh=g3zLYH4xKxcPrHOD18z9YfpQcnk/GaJedfustWU5uGs=;
��� h=Message-ID:Date:From:MIME-Version:To:Subject:Content-Type:
���� Content-Transfer-Encoding;
��� b=PYb3ucj83tuXJ3+s6jHAZ8aQ14RLqiyyQVtL1rZDRq4wIztFmATgiP2aPlyqat3Ny
���� Yj33qdKuIxFAldM8Bu4KMgx8GKKq1QPQemfHc3QUP8mojQlddQ79k1uPrP/6tdUCtv
���� 9fbK1DodD+NQSbj0PMUC1sb+0arraV0IVfZkGT5A=
0 new messages