trac 메일링 문제

1395 단어 UIWeb
smtp 세그먼트 설정을 발견하면,
2010-06-11 17:52:25,470 Trac[web_ui] ERROR: Failure sending notification on change to ticket #8: (535, '5.7.0 authentication failed')
Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/Trac-0.11-py2.3.egg/trac/ticket/web_ui.py", line 969, in _do_save
tn.notify(ticket, newticket=False, modtime=now)
File "/usr/lib/python2.3/site-packages/Trac-0.11-py2.3.egg/trac/ticket/notification.py", line 149, in notify
NotifyEmail.notify(self, ticket.id, subject)
File "/usr/lib/python2.3/site-packages/Trac-0.11-py2.3.egg/trac/notification.py", line 241, in notify
Notify.notify(self, resid)
File "/usr/lib/python2.3/site-packages/Trac-0.11-py2.3.egg/trac/notification.py", line 129, in notify
self.begin_send()
File "/usr/lib/python2.3/site-packages/Trac-0.11-py2.3.egg/trac/notification.py", line 324, in begin_send
self.server.login(self.user_name, self.password)
File "/usr/lib/python2.3/smtplib.py", line 583, in login
raise SMTPAuthenticationError(code, resp)
SMTPAuthenticationError: (535, '5.7.0 authentication failed')

해결 방법,trac/notification.py의 begin_send(self): 방법, 이 줄에 가입
self.server.esmtp_features["auth"] = "LOGIN PLAIN"

좋은 웹페이지 즐겨찾기