View Issue Details

IDProjectCategoryView StatusLast Update
0005926SOGoWeb Mailpublic2024-02-16 13:25
Reporterdamianblk Assigned To 
PriorityhighSeverityblockReproducibilityalways
Status newResolutionopen 
PlatformLinuxOSUbuntuOS Version18.04
Product Version5.9.1 
Summary0005926: Problem with checksum of messages with attachment
Description

Hello, mail server built with postfix, ubuntu and SOGO. The DKIM key is added on Gateway.
Messages with attachments created in HTML SOGO webmail are rejected by the recipient due to incorrect checksum.
Messages with attachments created in TEXT SOGO webmail correctly pass all DKIM verification.
Messages created in the Thunderbird client have no such problems.
Attached is a test HTML and TEXT message.
Can someone help me?

TagsCHECKSUM, DKIM, html, PLAIN

Activities

damianblk

damianblk

2024-02-16 11:37

reporter  

TEXT message.txt (4,253 bytes)   
Delivered-To: test@gmail.com
Received: by 2002:a05:6022:1d9:b0:4d:ffc9:87a6 with SMTP id 25csp1665025lah;
        Fri, 16 Feb 2024 03:17:46 -0800 (PST)
X-Google-Smtp-Source: AGHT+IFfDRLZE+y06KYRYGAm8aN7hSUFdqQMkzLsfUP+zEtzn3852PDqwXoKVqh+pLPLw5bVL8XM
X-Received: by 2002:a05:6512:794:b0:511:ab37:b1be with SMTP id x20-20020a056512079400b00511ab37b1bemr2806320lfr.69.1708082265317;
        Fri, 16 Feb 2024 03:17:45 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; t=1708082265; cv=none;
        d=google.com; s=arc-20160816;
        b=wuS5Z0I0xwq7U/4X68/j0j8y1yLllihH/zhwMU9RpKkuEBuTiABD7/wyN295tEhnyv
         ckePpokdVUmwaSZ/+fX45GZhA61eKk/MbpiKaT2mDFcq3YsbkGCF5LWvLjcQzPL58ewM
         Pkb1pO0CguLTPXZLMordamMSqIvR2w7xEYnTqotf3JXjM/GYAzmGaPQw8CqYaPZcmqoc
         owNxsBFIGf1KGPPFyL7vJcDIZsasnzX5+CLWJv/DX+yDDi7GeJTSevUqC1cCO2fBsxpv
         nGY5sFIaVgpPWxoO3LHVSOyFfeLFv3cU5CEkrNj3M/nz2iSPTF/t6hoW3BJXc21Ssuzw
         WlHg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
        h=dkim-signature:user-agent:subject:message-id:mime-version:to:date
         :from;
        bh=qX2G8EPFXrmdMX4lcLRrfo1xM85bDHjsdwjfRKhYAlw=;
        fh=1IGXHZF8lm2n/tAps7xTl/eQt3RdT9adaZ9LltfOBWw=;
        b=rBAm1p/B6bOFf8QEaTv3nhQbKC0l4t4W4wPGjV1qchSltDjuxpNw84oo3vtk+cPjLt
         S6/XXu398fe8FOcgjkaTrR8Z6pZHCOZAaNiCECZoUmzFP8OHptxK4xqeGPwX+ACsV/9p
         8lp9hsmKyFeEXae/1lcJI3m220S0t8SvXlCPhkpoG+YjMP3EDJI65MD+5P1iAB2XFVX5
         zpI2KebUGRupfmwmVELKjiiNxMrDGcNKQW9ZLIsX4V0c/A6bo0dWFEs+loxaFkwszKYj
         x29EZZ1iu4FIHSxUOK5k3u1iPOx35FH26UqBAN+rPxHG3PECPsAkb5kFRavrz+56UnkT
         jeaQ==;
        dara=google.com
ARC-Authentication-Results: i=1; mx.google.com;
       dkim=pass header.i=@example.eu header.s=ciuwo header.b=iYBq0K21;
       spf=pass (google.com: domain of test@example.eu designates 5.172.190.207 as permitted sender) smtp.mailfrom=test@example.eu;
       dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=example.eu
Return-Path: <test@example.eu>
Received: from mailgw.example.eu (mailgw.example.eu. [5.172.190.207])
        by mx.google.com with ESMTPS id r20-20020ac252b4000000b00511ad081459si1081161lfm.265.2024.02.16.03.17.44
        for <test@gmail.com>
        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
        Fri, 16 Feb 2024 03:17:45 -0800 (PST)
Received-SPF: pass (google.com: domain of test@example.eu designates 5.172.190.207 as permitted sender) client-ip=5.172.190.207;
Authentication-Results: mx.google.com;
       dkim=pass header.i=@example.eu header.s=ciuwo header.b=iYBq0K21;
       spf=pass (google.com: domain of test@example.eu designates 5.172.190.207 as permitted sender) smtp.mailfrom=test@example.eu;
       dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=example.eu
