Package: exim4-daemon-light
Version: 4.98-1
Severity: normal
X-Debbugs-Cc: germano.leichsenr...@gmail.com

Dear Maintainer,


   * What led up to the situation?
Fresh install of exim4 with DKIM.
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
I've followed upstream instructions to setup DKIM.
https://exim.org/exim-html-4.93/doc/html/spec_html/ch-dkim_spf_and_dmarc.html
 Note, the command below creates the private key file with permissions 600.
$ openssl genpkey -algorithm ed25519 -out dkim_ed25519.private

   * What was the outcome of this action?
 Accordingly, exim4 process crashed and left a stacktrace in the paniclog.
2024-09-28 10:33:46 1suML0-00000001hFO-444S SIGSEGV (fault address: 
0x55fac168b1d0)
2024-09-28 10:33:46 1suML0-00000001hFO-444S SEGV_ACCERR
2024-09-28 10:33:46 1suML0-00000001hFO-444S SIGSEGV (maybe attempt to write to 
immutable memory)
)
2024-09-28 10:33:46 1suML0-00000001hFO-444S backtrace
2024-09-28 10:33:46 1suML0-00000001hFO-444S ---
2024-09-28 10:33:46 1suML0-00000001hFO-444S     /usr/sbin/exim4(+0x5b1cd) 
[0x55faaf6381cd]
2024-09-28 10:33:46 1suML0-00000001hFO-444S     /usr/sbin/exim4(+0x5b394) 
[0x55faaf638394]
2024-09-28 10:33:46 1suML0-00000001hFO-444S     
/lib/x86_64-linux-gnu/libc.so.6(+0x3f5d0) [0x7f34f66545d0]
2024-09-28 10:33:46 1suML0-00000001hFO-444S     /usr/sbin/exim4(+0x72f6a) 
[0x55faaf64ff6a]
2024-09-28 10:33:46 1suML0-00000001hFO-444S     /usr/sbin/exim4(+0x739e4) 
[0x55faaf6509e4]

 After looking at the faulty line (dkim.c:745) I've realized that the file was 
not readable.

   * What outcome did you expect instead?
 As a minimum I'd expect no crashes, and maybe a warning or error in this case.

Configuration file /etc/exim4/exim4.conf.localmacros:

DKIM_DOMAIN = mail.example.com <-- changed
DKIM_PRIVATE_KEY = /etc/exim4/dkim_rsa.private
DKIM_SELECTOR = s1
MAIN_HARDCODE_PRIMARY_HOSTNAME = mail.example.com <-- changed



BR
Germano.

-- Package-specific info:
Exim version 4.98 #2 built 11-Jul-2024 05:41:31
Copyright (c) University of Cambridge, 1995 - 2018
(c) The Exim Maintainers and contributors in ACKNOWLEDGMENTS file, 2007 - 2024
Hints DB:
 Berkeley DB: Berkeley DB 5.3.28: (September  9, 2013)
Support for: crypteq iconv() IPv6 GnuTLS move_frozen_messages TLS_resume DANE 
DKIM DNSSEC ESMTP_Limits ESMTP_Wellknown Event I18N OCSP PIPECONNECT PRDR 
Queue_Ramp SOCKS SRS TCP_Fast_Open
Lookups (built-in): lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmjz 
dbmnz dnsdb dsearch nis nis0 passwd
Authenticators: cram_md5 external plaintext
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore autoreply lmtp pipe smtp
Fixed never_users: 0
Configure owner: 0:0
Size of off_t: 8
Configuration file search path is 
/etc/exim4/exim4.conf:/var/lib/exim4/config.autogenerated
Configuration file is /var/lib/exim4/config.autogenerated

dc_eximconfig_configtype='internet'
dc_other_hostnames='localhost nuc.local nuc.lan'
dc_local_interfaces='127.0.0.1 ; ::1'
dc_readhost=''
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets='127.0.0.1/32'
dc_smarthost=''
CFILEMODE='644'
dc_use_split_config='false'
dc_hide_mailname=''
dc_mailname_in_oh='true'
dc_localdelivery='mail_spool'
mailname:mail.example.com <-- changed
# /etc/default/exim4

# Options/arguments for exim daemon when run from systemd service
# EXIMSERVICE='-bdf -q30m'

# Options/arguments for exim daemon when run from init script
# EXIMDAEMONOPTS='-bd -q30m'

# Additional options for update-exim4.conf(8)
# UPEX4OPTS=''

-- System Information:
Debian Release: trixie/sid
  APT prefers testing-debug
  APT policy: (500, 'testing-debug'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.10.9-amd64 (SMP w/18 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages exim4-daemon-light depends on:
ii  debconf [debconf-2.0]  1.5.87
ii  exim4-base             4.98-1
ii  libc6                  2.40-2
ii  libcrypt1              1:4.4.36-5
ii  libdb5.3t64            5.3.28+dfsg2-7
ii  libgnutls-dane0t64     3.8.6-2
ii  libgnutls30t64         3.8.6-2
ii  libidn12               1.42-2
ii  libidn2-0              2.3.7-2
ii  libnsl2                1.3.0-3+b2
ii  libpcre2-8-0           10.42-4+b1

exim4-daemon-light recommends no packages.

exim4-daemon-light suggests no packages.

-- debconf information:
  exim4-daemon-light/drec:

Reply via email to