James Molina wrote:

    self.server = smtplib.SMTP(self.smtp_server, self.smtp_port)
  File "/usr/lib/python2.4/smtplib.py", line 241, in __init__
    (code, msg) = self.connect(host, port)
  File "/usr/lib/python2.4/smtplib.py", line 303, in connect
    raise socket.error, msg
error: (13, 'Permission denied')

This is a socket error. It's saying that you aren't allowed to connect using the socket. That means that it's an operating system issue. I would suspect that it's some selinux funness. Try sending an email as the user that trac runs under (probably apache or www-data). Also, as said user, fire up a python shell and import smtplib and use that to send a test message.

-John
_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac

Reply via email to