* Javier Rojas <jeroja...@devnull.li> [20090205 04:57]:
> On Wed, Feb 04, 2009 at 09:53:03AM -0500, Aron Griffis wrote:
> > emailj...@gmx.de wrote:  [Wed Feb 04 2009, 09:38:07AM EST]
> > > Is there some other way around this other than having to run postfix?
> > 
> > I haven't used rss2email but it seems trivial to edit
> > rss2email.py to call procmail instead of sendmail.  Something
> > like:
> > 
> > --- rss2email.py.orig   2009-02-04 09:51:18.000000000 -0500
> > +++ rss2email.py        2009-02-04 09:52:14.000000000 -0500
> > @@ -188 +188 @@
> > -               i, o = os.popen2(["/usr/sbin/sendmail", recipient])
> > +               i, o = os.popen2(["/usr/bin/procmail"])
> > 
> 
> I did the same a while ago (6+ months) and it works just fine. Besides,
> it also helps to keep procastination confined only to my personal PC,
> instead of chasing me on my online mailboxes.

Does not work. Tried it today, and you only get a mbox that is not a
real mbox. You can edit it by hand, inserting a blank line between the
messages, then you can run
$ cat rss2email.bad.mbox | formail -d -s procmail

That sorts out the problem, but it would be a lot better if rss2email
generated correctly ordered headers. I'll see if I can "hack it" to do
that.

Of course, if anyone already has a patch or tip, I'm all ears. :)

-- 
Anders Rayner-Karlsson <and...@trudheim.co.uk>
All-Round Linux Tinkerer, RHCE and PITA DeLuxe

Reply via email to