Edgewall Software

Ticket #2970 (closed enhancement: fixed)

Opened 3 years ago

Last modified 3 years ago

TLS notifications

Reported by: anonymous Owned by: eblot
Priority: normal Milestone: 0.10
Component: ticket system Version: devel
Severity: normal Keywords: TLS email notification
Cc:

Description

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

TLS-support.patch (1.9 KB) - added by eblot 3 years ago.
Preliminary TLS support for email notifications

Change History

Changed 3 years ago by anonymous

  • type changed from defect to enhancement

Changed 3 years ago by eblot

  • keywords email notification added; GMail Notifications removed

#3125 marked as a dup.

Changed 3 years ago by eblot

Preliminary TLS support for email notifications

Changed 3 years ago by eblot

  • owner changed from jonas to eblot
  • status changed from new to assigned

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

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

Changed 3 years ago by eblot

  • status changed from assigned to closed
  • resolution set to fixed

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.

Changed 3 years ago by eblot

  • version changed from none to devel
  • milestone set to 0.10

Add/Change #2970 (TLS notifications)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from eblot. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.