From: ZDZIT Test <test@example.eu>
Content-Type: multipart/mixed; boundary="----=_=-_OpenGroupware_org_NGMime-6603-1708082265.589620-4------"
X-Forward: 172.21.100.113
Date: Fri, 16 Feb 2024 12:17:45 +0100
To: test@gmail.com
MIME-Version: 1.0
Message-ID: <19cb-65cf4480-7-7d79d380@81129562>
Subject: Test Message with attachement TEXT
User-Agent: SOGoMail 5.9.1
X-FEAS-Client-IP: 172.17.0.31
X-FE-Policy-ID: 2:2:0:SYSTEM
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; d=example.eu; s=ciuwo; c=relaxed/relaxed; h=from:content-type:date:to:mime-version:message-id:subject; bh=qX2G8EPFXrmdMX4lcLRrfo1xM85bDHjsdwjfRKhYAlw=; b=iYBq0K21tkuCJzYae3GF2lZfK7BBwt/lsDChOt1QUmG2LNACkQpGmhMCvNwNmXl7zblae+sqjYpm nqxZMNrhSFdK//oqYo/oNiSPFudfkXhUhnocmakRdH3892UYKBcZZ03teC3I/b3KLWP0NzTIqqT8 xljRwQZ2E2QT7xL/IbGJyktMzIhLd29qrmQjGbp/WMNj3yK1vy5T/fLRfgPzi9abPdNn9FJ6EpRz 5/cFA5tya+L/eBcB4lLVsLGQQseIJKbdwwD2MPkT3nITHVg/kUCXJqQRocKASoGytKfVkVpyPJS+ merp6SI7IBrKmR7RtEq7K2vpu62pndXeIR13EA==

------=_=-_OpenGroupware_org_NGMime-6603-1708082265.589620-4------
Content-Type: text/plain; charset=utf-8
Content-Length: 12

Test Message

------=_=-_OpenGroupware_org_NGMime-6603-1708082265.589620-4------
Content-Type: application/pdf
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="D20091240Lj.pdf"
Content-Length: 2363857


------=_=-_OpenGroupware_org_NGMime-6603-1708082265.589620-4--------
TEXT message.txt (4,253 bytes)   
HTML message.txt (4,630 bytes)   
Delivered-To: test@gmail.com
Received: by 2002:a05:6022:1d9:b0:4d:ffc9:87a6 with SMTP id 25csp1661909lah;
        Fri, 16 Feb 2024 03:11:16 -0800 (PST)
X-Google-Smtp-Source: AGHT+IFLQXAh1lsY7HoHY8lTuKJ5ZYSZD5lK6bPX43xkxYDfbLR6NSHebZYSVMzrpYGLJiziD7+0
X-Received: by 2002:a05:6512:31d5:b0:511:ad08:b99f with SMTP id j21-20020a05651231d500b00511ad08b99fmr2439725lfe.22.1708081874706;
        Fri, 16 Feb 2024 03:11:14 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; t=1708081874; cv=none;
        d=google.com; s=arc-20160816;
        b=ubd0Lylvib/LFR+S845Y/5nNoaha2sYF1mQhRY89DHu0tquBM+qHj7BGI1j5PXbppP
         45eLFS9r28Rc4rsww2n1+lWKGICRTGNI9GmNq0mVkGGG07PKIc6noCWk9V2QBdVtNkdH
         BRf+UxoQXXfEOT4tbS8ScJmwu9j4TTmEAG8vooclVlYRXpKY6dRCGxIk6GUZzLYecUlK
         d0y6xbiu06HBdHWyibWrG+7dI6OzWnr0Vxy6ph8N3jurYX9MmMTGD33mChKX5x+gm2Kc
         DLfyrAm+q6o4sn+We9pNCzetX49bSX/6il3t6zkNgn4mHiibPqBXv3u1gq9eMQ9x4CL+
         +sYQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
        h=dkim-signature:user-agent:subject:message-id:mime-version:to:date
         :from;
        bh=zYbpYFzRUKhmtCRlF8dKhTskhv/G5h36SwsJFP0GnWM=;
        fh=1IGXHZF8lm2n/tAps7xTl/eQt3RdT9adaZ9LltfOBWw=;
        b=xbQzgW0nuvO0K2s4A8TRCo7CebzlMyRGVZG9UCUY9alS8akoGMgPWHdj82lJaxS51I
         70eururhMN/UL8tK8eFDd4V+QtuhCnsM6SReAqOCfXuURs+gXOLiQ8svt2A+9y5fDU4Y
         3fhaRy++dJj6P1t9QIJ5WqXlHVzgoGlMb04dHqoTp4wW0WNMwXuDGYGB1wouO4clnYRj
         lJK2Vr/+/eRTGiPeK23SExqJdKlFbbzAsXmEe67jH2e5FcIbfcTX5fxlkUh7b+lR3bw3
         sxG0D/WHaElaG6ostoeTRYJszVkjPWZf1mj0tvL06Be+SN6EArWvoiX93m8nHBwng/1l
         ekoA==;
        dara=google.com
