It looks like trac is using smtplib ( http://docs.python.org/lib/module-smtplib.html). Here's trac notification module http://trac.edgewall.org/browser/trunk/trac/notification.py
AD On 11/5/07, Philip Neustrom <[EMAIL PROTECTED]> wrote: > > I remember checking on this at some point and there didn't seem to be a > python module in the standard libraries that implemented TLS for SMTP? If > there is it ought to be pretty easy to set it up to authenticate if given an > SSL port instead of the usual port..? What's trac do? > > --Philip > > On Nov 5, 2007 4:22 PM, Rottenchester <[EMAIL PROTECTED]> wrote: > > > I assume Trac calls some Python module that implements SMTP directly, > > which means it acts as its own MTA. > > > > Keep in mind, though, that all of the cert stuff would probably still > > have to be done since gmail's smtp server requires the use of TLS, > > which requires the cert. > > > > On 11/5/07, Adam Dewitz <[EMAIL PROTECTED]> wrote: > > > OK, not the answer I was hoping to see. I didn't really want to setup > > > postfix just so sycamore could send mail. > > > I was hoping Sycamore mail support would be similar to how Trac > > > implements notification. Trac can be configured to use a different > > > SMTP server without much difficulty ( http://trac.edgewall.org/wiki/ > > > TracNotification). No need to rely from the localhost. > > > > > > I already looked at the rocwiki config ;) > > > > > > AD > > > > > > > > > > > > >>The TLS stuff is external to sycamore - it is part of the config of > > > >>your mail transfer agent. How to config this differs depending on > > > the > > > >>MTA you're using. > > > > > > >>Here's a tutorial on how to do it on ubuntu with postfix: > > > > > > >>http://prantran.blogspot.com/2007/01/getting-postfix-to-work-on- > > > ubuntu-with.html > > > > > > >>Short answer is you need to install postfix, create certs, and then > > > >>tweak the config to use your certs. > > > > > > >>Once this is done, you can set mail_smarthost to localhost and it > > > >>should "just work". > > > > > > >>I have it working on rocwiki so maybe we can exchange configs off- > > > list. > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > Sycamore-Dev mailing list > > > [EMAIL PROTECTED] > > > http://www.projectsycamore.org/ > > > https://tools.cernio.com/mailman/listinfo/sycamore-dev > > > > > _______________________________________________ > > Sycamore-Dev mailing list > > [EMAIL PROTECTED] > > http://www.projectsycamore.org/ > > https://tools.cernio.com/mailman/listinfo/sycamore-dev > > > > > _______________________________________________ > Sycamore-Dev mailing list > [EMAIL PROTECTED] > http://www.projectsycamore.org/ > https://tools.cernio.com/mailman/listinfo/sycamore-dev > >
_______________________________________________ Sycamore-Dev mailing list [EMAIL PROTECTED] http://www.projectsycamore.org/ https://tools.cernio.com/mailman/listinfo/sycamore-dev
