Edgewall Software

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#2970 closed enhancement (fixed)

TLS notifications

Reported by: anonymous Owned by: Emmanuel Blot
Priority: normal Milestone: 0.10
Component: ticket system Version: devel
Severity: normal Keywords: TLS email notification
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:


I had been searching on google for a while, but it's troublesome to try and find anything for Trac, as it will find other projects, so I found a lot of projects adding TLS support, but nothing to do with Trac itself, so here's my question:

Could TLS support for notifications be given as a patch, and hopefully later built into a Trac version, it would be a very useful feature for, using myself as an example, sending E-Mail notifications via a SMTP server using TLS, such as GMail.

Attachments (1)

TLS-support.patch (1.9 KB ) - added by Emmanuel Blot 14 years ago.
Preliminary TLS support for email notifications

Download all attachments as: .zip

Change History (6)

comment:1 by anonymous, 14 years ago

Type: defectenhancement

comment:2 by Emmanuel Blot, 14 years ago

Keywords: email notification added; GMail Notifications removed

#3125 marked as a dup.

by Emmanuel Blot, 14 years ago

Attachment: TLS-support.patch added

Preliminary TLS support for email notifications

comment:3 by Emmanuel Blot, 14 years ago

Owner: changed from Jonas Borgström to Emmanuel Blot
Status: newassigned

I've added a patch to support TLS/SSL for email notification.
You obviously need SSL support w/ your Python distribution.

I've tested the patch w/ GMail SMTP server. It worked for me.
I recommend to use the "QP" (quoted printable) encoding, as the pure Base64 encoding may be rejected as spam by some server.

To enable the TLS feature, add the following line in your trac.ini file

; enable TLS
use_tls = true
; optional: use quoted printable
mime_encoding = qp

comment:4 by Emmanuel Blot, 14 years ago

Resolution: fixed
Status: assignedclosed

Should be implemented in [3336].

I ran a batch of tests with GMail and it seems to work fine. I do not have any other TLS-enabled server available, please re-open this ticket if TLS support does not work with other servers.

comment:5 by Emmanuel Blot, 14 years ago

Milestone: 0.10
Version: nonedevel

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Emmanuel Blot.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Emmanuel Blot to the specified user.

Add Comment

E-mail address and name can be saved in the Preferences .
Note: See TracTickets for help on using tickets.