Viktor Dukhovni:
>
>
> > On Jun 19, 2018, at 11:58 AM, Wietse Venema <[email protected]> wrote:
> >
> > No error (btw, posttls-finger -X will chdir() to the queue directory,
> > it just needs root privs).
> >
> > So what was the domain that was failing with the Postfix SMTP client?
>
> The crash (from Ralf's stack trace) was in a code path that is not
> exercised by posttls-finger, it is in the TLS policy setup (for gmail.com):
>
> Program received signal SIGSEGV, Segmentation fault.
> tls_dane_resolve (port=6400, proto=proto@entry=0x558114406c72
> "tcp",
> hostrr=0x0, forcetlsa=0) at tls_dane.c:1146
> 1146 int iscname = strcasecmp(hostrr->rname,
> hostrr->qname);
> (gdb) #0 tls_dane_resolve (port=6400, proto=proto@entry=0x558114406c72
> "tcp",
> hostrr=0x0, forcetlsa=0) at tls_dane.c:1146
> #1 0x0000558114402add in dane_init (iter=0x558114882378,
> tls=0x55811487e9a0)
> at smtp_tls_policy.c:828
> #2 policy_create (unused_key=<optimizedout>,context=0x558114882378) at
> smtp_tls_policy.c:558
> #3 0x00007f0ee95307ec in ctable_locate (cache=0x55811487ea80,
> key=0x55811487f900 "gmail.com::25:") at ctable.c:163
> #4 0x000055811440318a in smtp_tls_policy_cache_query (
> why=why@entry=0x558114899bd0, tls=tls@entry=0x5581148823c0,
> iter=iter@entry=0x558114882378) at smtp_tls_policy.c:675
How would I reproduce this? I can send mail to gmail.com just fine,
with postfix-3.4-20180618 and with "smtp_tls_connection_reuse = yes",
Linux and FreeBSD.
Or can you provide a stack trace?
Wietse