[tor-bugs] #8485 [GetTor]: Gettor: TBB too big now for Gmail
Tor Bug Tracker & Wiki
blackhole at torproject.org
Wed Mar 27 23:33:34 UTC 2013
#8485: Gettor: TBB too big now for Gmail
----------------------+-----------------------------------------------------
Reporter: mo | Owner: mo
Type: defect | Status: assigned
Priority: critical | Milestone:
Component: GetTor | Version:
Keywords: | Parent:
Points: | Actualpoints:
----------------------+-----------------------------------------------------
Comment(by mo):
The new Gettor will send individual Google Drive links (direct download
links). Until then, I have now changed Gettor to send mails via Gmail, so
at least Gmail users can receive our packages again. Sadly, it does not
really work, and I have a hard time figuring out why.
- I can send emails including large attachments via gmail SMTP fine (using
gettor's From addresses).
- Gettor can send all mails without attachments via gmail SMTP fine (using
gettor's From addresses).
- it cannot send mails with attachment (smtp auth failure)
So, sending packages is still broken. Now for a different reason than
before.
{{{
/home/gettor/.gettor.conf
PROVIDER_ATTACHMENT_SIZES = { "gmail.com": 500,
"yahoo.com": 25,
"yahoo.cn": 25 }
/srv/gettor.torproject.org/gettor/lib/python2.6/site-
packages/gettor/responses.py
def sendEmail(self, sendTo, message, smtpserver="localhost:25"):
"""Send out message via STMP. If an error happens, be verbose
about·
the reason
"""
# modified by moritz to send via gmail (#8485)
smtpserver = "smtp.gmail.com"
smtpuser = "gettormail at gmail.com"
smtppass = <>
try:
smtp = smtplib.SMTP(smtpserver,587)
smtp.ehlo()
smtp.starttls()
smtp.ehlo()
smtp.login(smtpuser, smtppass)
smtp.sendmail(self.reqInfo['ouraddr'], sendTo,
message.as_string())
smtp.quit()
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/8485#comment:12>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list