I'm posting this to help anyone who might have the same problem. I was
getting this in the log whenever Trac tried to send an email:
   (535, 'authorization failed (#5.7.0)')

After searching around google regarding the python smtplib, I was able
to fix the problem. In the smtplib.py python source file, I found the
following line in the login method:
   preferred_auths = [AUTH_CRAM_MD5, AUTH_PLAIN, AUTH_LOGIN]

I changed the line to use the AUTH_LOGIN method and now I can send
emails ok:
   preferred_auths = [AUTH_LOGIN, AUTH_PLAIN]

I guess my smtp server (a very large commercial provider) doesn't like
the CRAM_MD5 method. This is the only python app I have running on my
server, so I wasn't concerned with it affecting another app.

- Brian


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to