#954475 Mangled mail with dkim_feature on

Package:
sympa
Source:
sympa
Description:
Modern mailing list manager
Submitter:
David Prévot
Date:
2021-03-10 17:45:03 UTC
Severity:
normal
Tags:
#954475#5
Date:
2020-03-22 03:08:32 UTC
From:
To:
Hi,

Once dkim_feature is activated on a list, the messages received from
sympa get mangled: the following headers are added *after* the messages
body (at the end of the message):

Message-Id: <…[random string from the server]…>
From: Sympa mailing list manager <…[list address]…>
Date: [date]

Because of that, the messages appear empty in any MUA (but are properly
added and visible in the web archive).

Please note that the DKIM-Signature header properly gets added on the
messages.

I’ve added the following options in robot.conf: dkim_private_key_path
and dkim_selector, and then activated dkim_feature for one list
(actually, I initially noticed the issue with “dkim_feature on” in
robot.conf, and removed it to not break all hosted lists). The server is
running on Buster.

Regards

David

#954475#10
Date:
2020-11-29 14:41:19 UTC
From:
To:
Hello David,

that indeed seems a bug in Sympa, see https://github.com/sympa-community/sympa/issues/1036.

Regards
         Racke

#954475#17
Date:
2020-11-29 14:41:19 UTC
From:
To:
Hello David,

that indeed seems a bug in Sympa, see https://github.com/sympa-community/sympa/issues/1036.

Regards
         Racke

#954475#24
Date:
2021-03-10 17:33:37 UTC
From:
To:
Confirming fix - I built 6.2.60~dfsg-3 on Buster a couple weeks ago and
dkim has been working well. 

Due to recent enforcement at Yahoo and Gmail I needed to enable
DKIM/DMARC/ARC for all lists to get delivery.

Due to the FCGI problem I also switched over to systemd, which is
working (in the low-load configuration):

$ cat wwsympa.service
[Unit]
Description = WWSympa - Web interface for Sympa mailing list manager
(service)
After = syslog.target sympa.service

[Service]
User = sympa
Group = sympa
ExecStart = /usr/lib/cgi-bin/sympa/wwsympa.fcgi
StandardOutput = null
StandardInput = socket
StandardError = null
Restart=on-failure

[Install]
WantedBy = multi-user.target

$ cat wwsympa.socket
[Unit]
Description = WWSympa - Web interface for Sympa mailing list manager
(socket)

[Socket]
SocketUser = www-data
SocketMode = 0600
ListenStream = /run/sympa/wwsympa.socket

[Install]
WantedBy = sockets.target