Package: rss2email
Version: 3.9-1
Severity: important
Tags: upstream

As described in #770172, Python doesn't support SSLv3 now, so sending
emails over SMTP fails right before STARTTLS attempt with a confusing
‘could not authenticate with mail server’ error message.

Removing an ‘except’ keyword from email.py helped me to diagnose the
issue:

Traceback (most recent call last):
  File "/usr/bin/r2e", line 5, in <module>
    rss2email.main.run()
  File "/usr/lib/python3/dist-packages/rss2email/main.py", line 175, in run
    args.func(feeds=feeds, args=args)
  File "/usr/lib/python3/dist-packages/rss2email/command.py", line 62, in run
    feed.run(send=args.send)
  File "/usr/lib/python3/dist-packages/rss2email/feed.py", line 860, in run
    digest=digest, seen=seen, sender=sender, send=send)
  File "/usr/lib/python3/dist-packages/rss2email/feed.py", line 906, in 
_send_digest
    self._send(sender=sender, message=digest_msg)
  File "/usr/lib/python3/dist-packages/rss2email/feed.py", line 818, in _send
    config=self.config, section=section)
  File "/usr/lib/python3/dist-packages/rss2email/email.py", line 350, in send
    config=config, section=section)
  File "/usr/lib/python3/dist-packages/rss2email/email.py", line 165, in 
smtp_send
    protocol = getattr(_ssl, 'PROTOCOL_{}'.format(protocol_name))
AttributeError: 'module' object has no attribute 'PROTOCOL_SSLv3'

What needs to be done is (at least) modification to config.py:196 to replace 
SSLv3 by TLSv1, or, better,
automatic replacement, probably with a warning, in runtime.


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.12-1-686-pae (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/mksh


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to