Roundcube Community Forum

Third Party Contributions => API Based Plugins => Topic started by: HQJaTu on June 08, 2026, 09:34:07 AM

Title: DKIM validator plugin
Post by: HQJaTu on June 08, 2026, 09:34:07 AM
It is a known fact, that all SMTP-traffic today must have valid digital signature in it. Most major email providers won't even process your mail without one and all of them will classify your precious as junk. So, must have DKIM.

Meanwhile I find it weird that mail client's don't display DKIM verification status as receiving SMTPd added to mail headers. Gmail kinda does, but you'll have to click to see the "original" mail. Outlook and such won't display any information. As a negative, iOS will display "sender verified" to an email having properly valid DMARC in it.

Complaining here about lack of features is an option. I chose the hard way: https://github.com/roundcube/roundcubemail/pull/10222

Now there is a DKIM validator plugin to parse mail headers and display the validation status against alleged sender domain.

Example:
(https://i.postimg.cc/vHVVvP9S/image.png)

Now it is pretty easy for end-user to determine if email sender is a forgery, valid or uncertain.

Any comments, feedback or improvement ideas are welcome.
Title: Re: DKIM validator plugin
Post by: HQJaTu on June 09, 2026, 07:03:18 AM
Improved the plugin:

Any other suggestions?
Title: Re: DKIM validator plugin
Post by: alec on June 09, 2026, 07:20:28 AM
The icon looks out of place. How about putting it on the right (or left) of the Summary and Headers actions (in the same line). It could then have a "DKIM" label (in green).
Title: Re: DKIM validator plugin
Post by: HQJaTu on June 10, 2026, 02:17:04 AM
Quote from: alec on June 09, 2026, 07:20:28 AMThe icon looks out of place. How about putting it on the right (or left) of the Summary and Headers actions (in the same line). It could then have a "DKIM" label (in green).

Thanks! That's a really good idea.

In my defense: I'm a nerd. I do software. I don't do graphic design!  :)
Title: Re: DKIM validator plugin
Post by: HQJaTu on June 10, 2026, 02:21:55 AM
This is where I got the idea for this plugin. A screenshot taken from iPadOS making a bold and completely untrue statement.
(https://i.postimg.cc/SKdmK3sW/i-OS-on-email.png)

I claim, that sender can be verified. That's why it has digital signature in it.
Title: Re: DKIM validator plugin
Post by: HQJaTu on June 10, 2026, 03:09:22 AM
Quote from: alec on June 09, 2026, 07:20:28 AMThe icon looks out of place. How about putting it on the right (or left) of the Summary and Headers actions (in the same line). It could then have a "DKIM" label (in green).

Something like this?
(https://i.postimg.cc/154TVtRy/image.png)
Title: Re: DKIM validator plugin
Post by: HQJaTu on June 11, 2026, 03:32:00 AM
Anything else to change?