We highly recommend that you subscribe to the rss2email project feed so you can keep up to date with the latest version, bugfixes and features: http://feeds.feedburner.com/allthingsrss/hJBr
Instructions for Windows Users
Instructions for UNIX Users
Customizing rss2email
Before you install rss2email, you'll need to make sure that a few things are in place. First, is that a version of Python 2.x installed. Second, determine your outgoing email server's address. That should be all you need.
Edit the config.py
file and fill in your outoing email server's details. If your server requires you to login, change "AUTHREQUIRED = 0"
to "AUTHREQUIRED = 1"
and enter your email username and password.
From the command line, change to the folder you created. Now create a new feed database to send updates to your email address:
r2e new you@yourdomain.com
Subscribe to some feeds:
r2e add http://feeds.feedburner.com/allthingsrss/hJBr
That's the feed to be notified when there's a new version of rss2email. Repeat this for each feed you want to subscribe to.
When you run rss2email, it emails you about every story it hasn't seen before. But the first time you run it, that will be every story. To avoid this, you can ask rss2email not to send you any stories the first time you run it:
r2e run --no-send
Then later, you can ask it to email you new stories:
r2e run
If you get an error message "Sender domain must exist", add a line to config.py
like this:
DEFAULT_FROM = rss2email@yoursite.com
You can make the email address whatever you want, but your mail server requires that the yoursite.com part actually exists.
More than likely you will want rss2email to run automatically at a regular interval. Under Windows this is can be easily accomplished using the Windows Task Scheduler. This site has a nice tutorial on it. Just select r2e.bat as the program to run. Once you've created the task, double click on it in the task list and change the Run entry so that "run" comes after r2e.bat. For example, if you installed rss2email in the C:\rss2email folder, then you would change the Run entry from "C:\rss2email\r2e.bat" to "C:\rss2email\r2e.bat run".
Now jump down to the section on customizing rss2email to your needs.
Simply replace all of the files from the .ZIP package to your install directory EXCEPT config.py
Before you install rss2email, you'll need to make sure that a few things are in place. First, is a version of Python 2.x installed. Second, is whether you have sendmail (or a compatible replacement like postfix) installed. If sendmail isn't installed, determine your outgoing email server's address. That should be all you need.
A quick way to get rss2email going is using pre-made packages. Here are releases for Debian Linux, Ubuntu Linux and NetBSD.
If you are unable to use these packages or you want the latest and greatest version, here's what you do:
Unarchive (probably 'tar -xzf') the rss2email .tar.gz package to [folder where you want rss2email files to live]
cd [yourfolder]
chmod +x r2e
Create a new feed database with your target email address:
./r2e new you@yourdomain.com
Subscribe to some feeds:
./r2e add http://feeds.feedburner.com/allthingsrss/hJBr
That's the feed to be notified when there's a new version of rss2email. Repeat this for each feed you want to subscribe to.
When you run rss2email, it emails you about every story it hasn't seen before. But the first time you run it, that will be every story. To avoid this, you can ask rss2email not to send you any stories the first time you run it:
./r2e run --no-send
Then later, you can ask it to email you new stories:
./r2e run
You probably want to set things up so that this command is run repeatedly. (One good way is via a cron job.)
If you get an error message "Sender domain must exist", add a line to config.py
like this:
DEFAULT_FROM = rss2email@yoursite.com
You can make the email address whatever you want, but your mail server requires that the yoursite.com part actually exists.
Simply replace all of the files from the .tar.gz package to your install directory EXCEPT config.py
There are a number of options, described in full at the top of rss2email.py file, to customize the way rss2email behaves. If you want to change something, edit the config.py
file. If you're not using rss2email under Windows, you'll have to create this file if it doesn't already exist.
For example, if you want to receive HTML mail, instead of having entries converted to plain text:
HTML_MAIL = 1
To be notified every time a post changes, instead of just when it's first posted:
TRUST_GUID = 0
And to make the emails look as if they were sent when the item was posted:
DATE_HEADER = 1