<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://wiki.meurisse.org/index.php?action=history&amp;feed=atom&amp;title=rss2email</id>
	<title>rss2email - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.meurisse.org/index.php?action=history&amp;feed=atom&amp;title=rss2email"/>
	<link rel="alternate" type="text/html" href="https://wiki.meurisse.org/index.php?title=rss2email&amp;action=history"/>
	<updated>2026-05-01T08:17:48Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.7</generator>
	<entry>
		<id>https://wiki.meurisse.org/index.php?title=rss2email&amp;diff=382&amp;oldid=prev</id>
		<title>Vincent: Created page with &quot;[https://github.com/wking/rss2email/ rss2email] is a program that allows you to receive RSS/Atom feeds in you mailbox.  == Prerequisite == You need a server that is able to ...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.meurisse.org/index.php?title=rss2email&amp;diff=382&amp;oldid=prev"/>
		<updated>2016-06-05T14:54:13Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;[https://github.com/wking/rss2email/ rss2email] is a program that allows you to receive RSS/Atom feeds in you mailbox.  == Prerequisite == You need a server that is able to ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[https://github.com/wking/rss2email/ rss2email] is a program that allows you to receive RSS/Atom feeds in you mailbox.&lt;br /&gt;
&lt;br /&gt;
== Prerequisite ==&lt;br /&gt;
You need a server that is able to [[Emails|send emails]].&lt;br /&gt;
&lt;br /&gt;
== Install ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;console&amp;quot;&amp;gt;&lt;br /&gt;
# apt install rss2email&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configure ==&lt;br /&gt;
&lt;br /&gt;
=== Create User ===&lt;br /&gt;
It is possible to run rss2email as any user. However I find preferable to make it run as it&amp;#039;s own user as, if a hacker manage to break in your rss2email, he won&amp;#039;t be able to read your personal user files.&amp;lt;syntaxhighlight lang=&amp;quot;console&amp;quot;&amp;gt;&lt;br /&gt;
# adduser --system --home /opt/rss2email --group rss2email&lt;br /&gt;
Adding system user `rss2email&amp;#039; (UID 112) ...&lt;br /&gt;
Adding new group `rss2email&amp;#039; (GID 117) ...&lt;br /&gt;
Adding new user `rss2email&amp;#039; (UID 112) with group `rss2email&amp;#039; ...&lt;br /&gt;
Creating home directory `/opt/rss2email&amp;#039; ...&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Assuming that you are the only user of rss2email on the server, we will make it always run as the rss2email user. Create file &amp;lt;code&amp;gt;/usr/local/bin/r2e&amp;lt;/code&amp;gt;&amp;lt;syntaxhighlight lang=&amp;quot;sh&amp;quot;&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
sudo -u rss2email /usr/bin/r2e &amp;quot;$@&amp;quot;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;and make it executable&amp;lt;syntaxhighlight lang=&amp;quot;console&amp;quot;&amp;gt;&lt;br /&gt;
# chmod +x /usr/local/bin/r2e&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;To make things even easier, you can run &amp;lt;code&amp;gt;visudo&amp;lt;/code&amp;gt; and add the line (replace jdoe with your usename)&amp;lt;syntaxhighlight lang=&amp;quot;sh&amp;quot;&amp;gt;&lt;br /&gt;
jdoe ALL=(rss2email)NOPASSWD:/usr/bin/r2e&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;This allows your normal user to run the r2e command without any password prompt.&lt;br /&gt;
&lt;br /&gt;
=== Create database ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;console&amp;quot;&amp;gt;&lt;br /&gt;
$ r2e new&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Configuration option ===&lt;br /&gt;
Edit file &amp;lt;code&amp;gt;/opt/rss2email/.config/rss2email.cfg&amp;lt;/code&amp;gt; and change the following options&amp;lt;syntaxhighlight lang=&amp;quot;ini&amp;quot;&amp;gt;&lt;br /&gt;
[DEFAULT]&lt;br /&gt;
from = rss2email@example.org&lt;br /&gt;
use-8bit = True&lt;br /&gt;
date-header = True&lt;br /&gt;
html-mail = True&lt;br /&gt;
use-css = True&lt;br /&gt;
css = body {&lt;br /&gt;
	font: 12pt Arial;&lt;br /&gt;
	background-color: #FAFAFA;&lt;br /&gt;
	}&lt;br /&gt;
	div#entry {&lt;br /&gt;
	padding: 1em;&lt;br /&gt;
	background-color: white;&lt;br /&gt;
	box-shadow: 0 0 3px rgba(0,0,0,0.3);&lt;br /&gt;
	border-radius: 5px;&lt;br /&gt;
	}&lt;br /&gt;
	div#entry h1.header {&lt;br /&gt;
	margin-top: 0;&lt;br /&gt;
	font: 18pt Georgia, &amp;quot;Times New Roman&amp;quot;;&lt;br /&gt;
	}&lt;br /&gt;
	div#entry a {&lt;br /&gt;
	text-decoration: none;&lt;br /&gt;
	color: #005EB8;&lt;br /&gt;
	}&lt;br /&gt;
	div#entry a:hover {&lt;br /&gt;
	color: #00A9E0;&lt;br /&gt;
	}&lt;br /&gt;
	div#entry blockquote {&lt;br /&gt;
	font-family: monospace;&lt;br /&gt;
	}&lt;br /&gt;
	img {&lt;br /&gt;
	max-width: 100%;&lt;br /&gt;
	height: auto;&lt;br /&gt;
	}&lt;br /&gt;
	div#entry .footer {&lt;br /&gt;
	margin-top: 2em;&lt;br /&gt;
	}&lt;br /&gt;
	div#entry .footer,&lt;br /&gt;
	div#entry .footer a {&lt;br /&gt;
	color: #AAAAAA;&lt;br /&gt;
	}&lt;br /&gt;
	div#entry .footer a:hover {&lt;br /&gt;
	text-decoration: underline;&lt;br /&gt;
	}&lt;br /&gt;
	div#entry .footer p {&lt;br /&gt;
	margin: 0;&lt;br /&gt;
	}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Cron ===&lt;br /&gt;
Make rss2email run once by hour by adding the following line in &amp;lt;code&amp;gt;/etc/crontab&amp;lt;/code&amp;gt;&amp;lt;syntaxhighlight lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
55  *   *   *   *   rss2email  /usr/bin/r2e run&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
[[Category:Linux Server]]&lt;/div&gt;</summary>
		<author><name>Vincent</name></author>
	</entry>
</feed>