[Rspamd-Users] from (Header | SMTP)

Huber, Peter peter.huber at uni-wh.de
Mon Aug 5 13:18:53 UTC 2019


We user the last rspamd version and all mails are dkim signed.
Now our problem: If we send a mail via our exchange server, all mails are dkim signed. Normally all users use their own mailboxes and everything is working fine. But we use functional mailboxes (shared mailboxes) too and in this case, no dkim signature is correct. This is because rspamd uses the "header from" to sign the mail, but the "smtp from" differs from the "header from".
Is there a way to user the "smtp from" to sign the mail?

Kind Regards

Peter

Here an example:

x-sender: peter.huber at uni-wh.de
x-receiver: test-5a0d1726 at appmaildev.com
Received: from dnsmail2.uni-wh.de ([193.175.243.82]) by appmaildev.com with Microsoft SMTPSVC(8.5.9600.16384);
                Mon, 5 Aug 2019 13:05:53 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=uni-wh.de; s=20170713;
                t=1565010352; h=from:from:sender:sender:reply-to:subject:subject:date:date:
                message-id:message-id:to:to:cc:mime-version:mime-version:
                content-type:content-type; bh=JSJCKmxz36yfJ5GbodSK4tHjVsdYUK+Z3eGk1f+qPTY=;
                b=QYImmUYMNsURXWZORjrgdq0IvN4yPHPmPto0XaqzQ392my7bwjHyu3MV8CbR1K79XooroH
                Kjh0gaqaZwSljvhatxzTx9K5XY3ddHP+0ggAMTRufHsmPlbBD5JRqhAQq8sfTbAHv+l6IQ
                d6dZD7o2wUDdjpeo4Etwc5qXH7POk3ApOq4CaukVIhHbHt6m+9toGwH7a3YrN29r2W2Cg0
                YxglA4CyyGUgr9sGvROz1Rrnw8nZs63EM13dWjqJ4H4cjHdXkXbdgEoZnEJr/J+MSMXFTx
                95KK/ADtbESBuSh2tjraBK+enptyXKY2IvDLtymVrOoMzu1WTGBMftSTln0eZw==
From: BIT-Support an der UW/H <BIT-Support at uni-wh.de>
To: "'test-5a0d1726 at appmaildev.com'" <test-5a0d1726 at appmaildev.com>
Subject: test6
Date: Mon, 5 Aug 2019 13:05:53 +0000
Message-ID: <274b3f85c1354f69865d9eb29faf69dc at exch2.uni-wh.de>
Content-Language: de-DE
Content-Type: multipart/alternative;
                boundary="_000_274b3f85c1354f69865d9eb29faf69dcexch2uniwhde_"
MIME-Version: 1.0
Return-Path: peter.huber at uni-wh.de
X-OriginalArrivalTime: 05 Aug 2019 13:05:53.0747 (UTC) FILETIME=[834B0A30:01D54B8E]

============================================================================
DKIM: fail
============================================================================

DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=uni-wh.de; s=20170713;
                t=1565010352; h=from:from:sender:sender:reply-to:subject:subject:date:date:
                message-id:message-id:to:to:cc:mime-version:mime-version:
                content-type:content-type; bh=JSJCKmxz36yfJ5GbodSK4tHjVsdYUK+Z3eGk1f+qPTY=;
                b=QYImmUYMNsURXWZORjrgdq0IvN4yPHPmPto0XaqzQ392my7bwjHyu3MV8CbR1K79XooroH
                Kjh0gaqaZwSljvhatxzTx9K5XY3ddHP+0ggAMTRufHsmPlbBD5JRqhAQq8sfTbAHv+l6IQ
                d6dZD7o2wUDdjpeo4Etwc5qXH7POk3ApOq4CaukVIhHbHt6m+9toGwH7a3YrN29r2W2Cg0
                YxglA4CyyGUgr9sGvROz1Rrnw8nZs63EM13dWjqJ4H4cjHdXkXbdgEoZnEJr/J+MSMXFTx
                95KK/ADtbESBuSh2tjraBK+enptyXKY2IvDLtymVrOoMzu1WTGBMftSTln0eZw==
Signed-by: BIT-Support at uni-wh.de
Expected-Body-Hash: JSJCKmxz36yfJ5GbodSK4tHjVsdYUK+Z3eGk1f+qPTY=
Public-Key: v=DKIM1; k=rsa;p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvmUtqkZAdVaj4coqe7WPZN8/XtjbVa07l7Y2biravGMhYB1ANxX3rYfStCdhiZUVvxYFo8q9uo6EepUf0eW9A5TnEqmZnpx2wEFUT/m2SArZjMeBCWoCN6FNr7q7+7+Km7m2yjM9fRSZwhrgKl3ddVUnx77ShE9zA7fL20/+LFb5JbhiR7gEa8iK+JJFC/BLqHtlV4ghquZ29OkLt6gt3/m7wpB1ufzkx9ptdH2JMTV7hTFwgzLGgJPwzkQOGFDRqi46VEF9kpc8CCIPyPjkwQoeaUZRewUIMQL//AnLlm/wXJVM4/fdf1B915d0YGkPIKY6YGGquPN0gERjbyScwQIDAQAB;

DKIM-Result: fail (bad signature)







More information about the Users mailing list