christiaangoossens/tls_icon 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

christiaangoossens/tls_icon

最新稳定版本:1.0.2

Composer 安装命令:

composer require christiaangoossens/tls_icon

包简介

Displays TLS status next to the sender name (just like authres_status) in Roundcube, supports local mails and detecting weak TLS ciphers.

README 文档

README

Displays a small icon in the sender field that displays the (presumed) encryption state of received mails and displays the hostname of the last mailserver.

This plugin parses the "Received" header for the last hop and checks if TLS was used. This requires TLS logging in the receiving MTA.

In Postfix this can be enabled by setting smtpd_tls_received_header = yes. Sendmail and Stalwart should work out of the box. Other MTAs have not been explicitly tested.

Note that while this talks about "encryption", this does not imply security. An encrypted mail may still be insecure, mostly because mailservers generally use "opportunistic TLS", where MITM attacks are possible. This also only validates the last hop of an email - some emails may run through multiple hops and we don't know anything about the security of these.

Inspired by roundcube-easy-unsubscribe

Forked from https://github.com/GermanCoding/Roundcube_TLS_Icon

Example screenshot

authres_status was also installed for this screenshot

Details mode

Example image

Summary mode

Example of summary mode

Changes compared to GermanCoding/Roundcube_TLS_Icon

  • Dropped support for Roundcube 1.5 or older, including support for PHP 5.4-7.2 to align with https://github.com/roundcube/roundcubemail/wiki/Version-History
  • Changed location of the padlock to the from field, to align with the authres_status plugin (and how it is displayed in Rainloop Webmail)
  • Added support for showing localhost emails (when received using STARTTLS) as local instead of unencrypted
  • Shows yellow broken padlock on TLS 1.0, TLS 1.1 and 'bad' implementations of TLS 1.2 and TLS 1.3
  • Shows hostname of the last mailserver at the end of the sender line

Installation

The composer library name is: christiaangoossens/tls_icon.

The plugin name to add to your config file is: tls_icon.

Requirements

  • Roundcube 1.6.0 or newer.
  • PHP 7.3 or newer.

Currently supported languages

  • Dutch
  • English
  • French
  • German
  • Russian

统计信息

  • 总下载量: 27
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 7
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-09-17