nextcloud / nextcloud/mail

openssl_verify(): Supplied key param cannot be coerced into a public key DKIM

Open
#11,296 1 comment 0 reactions 1 assignee View on GitHub

@kesselb is already working on this.

Since Jun 24, 2025.

1. to develop bug
Dominant language
JavaScript
Stars
1k
Forks
348
Avg merge
12h 28m
Merged PRs (30d)
91

Description

Steps to reproduce

Open Mail app, visit logging.

Expected behavior

No errors

Actual behavior

Opening the mail app I get the following errors in the log:

openssl_verify(): Supplied key param cannot be coerced into a public key xx/apps/mail/vendor/phpmailer/dkimvalidator/src/Validator.php#337
Undefined array key 1 at xx/apps/mail/vendor/phpmailer/dkimvalidator/src/Validator.php#52 
Undefined array key 1 at xx/apps/mail/vendor/phpmailer/dkimvalidator/src/Validator.php#52

I do use dkim, but I am not aware of any configuration errors.

https://email-security-scans.org/view/v08wr4f3coiog3ps9uo8uxzcwhtgbj

Mail app version

5.1.4

Nextcloud version

31.0.6

Mailserver or service

Postfix, opendkim

Operating system

Almalinux 9.6

PHP engine version

PHP 8.3

Nextcloud memory caching

No response

Web server

Apache (supported)

Database

MariaDB

Additional info

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.