rss2email gives: Fatal error: could not connect to mail server

Thufir hawat.thufir at gmail.com
Sun Apr 15 09:20:23 UTC 2007


Ok, progress :)

some sort of error relating to specific rss feed?  I tried a few, so that seems
unlikely.

[root at benetleilax .rss2email]# 
[root at benetleilax .rss2email]# 
[root at benetleilax .rss2email]# pwd
/root/.rss2email
[root at benetleilax .rss2email]# whoami
root
[root at benetleilax .rss2email]# ll
total 24
-rw-r--r-- 1 root root 378 Apr 15 10:05 config.py
-rw-r--r-- 1 root root 416 Apr 15 10:05 config.pyc
-rw-r--r-- 1 root root 376 Apr 15 10:12 feeds.dat
[root at benetleilax .rss2email]# cat config.py
# Find some common used config options below; all can be found all and 
# descriptions in the section titled "### Vaguely Customizable Options ###"
# near the top of /usr/share/rss2email/rss2email.py

DEFAULT_FROM="bozo at dev.null.invalid"
HTML_MAIL=1
SMTP_SEND=1
SMTP_SERVER="smtp.gmail.com"
AUTHREQUIRED=0
SMTP_USER="hawat.thufir"
SMTP_PASS="password"
#no, that's not my password :)
DATE_HEADER=0
# PROXY=""
[root at benetleilax .rss2email]# r2e
E: insufficient args

rss2email: get RSS feeds emailed to you
http://www.aaronsw.com/2002/rss2email

Usage:
  new [emailaddress] (create new feedfile)
  email newemailaddress (update default email)
  run [--no-send] [num]
  add feedurl [emailaddress]
  list
  delete n

[root at benetleilax .rss2email]# r2e list
default email: hawat.thufir at gmail.com
1: feedparser (default: hawat.thufir at gmail.com)
2: 4.1 (default: hawat.thufir at gmail.com)
3: http://vancouver.craigslist.org/mcy/index.rss (default: hawat.thufir at gmail.com)
[root at benetleilax .rss2email]# 
[root at benetleilax .rss2email]# r2e run
E: error in "feedparser" feed (<unknown>:2:-1: Document is empty
)
E: error in "4.1" feed (<unknown>:2:-1: Document is empty
)
=== SEND THE FOLLOWING TO rss2email at aaronsw.com ===
E: could not parse http://vancouver.craigslist.org/mcy/index.rss
Traceback (most recent call last):
  File "/usr/share/rss2email/rss2email.py", line 644, in run
    smtpserver = send(fromhdr, tohdr, subjecthdr, content, contenttype,
extraheaders, smtpserver)
  File "/usr/share/rss2email/rss2email.py", line 178, in send
    smtpserver.sendmail(sender, recipient, msg_as_string)
  File "/usr/lib/python2.4/smtplib.py", line 684, in sendmail
    raise SMTPSenderRefused(code, resp, from_addr)
SMTPSenderRefused: (530, '5.7.0 Must issue a STARTTLS command first
40sm6172305nzf', u'"craigslist | motorcycles/scooters in vancouver, BC"
<webmaster at craigslist.org>')
rss2email 2.60
feedparser 4.1
html2text 2.26
Python 2.4.4 (#1, Oct 23 2006, 13:58:00) 
[GCC 4.1.1 20061011 (Red Hat 4.1.1-30)]
=== END HERE ===
[root at benetleilax .rss2email]# 
[root at benetleilax .rss2email]# date
Sun Apr 15 10:13:56 BST 2007
[root at benetleilax .rss2email]# 


It comes across as a bug, but it seems more likely to be user error, I must
admit.  By the way, I configured a FQDN, for what it's worth,
"benetleilax.homedns.org", via <http://www.dyndns.com/>, but that's a side topic
I'm thinking

thanks,

Thufir




More information about the fedora-list mailing list