remove obsolete fix to dkimpy
This commit is contained in:
parent
36303b6da5
commit
5396437852
|
@ -120,9 +120,6 @@ tools/editconf.py /etc/postfix/main.cf \
|
|||
# We need to explicitly enable the opendmarc service, or it will not start
|
||||
hide_output systemctl enable opendmarc
|
||||
|
||||
# There is a fault in the dkim code for Ubuntu 20.04, let's fix it. Not necessary for Ubuntu 21.04 or newer
|
||||
sed -i 's/return b""\.join(r\.items\[0\]\.strings)/return b""\.join(list(r\.items)\[0\]\.strings)/' /usr/lib/python3/dist-packages/dkim/dnsplug.py
|
||||
|
||||
# Restart services.
|
||||
restart_service dkimpy-milter
|
||||
restart_service opendmarc
|
||||
|
|
Loading…
Reference in New Issue