Opened 16 years ago
Closed 16 years ago
#7360 closed defect (invalid)
SMTPAuthenticationError: (535, '5.7.0 authentication failed')
Reported by: | Owned by: | Jonas Borgström | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | notification | Version: | 0.11rc2 |
Severity: | minor | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
How to Reproduce
While doing a GET operation on /wiki
, Trac issued an internal error.
(please provide additional details here)
User Agent was: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008061015 Firefox/3.0
System Information
Trac | 0.11rc2
|
Python | 2.5.2 (r252:60911, May 7 2008, 15:19:09) [GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)]
|
setuptools | 0.6c8
|
SQLite | 3.4.2
|
pysqlite | 2.3.2
|
Genshi | 0.6dev-r888
|
Subversion | 1.4.6 (r28521)
|
jQuery: | 1.2.3
|
Python Traceback
Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/Trac-0.11rc2-py2.5.egg/trac/web/main.py", line 423, in _dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.5/site-packages/Trac-0.11rc2-py2.5.egg/trac/web/main.py", line 209, in dispatch self._post_process_request(req, *resp) File "/usr/lib/python2.5/site-packages/Trac-0.11rc2-py2.5.egg/trac/web/main.py", line 299, in _post_process_request resp = f.post_process_request(req, *resp) File "build/bdist.linux-i686/egg/acct_mgr/web_ui.py", line 539, in post_process_request self._send_email(req) File "build/bdist.linux-i686/egg/acct_mgr/web_ui.py", line 578, in _send_email notifier.notify(req.authname, req.session['email_verification_token']) File "build/bdist.linux-i686/egg/acct_mgr/web_ui.py", line 508, in notify SingleUserNofification.notify(self, username, subject) File "build/bdist.linux-i686/egg/acct_mgr/web_ui.py", line 110, in notify NotifyEmail.notify(self, username, subject) File "/usr/lib/python2.5/site-packages/Trac-0.11rc2-py2.5.egg/trac/notification.py", line 241, in notify Notify.notify(self, resid) File "/usr/lib/python2.5/site-packages/Trac-0.11rc2-py2.5.egg/trac/notification.py", line 129, in notify self.begin_send() File "/usr/lib/python2.5/site-packages/Trac-0.11rc2-py2.5.egg/trac/notification.py", line 323, in begin_send self.server.login(self.user_name, self.password) File "/usr/lib/python2.5/smtplib.py", line 591, in login raise SMTPAuthenticationError(code, resp) SMTPAuthenticationError: (535, '5.7.0 authentication failed')
Trouble with smtp. Take a look on "/usr/lib/python2.5/site-packages/Trac-0.11rc2-py2.5.egg/trac/notification.py", line 323, in begin_send .
There is smtp session which coused that error:
sendmail: 220 armageddon.csu.ru ESMTP Sendmail 8.14.2/8.14.2/Debian-2build1; Fri, 20 Jun 2008 05:52:33 +0600; (No UCE/UBE) logging access from: localhost(OK)-localhost [127.0.0.1] python: ehlo [195.54.14.124] sendmail: 250-armageddon.csu.ru Hello localhost [127.0.0.1], pleased to meet you 250-ENHANCEDSTATUSCODES 250-PIPELINING 250-EXPN 250-VERB 250-8BITMIME 250-SIZE 250-DSN 250-ETRN 250-AUTH DIGEST-MD5 CRAM-MD5 250-DELIVERBY 250 HELP python: AUTH CRAM-MD5 sendmail: 334 PDE2OTM1Nzc0MzkuNTk2MDA3NUBhcm1hZ2VkZG9uLmNzdS5ydT4= python: Z3JhZEBhcm1hZ2VkZG9uLmNzdS5ydSA1MTQ5MjM0NjQ4ZjRmYTQ2Yzg4OTIyNzIxMjRmMmNiOA== sendmail: 535 5.7.0 authentication failed
Attachments (0)
Change History (7)
comment:1 by , 16 years ago
comment:2 by , 16 years ago
trac.ini {{{# -*- coding: utf-8 -*-
[account-manager] account_changes_notify_addresses = grad@… notify_actions = new,change,delete
[attachment] max_size = 262144 render_unsafe_content = false
[browser] color_scale = True downloadable_paths = /trunk, /branches/*, /tags/* hide_properties = svk:merge #intermediate_color = #intermediate_point = newest_color = (255, 136, 136) oldest_color = (136, 136, 255) oneliner_properties = trac:summary render_unsafe_content = false wiki_properties = trac:description
[changeset] max_diff_bytes = 10000000 max_diff_files = 0 wiki_format_messages = true
[components] acct_mgr.admin.* = enabled acct_mgr.api.* = enabled acct_mgr.db.* = enabled acct_mgr.htfile.* = enabled acct_mgr.http.* = enabled acct_mgr.notification.* = enabled acct_mgr.pwhash.* = enabled acct_mgr.svnserve.* = enabled acct_mgr.web_ui.* = enabled
[header_logo] alt = Testing Trac height = 50 link = src = site/logo.png width = 75
[inherit] plugins_dir = templates_dir =
[logging] log_level = DEBUG log_type = syslog
[milestone] stats_provider = DefaultTicketGroupStatsProvider
[mimeviewer] enscript_modes = text/x-dylan:dylan:4 enscript_path = enscript max_preview_size = 262144 mime_map = text/x-dylan:dylan,text/x-idl:ice,text/x-ada:ads:adb php_path = php tab_width = 8
[notification] admit_domains = always_notify_owner = true always_notify_reporter = true always_notify_updater = true ignore_domains = mime_encoding = base64 smtp_always_bcc = smtp_always_cc = smtp_default_domain = smtp_enabled = true smtp_from = grad@… smtp_from_name = grad@… smtp_password = smtp_port = 25 smtp_replyto = grad@… smtp_server = localhost smtp_subject_prefix = default smtp_user = grad@… ticket_subject_template = $prefix #$ticket.id: $summary use_public_cc = false use_short_addr = false use_tls = false
[project] admin = descr = My example project footer = Visit the Trac open source project at<br /><a href="http://trac.edgewall.org/">http://trac.edgewall.org/</a> icon = common/trac.ico name = Testing Trac url =
[query] default_anonymous_query = status!=closed&cc~=$USER default_query = status!=closed&owner=$USER items_per_page = 100
[report] items_per_page = 100 items_per_page_rss = 0
[revisionlog] default_log_limit = 100
[roadmap] stats_provider = DefaultTicketGroupStatsProvider
[search] min_query_length = 3
[svn] branches = trunk,branches/* tags = tags/*
[ticket] default_component = default_milestone = default_priority = major default_resolution = fixed default_type = defect default_version = max_description_size = 262144 preserve_newlines = default restrict_owner = false workflow = ConfigurableTicketWorkflow
[ticket-workflow] accept = new,assigned,accepted,reopened → accepted accept.operations = set_owner_to_self accept.permissions = TICKET_MODIFY leave = * → * leave.default = 1 leave.operations = leave_status reassign = new,assigned,accepted,reopened → assigned reassign.operations = set_owner reassign.permissions = TICKET_MODIFY reopen = closed → reopened reopen.operations = del_resolution reopen.permissions = TICKET_CREATE resolve = new,assigned,accepted,reopened → closed resolve.operations = set_resolution resolve.permissions = TICKET_MODIFY
[timeline] abbreviated_messages = true changeset_collapse_events = false changeset_long_messages = false changeset_show_files = 0 default_daysback = 30 max_daysback = 90 newticket_formatter = oneliner ticket_show_details = false
[trac] authz_file = authz_module_name = auto_reload = False base_url = http://localhost:8000/trac/ check_auth_ip = true database = sqlite:db/trac.db default_charset = iso-8859-15 htdocs_location = ignore_auth_case = false mainnav = wiki,timeline,roadmap,browser,tickets,newticket,search metanav = login,logout,prefs,help,about permission_policies = DefaultPermissionPolicy, LegacyAttachmentPolicy permission_store = DefaultPermissionStore repository_dir = /home/grad/tracsvn repository_type = svn show_email_addresses = false timeout = 20 use_base_url_for_redirect = False
[wiki] ignore_missing_pages = false render_unsafe_content = false split_page_names = false }}}
comment:3 by , 16 years ago
trac.ini
# -*- coding: utf-8 -*- [account-manager] account_changes_notify_addresses = grad@csu.ru notify_actions = new,change,delete [attachment] max_size = 262144 render_unsafe_content = false [browser] color_scale = True downloadable_paths = /trunk, /branches/*, /tags/* hide_properties = svk:merge #intermediate_color = #intermediate_point = newest_color = (255, 136, 136) oldest_color = (136, 136, 255) oneliner_properties = trac:summary render_unsafe_content = false wiki_properties = trac:description [changeset] max_diff_bytes = 10000000 max_diff_files = 0 wiki_format_messages = true [components] acct_mgr.admin.* = enabled acct_mgr.api.* = enabled acct_mgr.db.* = enabled acct_mgr.htfile.* = enabled acct_mgr.http.* = enabled acct_mgr.notification.* = enabled acct_mgr.pwhash.* = enabled acct_mgr.svnserve.* = enabled acct_mgr.web_ui.* = enabled [header_logo] alt = Testing Trac height = 50 link = src = site/logo.png width = 75 [inherit] plugins_dir = templates_dir = [logging] log_level = DEBUG log_type = syslog [milestone] stats_provider = DefaultTicketGroupStatsProvider [mimeviewer] enscript_modes = text/x-dylan:dylan:4 enscript_path = enscript max_preview_size = 262144 mime_map = text/x-dylan:dylan,text/x-idl:ice,text/x-ada:ads:adb php_path = php tab_width = 8 [notification] admit_domains = always_notify_owner = true always_notify_reporter = true always_notify_updater = true ignore_domains = mime_encoding = base64 smtp_always_bcc = smtp_always_cc = smtp_default_domain = smtp_enabled = true smtp_from = grad@armageddon.csu.ru smtp_from_name = grad@armageddon.csu.ru smtp_password = smtp_port = 25 smtp_replyto = grad@armageddon.csu.ru smtp_server = localhost smtp_subject_prefix = __default__ smtp_user = grad@armageddon.csu.ru ticket_subject_template = $prefix #$ticket.id: $summary use_public_cc = false use_short_addr = false use_tls = false [project] admin = descr = My example project footer = Visit the Trac open source project at<br /><a href="http://trac.edgewall.org/">http://trac.edgewall.org/</a> icon = common/trac.ico name = Testing Trac url = [query] default_anonymous_query = status!=closed&cc~=$USER default_query = status!=closed&owner=$USER items_per_page = 100 [report] items_per_page = 100 items_per_page_rss = 0 [revisionlog] default_log_limit = 100 [roadmap] stats_provider = DefaultTicketGroupStatsProvider [search] min_query_length = 3 [svn] branches = trunk,branches/* tags = tags/* [ticket] default_component = default_milestone = default_priority = major default_resolution = fixed default_type = defect default_version = max_description_size = 262144 preserve_newlines = default restrict_owner = false workflow = ConfigurableTicketWorkflow [ticket-workflow] accept = new,assigned,accepted,reopened -> accepted accept.operations = set_owner_to_self accept.permissions = TICKET_MODIFY leave = * -> * leave.default = 1 leave.operations = leave_status reassign = new,assigned,accepted,reopened -> assigned reassign.operations = set_owner reassign.permissions = TICKET_MODIFY reopen = closed -> reopened reopen.operations = del_resolution reopen.permissions = TICKET_CREATE resolve = new,assigned,accepted,reopened -> closed resolve.operations = set_resolution resolve.permissions = TICKET_MODIFY [timeline] abbreviated_messages = true changeset_collapse_events = false changeset_long_messages = false changeset_show_files = 0 default_daysback = 30 max_daysback = 90 newticket_formatter = oneliner ticket_show_details = false [trac] authz_file = authz_module_name = auto_reload = False base_url = http://localhost:8000/trac/ check_auth_ip = true database = sqlite:db/trac.db default_charset = iso-8859-15 htdocs_location = ignore_auth_case = false mainnav = wiki,timeline,roadmap,browser,tickets,newticket,search metanav = login,logout,prefs,help,about permission_policies = DefaultPermissionPolicy, LegacyAttachmentPolicy permission_store = DefaultPermissionStore repository_dir = /home/grad/tracsvn repository_type = svn show_email_addresses = false timeout = 20 use_base_url_for_redirect = False [wiki] ignore_missing_pages = false render_unsafe_content = false split_page_names = false
comment:4 by , 16 years ago
Fixed by replacing "smtp_user = grad@…" in trac.ini to "smtp_user = "
Sorry
comment:5 by , 16 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
comment:6 by , 16 years ago
Resolution: | wontfix |
---|---|
Status: | closed → reopened |
comment:7 by , 16 years ago
Component: | general → notification |
---|---|
Milestone: | 0.11 |
Priority: | high → normal |
Resolution: | → invalid |
Status: | reopened → closed |
Not wontfix: configuration error → invalid
Another session with this sendmail: