Move r2e config to a file.

This commit is contained in:
Julien Palard 2023-10-30 10:18:27 +01:00
parent 36b4449965
commit 15486ec1c1
Signed by: mdk
GPG Key ID: 0EFC1AC1006886F8
2 changed files with 165 additions and 170 deletions

164
files/rss2email.cfg Normal file
View File

@ -0,0 +1,164 @@
[DEFAULT]
from = user@rss2email.invalid
user-agent = rss2email/__VERSION__ (__URL__)
use-8bit = False
force-from = False
use-publisher-email = False
name-format = {feed-title}: {author}
to = r2e@mdk.fr
proxy =
feed-timeout = 60
same-server-fetch-interval = 0
active = True
digest = False
date-header = False
date-header-order = modified, issued, created, expired
bonus-header =
trust-guid = True
trust-link = False
reply-changes = False
encodings = US-ASCII, ISO-8859-1, UTF-8, BIG5, ISO-2022-JP
post-process =
digest-post-process =
html-mail = True
multipart-html = False
use-css = False
css = h1 {
font: 18pt Georgia, "Times New Roman";
}
body {
font: 12pt Arial;
}
a:link {
font: 12pt Arial;
font-weight: bold;
color: #0000cc;
}
blockquote {
font-family: monospace;
}
.header {
background: #e0ecff;
border-bottom: solid 4px #c3d9ff;
padding: 5px;
margin-top: 0px;
color: red;
}
.header a {
font-size: 20px;
text-decoration: none;
}
.footer {
background: #c3d9ff;
border-top: solid 4px #c3d9ff;
padding: 5px;
margin-bottom: 0px;
}
border: solid 4px #c3d9ff;
}
margin-left: 5px;
margin-right: 5px;
}
unicode-snob = False
links-after-each-paragraph = False
inline-links = True
wrap-links = True
body-width = 0
email-protocol = sendmail
sendmail = /usr/sbin/sendmail
sendmail_config =
smtp-auth = False
smtp-username = username
smtp-password = password
smtp-server = smtp.yourisp.net:25
smtp-port = 465
smtp-ssl = False
imap-auth = False
imap-username = username
imap-password = password
imap-server = imap.yourisp.net
imap-port = 143
imap-ssl = False
imap-mailbox = INBOX
maildir-path = ~/Maildir
maildir-mailbox = INBOX
verbose = warning
[feed.Agarri-Sécurité-informatique-offensive]
url = http://www.agarri.fr/blog/rss.xml
[feed.Daily-Security]
url = https://www.dailysecurity.fr/feed/index.xhtml
[feed.Framablog]
url = https://framablog.org/feed/
[feed.hackndo]
url = https://beta.hackndo.com/feed.xml
[feed.Incidents-du-réseau-Framasoft]
url = https://status.framasoft.org/atom
[feed.LWN.net]
url = https://lwn.net/headlines/newrss
[feed.Segmentation-fault]
url = http://www.segmentationfault.fr/feed/
[feed.SSTIC---Blog]
url = https://blog.sstic.org/index.xml
[feed.top-scoring-links-hacking]
url = https://www.reddit.com/r/hacking/top/.rss?t=month
[feed.top-scoring-links-netsec]
url = https://www.reddit.com/r/netsec/top/.rss?t=month
[feed.top-scoring-links-securityCTF]
url = https://www.reddit.com/r/securityCTF/top/.rss?t=month
[feed.linuxfr]
url = https://linuxfr.org/news.atom
[feed.grisebouille]
url = https://grisebouille.net/feed.rss
[feed.mypy]
url = https://mypy-lang.blogspot.com/feeds/posts/default
[feed.weekly-osm-fr]
url = https://weeklyosm.eu/fr/feed
[feed.tenthousandmeters]
url = https://tenthousandmeters.com/feeds/all.atom.xml
[feed.vstinner]
url = https://vstinner.github.io/feeds/all.atom.xml
[feed.discourse]
url = https://blog.discourse.org/feed.xml/
[feed.LoOPS]
url = https://reseau-loops.github.io/feed.xml
[feed.mobian]
url = https://blog.mobian.org/index.xml
[feed.signal-spam]
url = https://www.signal-spam.fr/feed/
[feed.reflets]
url = https://reflets.info/feeds/public
[feed.mastodon]
url = https://blog.joinmastodon.org/index.xml
[feed.emacs-doctor]
url = https://emacs-doctor.com/
[feed.Pidgin]
url = https://pidgin.im/post/index.xml
[feed.communs-numeriques]
url = https://code.gouv.fr/feed/feed.xml

View File

