[exim] Bug Report: DKIM Signing Failure Causing SIGSEGV in E…

Página Inicial
Delete this message
Reply to this message
Autor: Ali Ahmed
Data:  
Para: exim-users, exim-users
Assunto: [exim] Bug Report: DKIM Signing Failure Causing SIGSEGV in Exim 4.98
Hello Exim Community,

I am encountering a consistent issue with Exim 4.98 during DKIM signing of
outgoing messages. The system throws a SIGSEGV fault when trying to open
the DKIM private key for a specific domain.

Environment Details:
Exim version: 4.98 (installed via DNF package)
DKIM Setup: DKIM keys generated with OpenSSL (RSA, 2048-bit) and located in
/etc/exim/dkim/
Permissions:
/etc/exim/dkim/ directory: drwxr-x--- owned by root:exim
my_domain_rsa.private key file: -rw-r---- owned by exim:exim
Error Summary:
During the signing process, Exim attempts to read the DKIM private key and
throws a segmentation fault. Below is the relevant log excerpt:


2024-09-19 22:20:47.648 [102824] 1srHd6-00000000QJ2-29NT backtrace
2024-09-19 22:20:47.648 [102824] 1srHd6-00000000QJ2-29NT
exim(stackdump+0x34) [0x55f37381aa84]
2024-09-19 22:20:47.648 [102824] 1srHd6-00000000QJ2-29NT exim(+0x77c1e)
[0x55f37381ac1e]
2024-09-19 22:20:47.648 [102824] 1srHd6-00000000QJ2-29NT unable to open
file for reading: /etc/exim/dkim/my_domain_rsa.private
2024-09-19 22:20:47.648 [102824] 1srHd6-00000000QJ2-29NT SIGSEGV (null
pointer indirection)

Steps Taken So Far:
Rechecked permissions: Both the directory and the private key have the
correct permissions (exim user has access).
Key integrity: Verified that the RSA private key is valid using openssl rsa
-in /etc/exim/dkim/my_domain_rsa.private -check.
Debugging: Enabled Exim debug logging (exim -d+all -qff) and confirmed the
process crashes specifically during key access.
Tried Re-Generating Keys: Same result with newly generated keys.
Tried Reinstalling Exim: Uninstalled and reinstalled Exim but the issue
persists.
Has anyone else encountered this issue, or is there something I may have
missed in configuring DKIM support in Exim 4.98?

Thank you for any insights!

Best regards,
Ali

--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-users-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/