#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: |
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 (1)
Change History (6)
comment:1 by , 19 years ago
Type: | defect → enhancement |
---|
comment:2 by , 19 years ago
Keywords: | email notification added; GMail Notifications removed |
---|
by , 19 years ago
Attachment: | TLS-support.patch added |
---|
Preliminary TLS support for email notifications
comment:3 by , 19 years ago
Owner: | changed from | to
---|---|
Status: | new → 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
comment:4 by , 19 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
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 , 19 years ago
Milestone: | → 0.10 |
---|---|
Version: | none → devel |
#3125 marked as a dup.