#590732 ubuntu-dev-tools: requestsync doesn't support STARTTLS

#590732#5
Date:
2010-07-28 21:44:10 UTC
From:
To:
It seems requestsync doesn't support using STARTTLS. Attempting to relay a sync
request though a server that requires TLS before authentication gives me the
error (e-mail address obscured):

Connecting to smtp.unchartedbackwaters.co.uk:587 ...
Traceback (most recent call last):
  File "/usr/bin/requestsync", line 242, in <module>
    mailBug(srcpkg, subscribe, status, title, report, options.keyid)
  File "/usr/lib/pymodules/python2.6/ubuntutools/requestsync/mail.py", line 226, in mailBug
    s.sendmail(myemailaddr, to, mail.encode('utf-8'))
  File "/usr/lib/python2.6/smtplib.py", line 698, in sendmail
    raise SMTPSenderRefused(code, resp, from_addr)
smtplib.SMTPSenderRefused: (530, '5.7.0 Must issue a STARTTLS command first', '#######@###################.##.##')

I note that reportbug has no problems with STARTTLS, but requires that an option
be set in .reportbugrc.

Francis