ARC-Authentication-Results: i=1; mx.google.com;
       dkim=neutral (body hash did not verify) header.i=@example.eu header.s=ciuwo header.b=KJ9NwRFh;
       spf=pass (google.com: domain of test@example.eu designates 5.172.190.207 as permitted sender) smtp.mailfrom=test@example.eu;
       dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=example.eu
Return-Path: <test@example.eu>
Received: from mailgw.example.eu (mailgw.example.eu. [5.172.190.207])
        by mx.google.com with ESMTPS id o7-20020a056512052700b00511670e4a92si1061665lfc.183.2024.02.16.03.11.14
        for <test@gmail.com>
        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
        Fri, 16 Feb 2024 03:11:14 -0800 (PST)
Received-SPF: pass (google.com: domain of test@example.eu designates 5.172.190.207 as permitted sender) client-ip=5.172.190.207;
Authentication-Results: mx.google.com;
       dkim=neutral (body hash did not verify) header.i=@example.eu header.s=ciuwo header.b=KJ9NwRFh;
       spf=pass (google.com: domain of test@example.eu designates 5.172.190.207 as permitted sender) smtp.mailfrom=test@example.eu;
       dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=example.eu
From: ZDZIT Test <test@example.eu>
Content-Type: multipart/mixed; boundary="----=_=-_OpenGroupware_org_NGMime-5029-1708081874.932894-7------"
X-Forward: 172.21.100.113
Date: Fri, 16 Feb 2024 12:11:14 +0100
To: test@gmail.com
MIME-Version: 1.0
Message-ID: <13a5-65cf4300-7-33449700@25845789>
Subject: Test Message with attachement and HTML
User-Agent: SOGoMail 5.9.1
X-FEAS-Client-IP: 172.17.0.31
X-FE-Policy-ID: 2:2:0:SYSTEM
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; d=example.eu; s=ciuwo; c=relaxed/relaxed; h=from:content-type:date:to:mime-version:message-id:subject; bh=ELCFJXEamA8tZP/qMmi9OHklLC/fYSRyekMxQfwXWWc=; b=KJ9NwRFhFQeOKa+v5WJSqX8puDA1YOkqhCsz2JLz/eZsUtt1XlrHCqtozW71LxwUaE109ngqq/77 iQfF+2SVglJ9nfPmEXcKyfknQl3KksDzNyF9h0HN4e2eFaDPgfpD/phEEQCQcCRSI1NYq8Bq/kkE /+PmHPSW2SLp6UFUYDW5UGwR/iQJsQb4ibhRvl/jn/YQXhZqoorezyEEcsA76pMU5Z1P06JibESs k3byxr/+ElDAgg6srfmnl3fm0zhawynhtt1bxr2kMu+Et1oadXOn7WP2BY04E0WdQvlTlAevZQQE nfeLL09nlLNd5AMFRJoMTzS2pr3QZAl+BfrtRA==

------=_=-_OpenGroupware_org_NGMime-5029-1708081874.932894-7------
Content-Type: multipart/alternative; boundary="----=_=-_OpenGroupware_org_NGMime-5029-1708081874.930522-6------"

------=_=-_OpenGroupware_org_NGMime-5029-1708081874.930522-6------
Content-Type: text/plain; charset=utf-8
Content-Length: 13


Test Message

------=_=-_OpenGroupware_org_NGMime-5029-1708081874.930522-6------
Content-Type: text/html; charset=utf-8
Content-Length: 25

<html>Test Message</html>

------=_=-_OpenGroupware_org_NGMime-5029-1708081874.930522-6--------
------=_=-_OpenGroupware_org_NGMime-5029-1708081874.932894-7------
Content-Type: application/pdf
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="D20091240Lj.pdf"


------=_=-_OpenGroupware_org_NGMime-5029-1708081874.932894-7--------
HTML message.txt (4,630 bytes)   

Issue History

Date Modified Username Field Change
2024-02-16 11:37 damianblk New Issue
2024-02-16 11:37 damianblk File Added: TEXT message.txt
2024-02-16 11:37 damianblk File Added: HTML message.txt
2024-02-16 13:25 damianblk Tag Attached: html
2024-02-16 13:25 damianblk Tag Attached: PLAIN
2024-02-16 13:25 damianblk Tag Attached: DKIM
2024-02-16 13:25 damianblk Tag Attached: CHECKSUM