rss2email: Update to latest version, fix issues

This also enables multipart HTML and CSS in posts, improving readability
for all client types.
This commit is contained in:
Alex Palaistras 2022-10-02 14:53:26 +01:00
parent e32a3a5228
commit 3422f39a84
3 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,5 @@
FROM docker.io/debian:bullseye-slim FROM docker.io/debian:bullseye-slim
ARG VERSION=4fa34da9fbfcaa5e5496b13c4bdd17362c383568 ARG VERSION=v3.14
RUN apt-get update -y && apt-get install -y --no-install-recommends \ RUN apt-get update -y && apt-get install -y --no-install-recommends \
ca-certificates git gettext gosu \ ca-certificates git gettext gosu \

View File

@ -5,6 +5,8 @@ user-agent = rss2email/1.0
use-publisher-email = True use-publisher-email = True
date-header = True date-header = True
html-mail = True html-mail = True
multipart-html = True
use-css = True
post-process = rss2email.post_process.prettify process post-process = rss2email.post_process.prettify process
email-protocol = smtp email-protocol = smtp
smtp-auth = True smtp-auth = True

View File

@ -7,7 +7,7 @@ RemainAfterExit=true
SyslogIdentifier=%N SyslogIdentifier=%N
ExecStart=/bin/sh -c "V=$(podman volume mount rss2email-feeds) && printf '[feed.%%s]\nurl = %I\n' $(md5sum <<< '%i' | cut -c-32) > $V/%i.conf" ExecStart=/bin/sh -c "V=$(podman volume mount rss2email-feeds) && printf '[feed.%%s]\nurl = %I\n' $(md5sum <<< '%i' | cut -c-32) > $V/%i.conf"
ExecStartPost=/bin/podman volume unmount rss2email-feeds ExecStartPost=/bin/podman volume unmount rss2email-feeds
ExecStop=/bin/sh -c "V=$(podman volume mount rss2email-feeds) && rf -f $V/%i.conf" ExecStop=/bin/sh -c "V=$(podman volume mount rss2email-feeds) && rm -f $V/%i.conf"
ExecStopPost=/bin/podman volume unmount rss2email-feeds ExecStopPost=/bin/podman volume unmount rss2email-feeds
[Install] [Install]