@ -15,178 +15,9 @@
- name: Configure rss2email
copy:
src: rss2email.cfg
dest: /home/mdk/.config/rss2email.cfg
owner: mdk
group: mdk
mode: 0644
backup: true
content: |
[DEFAULT]
from = user@rss2email.invalid
user-agent = rss2email/__VERSION__ (__URL__)
use-8bit = False
force-from = False
use-publisher-email = False
name-format = {feed-title}: {author}
to = julien@palard.fr
proxy =
feed-timeout = 60
same-server-fetch-interval = 0
active = True
digest = False
date-header = False
date-header-order = modified, issued, created, expired
bonus-header =
trust-guid = True
trust-link = False
reply-changes = False
encodings = US-ASCII, ISO-8859-1, UTF-8, BIG5, ISO-2022-JP
post-process =
digest-post-process =
html-mail = True
multipart-html = False
use-css = False
css = h1 {
font: 18pt Georgia, "Times New Roman";
}
body {
font: 12pt Arial;
}
a:link {
font: 12pt Arial;
font-weight: bold;
color: #0000cc;
}
blockquote {
font-family: monospace;
}
.header {
background: #e0ecff;
border-bottom: solid 4px #c3d9ff;
padding: 5px;
margin-top: 0px;
color: red;
}
.header a {
font-size: 20px;
text-decoration: none;
}
.footer {
background: #c3d9ff;
border-top: solid 4px #c3d9ff;
padding: 5px;
margin-bottom: 0px;
}
border: solid 4px #c3d9ff;
}
margin-left: 5px;
margin-right: 5px;
}
unicode-snob = False
links-after-each-paragraph = False
inline-links = True
wrap-links = True
body-width = 0
email-protocol = sendmail
sendmail = /usr/sbin/sendmail
sendmail_config =
smtp-auth = False
smtp-username = username
smtp-password = password
smtp-server = smtp.yourisp.net:25
smtp-port = 465
smtp-ssl = False
imap-auth = False
imap-username = username
imap-password = password
imap-server = imap.yourisp.net
imap-port = 143
imap-ssl = False
imap-mailbox = INBOX
maildir-path = ~/Maildir
maildir-mailbox = INBOX
verbose = warning
[feed.Agarri-Sécurité-informatique-offensive]
url = http://www.agarri.fr/blog/rss.xml
[feed.Daily-Security]
url = https://www.dailysecurity.fr/feed/index.xhtml
[feed.Framablog]
url = https://framablog.org/feed/
[feed.hackndo]
url = https://beta.hackndo.com/feed.xml
[feed.Hurricane-Labs]
url = https://hurricanelabs.com/feed/
[feed.Incidents-du-réseau-Framasoft]
url = https://status.framasoft.org/atom
[feed.LWN.net]
url = https://lwn.net/headlines/newrss
[feed.Segmentation-fault]
url = http://www.segmentationfault.fr/feed/
[feed.SSTIC---Blog]
url = https://blog.sstic.org/index.xml
[feed.top-scoring-links-hacking]
url = https://www.reddit.com/r/hacking/top/.rss?t=month
[feed.top-scoring-links-netsec]
url = https://www.reddit.com/r/netsec/top/.rss?t=month
[feed.top-scoring-links-securityCTF]
url = https://www.reddit.com/r/securityCTF/top/.rss?t=month
[feed.linuxfr]
url = https://linuxfr.org/news.atom
[feed.grisebouille]
url = https://grisebouille.net/feed.rss
[feed.mypy]
url = https://mypy-lang.blogspot.com/feeds/posts/default
[feed.weekly-osm-fr]
url = https://weeklyosm.eu/fr/feed
[feed.tenthousandmeters]
url = https://tenthousandmeters.com/feeds/all.atom.xml
[feed.vstinner]
url = https://vstinner.github.io/feeds/all.atom.xml
[feed.discourse]
url = https://blog.discourse.org/feed.xml/
[feed.LoOPS]
url = https://reseau-loops.github.io/feed.xml
[feed.mobian]
url = https://blog.mobian.org/index.xml
[feed.signal-spam]
url = https://signal-spam.fr/feed/
[feed.reflets]
url = https://reflets.info/feeds/public
[feed.mastodon]
url = https://blog.joinmastodon.org/index.xml
[feed.gitea-open-letter]
url = https://gitea-open-letter.coding.social/updates/atom.xml
[feed.emacs-doctor]
url = https://www.emacs-doctor.com/feed.xml
[feed.Pidgin]
url = https://pidgin.im/post/index.xml
[feed.communs-numeriques]
url = https://communs.numerique.gouv.fr/feed/feed.xml