Opened 11 years ago

Closed 10 years ago

#845 closed defect (wontfix)

MediaGoblin in i2p network.

Reported by: anongoblin Owned by:
Priority: major Milestone:
Component: programming Keywords: i2p, mail
Cc: Parent Tickets:

Description

Somebody faced with installing a network i2p mediagoblin?
While faced with the problem of registration of users:

When registering test@… mailing address is not valid (solved by changing emeil regex).
The problem with sending the confirmation e-mail addresses:
Settings in goblin.ini:
email_sender_address = "my_address@…"
email_smtp_host = '127.0.0.1 '
email_smtp_port = 7659
email_smtp_user = my_address@…
email_smtp_pass = my_password

Attempting to register in the logs is presented:

SMTPRecipientsRefused: {u'test@mail.i2p': (550, '5.7.1 <test@mail.i2p>: Recipient address rejected: Relay Access denied - You must login AND  senderaddress must m
2014/01/27 10:04:07 [error] 6667#0: *610 FastCGI sent in stderr: "Error - <class 'smtplib.SMTPRecipientsRefused'>: {u'test@mail.i2p': (550, '5.7.1 <test@mail.i2p>: Recipient address rejected: Relay Access denied - You must login AND  senderaddress must match your logi$
URL: http://goblin_site.i2p/auth/register/
File '/path/to/mediagoblin/mediagoblin/local/lib/python2.7/site-packages/Paste-1.7.5.1-py2.7.egg/paste/exceptions/errormiddleware.py', line 144 in __call__
  app_iter = self.application(environ, sr_checker)
File '/path/to/mediagoblin/mediagoblin/local/lib/python2.7/site-packages/Paste-1.7.5.1-py2.7.egg/paste/urlmap.py', line 203 in __call__
  return app(environ, start_response)
File '/path/to/mediagoblin/mediagoblin/mediagoblin/app.py', line 263 in __call__
  return self.call_backend(environ, start_response)
File '/path/to/mediagoblin/mediagoblin/mediagoblin/app.py', line 240 in call_backend
  response = controller(request)
File '/path/to/mediagoblin/mediagoblin/mediagoblin/decorators.py', line 303 in wrapper
  return controller(request, *args, **kwargs)
File '/path/to/mediagoblin/mediagoblin/mediagoblin/decorators.py', line 361 in wrapper
  return controller(request, *args, **kwargs)
File '/path/to/mediagoblin/mediagoblin/mediagoblin/auth/views.py', line 51 in register
  user = register_user(request, register_form)
File '/path/to/mediagoblin/mediagoblin/mediagoblin/auth/tools.py', line 148 in register_user
  send_verification_email(user, request)
File '/path/to/mediagoblin/mediagoblin/mediagoblin/auth/tools.py', line 103 in send_verification_email
  rendered_email)
File '/path/to/mediagoblin/mediagoblin/mediagoblin/tools/mail.py', line 129 in send_email
  return mhost.sendmail(from_addr, to_addrs, message.as_string())
File '/usr/lib/python2.7/smtplib.py', line 735 in sendmail
  raise SMTPRecipientsRefused(senderrs)

You can temporarily disable the confirmation e-mail address? Until there is a solution to this problem.

Change History (1)

comment:1 by Christopher Allan Webber, 10 years ago

Resolution: wontfix
Status: newclosed

I think this is a system python issue... this needs to be handled upstream in python's smtplib module. There's nothing we can do here... but I do encourage you to file a bug in python smtplib!

Note: See TracTickets for help on using tickets.