https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7827

            Bug ID: 7827
           Summary: SpamAssassin reports DKIM invalid when email contains
                    attachment
           Product: Spamassassin
           Version: 3.4.2
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Plugins
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: Undefined

Hello,

I've been noticing that pretty much every email that contains an attachment,
even if coming from @outlook.com or @gmail.com, for example, is marked with
DKIM invalid.

The emails are 100% legit, because I reply to them and receive a reply. And,
the emails without attachment are marked as DKIM valid.



I use the Mail::SpamAssassin::Plugin::DKIM extension of SpamAssassin, which
adds DKIM_INVALID & DKIM_SIGNED to the X-Spam-Status header.

  header        __DKIM_EXISTS   exists:DKIM-Signature

  meta     DKIM_INVALID !__DKIM_EXISTS || !DKIM_VALID
  describe DKIM_INVALID DKIM-Signature header does not exist or is not valid
  score    DKIM_INVALID 5.0




And the emails do have DKIM header, but SpamAssassin sees them as invalid:


DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com;
 s=selector1;

h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
...
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20161025;
        h=mime-version:references:in-reply-to:from:date:message-id:subject:to;
...



Thanks!

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to