Modify

Opened 6 years ago

Closed 6 years ago

#2798 closed defect (duplicate)

Sending SMTP fails miserably if MTA does not support AUTH

Reported by: goldman Owned by: ixokai
Priority: normal Component: AnnouncerPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

2008-03-25 08:59:36,604 Trac[api] ERROR: AnnouncementSystem failed.
Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/announcerplugin/api.py", line 376, in _real_send
    distributor.distribute(transport, packages[transport], evt)
  File "/usr/lib/python2.5/site-packages/AnnouncerPlugin-0.2-py2.5.egg/announcerplugin/distributors/email_distributor.py", line 190, in distribute
    self._do_send(transport, event, format, messages[format], formats[format])
  File "/usr/lib/python2.5/site-packages/AnnouncerPlugin-0.2-py2.5.egg/announcerplugin/distributors/email_distributor.py", line 268, in _do_send
    self._transmit(*package)
  File "/usr/lib/python2.5/site-packages/AnnouncerPlugin-0.2-py2.5.egg/announcerplugin/distributors/email_distributor.py", line 276, in _transmit
    smtp.login(self.smtp_user, self.smtp_password)
  File "smtplib.py", line 554, in login
    raise SMTPException("SMTP AUTH extension not supported by server.")
SMTPException: SMTP AUTH extension not supported by server.

If 'threaded delivery' is enabled this error message is not even logged and sending notifications fails silently

Attachments (0)

Change History (3)

comment:1 Changed 6 years ago by derigel

Yep, the same problem.
It's not necessary set username and password when they are empty.

comment:2 Changed 6 years ago by anonymous

I got the same error... So what to do ?

comment:3 Changed 6 years ago by cedrichurst

  • Resolution set to duplicate
  • Status changed from new to closed

use the patch provided in this ticket

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from ixokai. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.