You are not logged in.
Hi, I have a dovecot imap server to have mail synchronized on my desktop, laptop and smartphone. I'd like to also have news feeds synchronised the same way. What are you guys using for this? I tried feed2imap and rss2imap from the AUR but both seem pretty outdated and don't manage all feeds (http://www.ilfattoquotidiano.it/feed/ for example isn't read by both of them). rss2imap in particular seems sweet, but if it's unmaintained and partially broken it's not of much use...
Maybe I can write some simple python script using some module to fetch the rss, put it in mail format, and copy it to my maildir? Are there straightforward modules that would let me do this without too much hacking?
Offline
So I'd like to try rss2email, which you simply give an smtp server and it sends you the feed by email.
I was wondering, since I currently fetch my mail with getmail and distribute it to my maildir with procmail, could I get rss2email to send the feeds localy (i.e. copy it to my maildir) instead of using say google's smtp, and having the feeds go out on the internet and then back home on my machine? Can I do it with procmail or do I have to install something like sendmail?
Offline
This should help I hope
I have postfix configured to deliver system mail, so rss2email uses sendmail, not gmail's SMTP server, to deliver the mail (via procmail) directly to the mail folder. Offlineimap takes care of syncing the News/ folder to gmail without cluttering the Sent/ folder.
Scott
~/.procmailrc
PATH=/bin:/usr/bin:/usr/local/bin
SHELL=/bin/sh
MAILDIR=$HOME/mail/myuserfolder/
DEFAULT=$HOME/mail/myuserfolder/INBOX/
LOGFILE=$HOME/.procmaillog
VERBOSE=off
:0
* ^User-Agent: rss2email
{
foldername=News
# First deliver to maildir so LASTFOLDER gets set
:0c
$foldername/
# Mark as read
:0 ai
* LASTFOLDER ?? ()\/[^/]+^^
| mv `echo $LASTFOLDER | sed -e 's:/tmp/:/new/:g'` "$foldername/cur/$MATCH:2,S"
}
:0:
${DEFAULT}~/.config/r2e/config.py (partial)
### Options for configuring rss2email ###
# The email address messages are from by default:
DEFAULT_FROM = "myuser@gmail.com"
# The email address messages are sent to by default:
DEFAULT_TO = "myuser@localhost"
.
.
.Last edited by firecat53 (2012-07-10 17:02:02)
Offline
No experience, but came across this coincidentally
ep1027 :: Migrating away from Google Reader
on
http://hackerpublicradio.org/
Feed2Imap
http://home.gna.org/feed2imap/
Offline
I also tried feed2imap but it hasn't been updated for Ruby 1.9 and I didn't feel like maintaining a ruby 1.8 AUR install just for that. Sounds like a great idea, though!
Scott
Offline
firecat53, thank you... so I guess it's not possible to skip postfix in this process, i.e. have rss2email directly give the mails to procmail? I have nothing in contrary to postfix in principle, but since I don't have it installed and configured, and I like to KISS, I'd rather not use it if it's not strictly necessary...
regarding feed2imap and rss2imap, yes they're nice but unmaintained/partially broken as I said in OP
Offline
No, you should be able to use another smtp program (msmtp, esmtp, fdm, etc) to configure local mail delivery. On my laptop I use esmtp. Postfix on my server.
~/.esmtprc
mda "/usr/bin/procmail -d %T"
force_mda = "firecat53"I have the same .procmailrc on my server and laptop (even though rss2email is only on the server) and I get local mail delivery (cron jobs, etc) on both just fine.
Scott
Offline
I think it's time to revive this topic as google is going to power down the Google Reader:
http://googlereader.blogspot.com.au/201 … eader.html
I'd rather like to inject the feeds directly into IMAP as opposed to taking an indirection via SMTP. If rss2email still happens to be the best option, it should be feasible to replace sendmail with a wrapper script that just uploads the feed items to an IMAP server.
Offline
A better solution probably would have been to have started a new thread with perhaps a link to this one. It is typically frowned upon to resurrect old threads.
I laugh, yet the joke is on me
Offline