ADD Update template to use list id instead of from.

This is because mu4e doesn't really like from's with no email with
spaces in them.
1 files changed, 5 insertions(+), 3 deletions(-)

M feed2maildir/converter.py
M feed2maildir/converter.py +5 -3
@@ 61,10 61,9 @@ class Converter:
     TEMPLATE = u"""MIME-Version: 1.0
 Date: {}
 Subject: {}
-From: {}
+List-ID: {}
 Content-Type: text/plain
 
-[Feed2Maildir] Read the update here:
 {}
 
 {}

          
@@ 192,7 191,10 @@ Content-Type: text/plain
                 desc = self.stripper.get_data()
             else:
                 desc = post.description
-        return self.TEMPLATE.format(updated, post.title, title, post.link,
+        return self.TEMPLATE.format(updated,
+                                    post.title,
+                                    title.lower().replace(' ', '-'),
+                                    post.link,
                                     desc)
 
     def write(self, message):