Skip to main content

OpenSource RSS Reader – Leed (Light Feed)

leed logoAs stated in my very first article on building a list of interesting RSS Readers, to install and try some of them on my own server to replace Flipboard, Newsstand, Feedly and others RSS Readers, here is my next article on Leed.

Leed (Contraction of Light Feed) is a RSS Reader free and opensource, under  CC-BY-NC-SA. With a responsive design, Leed can be consulted on any platform/device (PC, Tablet, Smartphone,…), made to be self hosted, Leed is optimized to improve the user experience through good performance and based on latest web technologies (HTML5, CSS3,…). Although it doesn’t support yet the multi-user, it will come in their V2, as the roadmap shows.


Leed - Screenshot

Leed has a growing community (mostly French) that have developed & shared some plugin and themes to enhance Leed.

Obviously, the best for you is to try their demo!

Interested? Here is how to install it on your server.



They recommend using Apache (Not testing with others), >PHP 5.3, MySQL and some “common sense“. If you don’t have Apache, PHP and MySQL, please follow my previous tutorial. For common sense….well can’t help there…no tutorial to offer \o/

1) In your /var/www download the latest stable version

2) Extract the archive and rename it as “leed”

3) Change folder owner to www-data (To give permissions to Apache)

4) Go to http://IP/leed with your favourite Web Browser to access to the web installer.

You will need to provide the information of your MySQL database. You can use PHPMyAdmin to create a dedicated database on your server.

Leed - Installation

When done, you will have access directly to the admin interface to modify the preferences. It should be pretty straightforward.

And finally remove the install.php for security.

5) Set up a cron job to update regularly your feeds.

Access to the crontab file (in root)

and copy/paste at the end:

It will refresh your feeds every hour.

That’s all! You should now have a working Leed RSS Reader, so don’t forget to add my RSS feed!!


Virtualhost configuration

Now you got your RSS reader working and you want to access it from rss.domain.tld or directly from mywebmail.tld, instead of using the IP/leed link, you will need to set up a virtualhost. And you could force HTTPS connection.

You will need to:

1) Create a A redirection in your DNS server/registrar

2) Have SSL certificate ready. If not you can read this tutorial.

3) Create your virtualhost as following:

In /etc/apache2/sites-enabled/, create a file called leed (In root):

and paste/adapt the following content:

Adapt the content (Servername, webmaster, SSL certificate and directory, …).

The first part will redirect all the connection from port 80 (HTTP) to port HTTPS (port 443) to force secure connection. If so, please configure your SSL certificate.

When done, save the file (CTRL+X then Yes) and reload apache: (In root)

You should now be all set!

Mail Server – Postfix + Dovecot with TLS/SSL awaited howto, Postfix is probably the most popular mail server and is usually coupled with Dovecot or Courier and in some cases, with Anti SPAM and Anti Virus. (We will see that in another article)

My previous tutorial on how to setup a mail server was based on Courier-imap, but as Dovecot became more and more popular, I had to give it a try !

Both mail systems are good but they have their own plus and minus from my experience and reading:

Courier Dovecot
+ Extremely reliable

+ Trashmail box automatically expunged

+ Powerful maildrop

+ Low memory footprint

+ Good IMAP performance through indexing

+ Highly configurable

– Larger memory footpring – Trashmail box not automatically expunged

These are obviously only my observations and I know they actually found some turnaround to their minuses.

As I’m a big IMAP user and usually never delete my mail, indexing is a big plus for me and I wanted to give it a shot, this is why I’ve migrated to Dovecot.

The tutorial below will be for a Postfix + Dovecot for IMAP with SSL security. The user management will be based on users created on the system. (No SQL database or text file as it will be for few users only)


Debian comes with the default MTA (Mail Transfer Agent) called Exim which will not be useful anymore as we will replace it with Postfix.

then you will need to select a type of configuration, just choose “Internet Site”


and you will need to type your System mail name. I suggest you to create a dedicated sub domain and to use it here, in my case it will be

Doing so allow you to be ready adding server mails or changing more easily.


We will assume, you want to create an email account for your regular Debian or Ubuntu user. We will see later in this guide how to create new users.


You can generate your own self-signed certificate by running the following command:

(In Root)

This will create a pairs of key and certificates based on RSA encryption 2048 bit.

You will need to enter some info such as:

You will use these 2 key in Postfix conf and Dovecot conf.


The main configuration file of Postfix is located as /etc/postfix/ I suggest you to remove all its content and to replace by this one:

Obviously replace by your own domain name and same thing for TLS certificate and key you have just created.

Then, you need to modify the master file to do the bridge with Dovecot and allow sending mails.

and replace the #submission part by this one:


You may want to set some aliases, meaning if we send an email to root@yourdomain or webmaster@yourdomain, to make sure mails will drop into your account. If you want to make some changes, you can modify the file /etc/aliases.

Basically it says, mailer-daemon will be redirected to postmaster user (You may not have a real user called postmaster), never mind, it also says postmaster will be redirected to root and root to “MYSUER!!”. Just make sure this user suits your needs.

As it suits my need, I didn’t change anything there. But if you make any changes, don’t forget to update the configuration with the command:


Now you need to configure Dovecot through the file /etc/dovecot/dovecot.conf. Here again I suggest you to remove everything and use mine. (The original file contains a lot of links to sub conf file located in /etc/dovecot/conf.d

and replace with:

You will need to change ssl certificate location. (Last part of the file)

And finally, restart Postfix and Dovecot to update all your changes

Users Management:

In the case you want to create a new email box for a dedicated user, you can simply create a new user on your system and mails will work immediately.

In root, type:

The /sbin/nologin option will prevent the user from logging in to your server via ssh.

And that’s all at this stage.

You should now have a working email setting that you could try with Thunderbird for example. Thunderbird should recognize the server setting and you will be using STARTTLS for both IMAP and SMTP.

The next tutorial will cover how to add SPAM protection and Virus Scanning (Although Linux is well protected against viruses, you may still want to add an antivirus scan for your Windows users or when you will be accessing your mails from a Windows system.)

EDIT: The next tutorial is ready:

Reduce SPAM and improve security – Amavis + SpamAssassin + ClamAV + Procmail + PostScreen