Hilko Bengen wrote: > r2e run does not mind when the MTA does not accept messages. It > happily marks articles as processed, even when it got a non-zero > return from sendmail or a 4xx or 5xx from the SMTP connection.
Actually, if no mail is sent over the SMTP connection, smtplib.sendmail should raise an SMTPRecipientsRefused exception. This exception is trapped and rss2email exits with an error message. In the case of sendmail failing to run, it seems to indeed ignore nonzero exit status. > I'll try to come up with a patch for this issue. There's definitly room for improvement and I would appreciate a patch. I don't feel that this bug actually qualifies as grave severity. The potential for actual data loss depends on obscure situations where the data in the rss feed/blog vanishes after rss2email consumes it. Relying on an email system as the only way to retreive data is a bad assumption to make today; you'll lose data anyway even if rss2email doesn't fail, due to bogus spam traps, etc. -- see shy jo
signature.asc
Description: Digital signature

