Modify

Opened 17 years ago

Closed 17 years ago

#2798 closed defect (duplicate)

Sending SMTP fails miserably if MTA does not support AUTH

Reported by: Peter Owned by: Stephen Hansen
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 17 years ago by der Igel

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

comment:2 Changed 17 years ago by anonymous

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

comment:3 Changed 17 years ago by Cedric Hurst

Resolution: duplicate
Status: newclosed

use the patch provided in this ticket

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Stephen Hansen.
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.