PHPackages                             foorschtbar/tls\_icon - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Logging &amp; Monitoring](/categories/logging)
4. /
5. foorschtbar/tls\_icon

ActiveRoundcube-plugin[Logging &amp; Monitoring](/categories/logging)

foorschtbar/tls\_icon
=====================

Displays a small icon in Roundcube after the subject line that displays the (presumed) encryption state of received mails.

2.0.0(1y ago)0201MITPHP

Since Oct 18Pushed 1y agoCompare

[ Source](https://github.com/foorschtbar/tls_icon)[ Packagist](https://packagist.org/packages/foorschtbar/tls_icon)[ Docs](https://github.com/foorschtbar/tls_icon)[ RSS](/packages/foorschtbar-tls-icon/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

TLS Icon Plugin for Roundcube
=============================

[](#tls-icon-plugin-for-roundcube)

Displays a small icon after the subject line that displays the (presumed) encryption state of received mails.

- Green lock: TLS1.2 or TLS1.3 with Details
- Blue lock: Internal message from localhost
- Red lock: No encryption

Supported languages:

- English
- Hungarian
- German
- Russian
- Dutch

Configuration
-------------

[](#configuration)

Add the following lines to your `config.php`:

```
$config['tls_icon'] = [
    'header_pattern' => '(by |from \[127\.0\.0\.1\])',
    'check_pattern' => '\(using TLSv?(1\.[2-3])',
    'local_pattern' => '(mailcowdockerized-dovecot-mailcow-1|127.0.0.1)',
    'tooltip_pattern' =>  '\(using\s(.*?)\s',

];
```

and change the different patterns to match your mail server:

- `header_pattern`: Pattern to match the last hop of the mail server (e.g. `by mail.example.com`)
- `check_pattern`: Pattern to match the encryption state (e.g. `using TLSv1.2`)
- `local_pattern`: Pattern to match the local mail server (e.g. `127.0.0.1`)
- `tooltip_pattern`: Pattern to match the encryption details. Use `()` to extract details. Tooltip uses the first match (e.g. `...(TLSv?1\.[2-3])...`)

Changelog
---------

[](#changelog)

v1.0.0

- First release

v1.0.1

- Some bugfix
- Add Hungarian language

v1.0.2

- Link bug fix

v1.0.3

- Add IPv6 Support
- Add Dutch Language

v2.0.0

- Replaced icons
- Improved pattern matching
- Added tooltip for encrypted messages
- Improved translations

Screenshots
-----------

[](#screenshots)

### Encrypted message

[](#encrypted-message)

[![Encrypted message](.github/encrypted.png)](.github/encrypted.png)

### Internal message

[](#internal-message)

[![Internal message](.github/internal.png)](.github/internal.png)

### Unencrypted message

[](#unencrypted-message)

[![Unencrypted message](.github/unencrypted.png)](.github/unencrypted.png)

Credits
-------

[](#credits)

Original plugin by [oszto90](https://github.com/oszto90/Roundcube_TLS_Icon_with_Hmailserver) and fork from [Takika](https://github.com/Takika/rc_tls_icon). I renamed the plugin to match the plugin naming shema and add more pattern to support more mail servers.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance40

Moderate activity, may be stable

Popularity7

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 Bus Factor1

Top contributor holds 53.8% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

568d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b2b2a9081c7dd8d6d0893a4767da430ac29395c7cf052100314efdf425804137?d=identicon)[foorschtbar](/maintainers/foorschtbar)

---

Top Contributors

[![oszto90](https://avatars.githubusercontent.com/u/75365189?v=4)](https://github.com/oszto90 "oszto90 (14 commits)")[![Takika](https://avatars.githubusercontent.com/u/1705821?v=4)](https://github.com/Takika "Takika (10 commits)")[![Giorgio68](https://avatars.githubusercontent.com/u/56552241?v=4)](https://github.com/Giorgio68 "Giorgio68 (1 commits)")[![RvdHout](https://avatars.githubusercontent.com/u/13403301?v=4)](https://github.com/RvdHout "RvdHout (1 commits)")

---

Tags

loggingtlssslicon

### Embed Badge

![Health badge](/badges/foorschtbar-tls-icon/health.svg)

```
[![Health](https://phpackages.com/badges/foorschtbar-tls-icon/health.svg)](https://phpackages.com/packages/foorschtbar-tls-icon)
```

###  Alternatives

[monolog/monolog

Sends your logs to files, sockets, inboxes, databases and various web services

21.4k964.9M7.0k](/packages/monolog-monolog)[symfony/monolog-bundle

Symfony MonologBundle

2.9k249.1M1.5k](/packages/symfony-monolog-bundle)[itsgoingd/clockwork

php dev tools in your browser

5.9k27.6M94](/packages/itsgoingd-clockwork)[sentry/sentry

PHP SDK for Sentry (http://sentry.io)

1.9k227.1M271](/packages/sentry-sentry)[sentry/sentry-laravel

Laravel SDK for Sentry (https://sentry.io)

1.3k114.3M154](/packages/sentry-sentry-laravel)[sentry/sentry-symfony

Symfony integration for Sentry (http://getsentry.com)

73761.4M65](/packages/sentry-sentry-symfony)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
