On Mon, Aug 19, 2024 at 03:26:27PM +0200, Theo Buehler wrote:
> On Mon, Aug 19, 2024 at 02:57:28PM +0200, Renaud Allard wrote:
> > 
> > 
> > On 8/19/24 12:04 PM, Peter Nicolai Mathias Hansteen wrote:
> > > 
> > > So quite odd, the whole thing.
> > > 
> > 
> > That's indeed quite odd if connecting with openssl s_client works.
> > I really think you should try out asking exim devs.
> 
> It would be helpful to have a reproducer or a backtrace. It is
> impossible to gather much info from this discussion.

is this at all helpful - 

[Mon Aug 19 19:46:18] peter@skapet:~$ doas egdb /usr/local/bin/exim 
/var/crash/exim/97006.core
GNU gdb (GDB) 9.2
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-unknown-openbsd7.6".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/local/bin/exim...
Reading symbols from /usr/local/bin/.debug/exim.dbg...
[New process 485522]
Core was generated by `exim'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  pdkim_parse_pubkey_record (raw_record=<optimized out>) at pdkim.c:673
673     pdkim.c: No such file or directory.
(gdb) bt
#0  pdkim_parse_pubkey_record (raw_record=<optimized out>) at pdkim.c:673
#1  0x000000447e5661ae in pdkim_key_from_dns (ctx=<optimized out>, 
sig=0x4731d49060, vctx=0x7cf6d4293c38, errstr=0x7cf6d4293cd8) at pdkim.c:1383
#2  0x000000447e5657d2 in pdkim_feed_finish (ctx=0x4731d49020, 
return_signatures=0x447e587d20 <dkim_signatures>, err=0x7cf6d4293cd8) at 
pdkim.c:1836
#3  0x000000447e4cb93a in dkim_exim_verify_finish () at dkim.c:333
#4  0x000000447e4f56ea in receive_msg (extract_recip=0) at receive.c:3522
#5  0x000000447e494f22 in handle_smtp_call (fd_polls=0x46e3267590, 
accepted=<optimized out>, listen_socket_count=<optimized out>, 
accept_socket=<optimized out>) at daemon.c:562
#6  daemon_go () at daemon.c:2833
#7  0x000000447e4b14f4 in main (argc=3, cargv=0x7cf6d42946e8) at exim.c:5176
(gdb) trace
Tracepoint 1 at 0x447e563155: file pdkim.c, line 673.
(gdb)

- Peter

-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
https://bsdly.blogspot.com/ https://www.bsdly.net/ https://www.nuug.no/
"Remember to set the evil bit on all malicious network traffic"
delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.

Reply via email to