Modify

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#13063 closed defect (cantfix)

SMTPDataError: (550, '5.7.60 SMTP; Client does not have permissions to send as this sender')

Reported by: Praneeth Owned by: Ryan J Ollos
Priority: normal Component: AccountManagerPlugin
Severity: normal Keywords:
Cc: Trac Release:

Description

How to Reproduce

While doing a POST operation on /admin/accounts/users, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{u'__FORM_TOKEN': u'a614214b833a4d72b14e2d10',
 u'add': u' Add ',
 'cat_id': u'accounts',
 u'email': u'Faraaz.Ahmed@Corpus.com',
 u'name': u'Faraaz',
 'panel_id': u'users',
 u'password': u'Corpus@123',
 u'password_confirm': u'Corpus@123',
 'path_info': None,
 u'username': u'faraaz'}

User agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36

System Information

Trac 1.0.13
Babel 0.9.6
Genshi 0.6 (without speedups)
GIT 2.7.4.windows.1
mod_wsgi 3.5 (WSGIProcessGroup WSGIApplicationGroup %{GLOBAL})
pysqlite 2.6.3
Python 2.7.12 (v2.7.12:d33e0cf91556, Jun 27 2016, 15:19:22) [MSC v.1500 32 bit (Intel)]
setuptools 7.0
SQLite 3.7.6.2
jQuery 1.7.2
jQuery UI 1.8.21
jQuery Timepicker 1.0.1

Enabled Plugins

cc-selector 0.0.2
iniadmin 0.3.post0
TicketBox r7516
tracaccountmanager 0.3.2
tracautocompleteusersplugin 0.4.3dev-r0
tracdragdrop 0.12.0.13

Python Traceback

Traceback (most recent call last):
  File "build\bdist.win32\egg\trac\web\main.py", line 562, in _dispatch_request
    dispatcher.dispatch(req)
  File "build\bdist.win32\egg\trac\web\main.py", line 249, in dispatch
    resp = chosen_handler.process_request(req)
  File "build\bdist.win32\egg\trac\admin\web_ui.py", line 119, in process_request
    path_info)
  File "build\bdist.win32\egg\acct_mgr\admin.py", line 137, in render_admin_panel
    return self._do_users(req)
  File "build\bdist.win32\egg\acct_mgr\admin.py", line 240, in _do_users
    _create_user(req, env, check_permissions=False)
  File "build\bdist.win32\egg\acct_mgr\web_ui.py", line 148, in _create_user
    acctmgr.set_password(username, password)
  File "build\bdist.win32\egg\acct_mgr\api.py", line 295, in set_password
    self._notify('created', user, password)
  File "build\bdist.win32\egg\acct_mgr\api.py", line 458, in _notify
    getattr(l, func)(*args)
  File "build\bdist.win32\egg\acct_mgr\notification.py", line 39, in user_created
    notifier.notify(username, 'New user registration')
  File "build\bdist.win32\egg\acct_mgr\notification.py", line 89, in notify
    NotifyEmail.notify(self, username, subject)
  File "build\bdist.win32\egg\trac\notification.py", line 375, in notify
    Notify.notify(self, resid)
  File "build\bdist.win32\egg\trac\notification.py", line 260, in notify
    self.send(torcpts, ccrcpts)
  File "build\bdist.win32\egg\trac\notification.py", line 525, in send
    msg.as_string())
  File "build\bdist.win32\egg\trac\notification.py", line 133, in send_email
    self.email_sender.send(from_addr, recipients, message)
  File "build\bdist.win32\egg\trac\notification.py", line 187, in send
    server.sendmail(from_addr, recipients, message)
  File "C:\trac-1.0.13-0\python\lib\smtplib.py", line 751, in sendmail
    raise SMTPDataError(code, resp)
SMTPDataError: (550, '5.7.60 SMTP; Client does not have permissions to send as this sender')

Attachments (0)

Change History (2)

comment:1 Changed 8 years ago by Ryan J Ollos

Resolution: cantfix
Status: newclosed

InstallationIssue. Your notification system is not properly configured. Also, please upgrade your AccountManagerPlugin to at least 0.4.4.

comment:2 Changed 8 years ago by Jun Omae

See google:"5.7.60 SMTP; Client does not have permissions to send as this sender". It seems there is an answer in forum of Office 365.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.