[Rspamd-Users] from (Header | SMTP)

Huber, Peter peter.huber at uni-wh.de
Wed Aug 7 06:06:04 UTC 2019

I changed this a few weeks ago, but this does not solve the problem

# Domain to use for DKIM signing: can be "header" (MIME From), "envelope" (SMTP From) or "auth" (SMTP username)
# use_domain = "header";
use_domain = "envelope";

x-sender: peter.huber at uni-wh.de
x-receiver: test-794d4411 at appmaildev.com
From: BIT-Support an der UW/H <BIT-Support at uni-wh.de>
To: "'test-794d4411 at appmaildev.com'" <test-794d4411 at appmaildev.com>
Return-Path: peter.huber at uni-wh.de
DKIM-Result: fail (bad signature)

Any idea?

Kind Regards

Peter Huber

-----Ursprüngliche Nachricht-----
Von: Tim Harman <tim at muppetz.com>
Gesendet: Mittwoch, 7. August 2019 05:14
An: User questions <users at lists.rspamd.com>
Cc: Huber, Peter <peter.huber at uni-wh.de>
Betreff: Re: [Rspamd-Users] from (Header | SMTP)

On 06/08/2019 1:18 am, Huber, Peter wrote:
> 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


# Domain to use for DKIM signing: can be "header" (MIME From),
"envelope" (SMTP From) or "auth" (SMTP username)
use_domain = "header";

Does that help? You probably want to set

use_domain = "envelope";

Private Universität Witten/Herdecke gGmbH
Alfred-Herrhausen-Straße 50
D - 58448 Witten

Homepage:  http://www.uni-wh.de
Twitter:       http://twitter.com/UniWH
Facebook:  http://www.facebook.com/UniWH

Geschäftsführung: Prof. Dr. Martin Butzlaff (Präsident), Dipl. oec. Jan Peter Nonnenkamp (Kanzler)

Sitz der Gesellschaft: Witten
Handelsregister des Amtsgerichts Bochum Nr. HRB 8671

More information about the Users mailing list