Hello all,

I come back with maybe a general question about tlsrpt.

My expectation was the following.
I download the tlsrpt package for the tlsrpt C library and compiled & installed 
it.
I modified my pf configure script to use -DUSE_TLSRPT & so on & compiled & 
installed pf
I setup the environment for Python as shown on github as well
I put the main.cf directives.

And now what?
What else do I need to have tlsrpt being produced & send out by my local pf 
installation?

I am a bit puzzled about the socket directive in main.cf, I put it to 
/var/spool/postfix/run/tlsrpt/tlsrpt.socket but I do not see this file (I even 
created the directories run/tlsrpt/ manually).
Which process is supposed to create this socket file?

Further, and I guess it is all linked together (not linked in the ldd sense), I 
get cores.

==> mail/mail.warn <==
Nov 12 11:29:09 sonne postfix/tlsproxy[3242552]: warning: TLS library problem: 
error:0A000102:SSL routines::unsupported 
protocol:../ssl/statem/statem_srvr.c:1657:
Nov 12 11:29:09 sonne postfix/master[3192017]: warning: process 
/usr/lib/postfix/tlsproxy pid 3242552 killed by signal 11

==> mail/mail.log <==
Nov 12 11:29:09 sonne postfix/tlsproxy[3242552]: CONNECT from 
[80.72.225.30]:45667

==> syslog <==
Nov 12 11:29:09 sonne kernel: tlsproxy[3242552]: segfault at 80 ip 
00006304c0866c6a sp 00007fff9b4eb430 error 4 in tlsproxy[6304c0866000+3000] 
likely on CPU 0 (core 0, socket 0)
Nov 12 11:29:09 sonne kernel: Code: ef e8 ca fb ff ff eb d3 48 89 da 48 8d 35 97 03 
00 00 44 89 ef e8 b6 f8 ff ff c7 43 68 02 00 00 00 eb be 48 8b 83 90 00 00 00 
<48> 8b b8 80 00 00 00 48 85 ff 74 0b f6 03 01 74 06 83 7b 08 00 74

==> kern.log <==
Nov 12 11:29:09 sonne kernel: tlsproxy[3242552]: segfault at 80 ip 
00006304c0866c6a sp 00007fff9b4eb430 error 4 in tlsproxy[6304c0866000+3000] 
likely on CPU 0 (core 0, socket 0)
Nov 12 11:29:09 sonne kernel: Code: ef e8 ca fb ff ff eb d3 48 89 da 48 8d 35 97 03 
00 00 44 89 ef e8 b6 f8 ff ff c7 43 68 02 00 00 00 eb be 48 8b 83 90 00 00 00 
<48> 8b b8 80 00 00 00 48 85 ff 74 0b f6 03 01 74 06 83 7b 08 00 74


ANY ideas about any of my questions?


Am 11.11.2024 um 22:22 schrieb Florian Piekert via Postfix-users:
Hello,

Then probably this is my problem....which TLSRPT receiver daemon can i
use/configure?

The one from https://github.com/sys4/tlsrpt/

I suppose this is covered under
https://github.com/sys4/tlsrpt/?tab=readme-ov-file#how-to-setup-the-virtual-environment-for-python

Like Postfix, this imnplementation is still work in progress.

Question on this topic as well:

Nov 11 22:10:58 sonne kernel: tlsproxy[2705283]: segfault at 80 ip 
000064caf4942c6a sp 00007ffde914fd30 error 4 in tlsproxy[64caf4942000+3000] 
likely on CPU 9 (core 4, socket
0)
Nov 11 22:10:58 sonne kernel: Code: ef e8 ca fb ff ff eb d3 48 89 da 48 8d 35 97 03 
00 00 44 89 ef e8 b6 f8 ff ff c7 43 68 02 00 00 00 eb be 48 8b 83 90 00 00 00 
<48> 8b b8 80 00 00 00 48 85 ff 74 0b f6 03 01 74 06 83 7b 08 00 74

cause I forgot to add the
smtp_tlsrpt_socket_name = run/tlsrpt/tlsrpt.socket
in main.cf

Maybe some kind of startup check from pf regarding missing configuration 
directive is reasonable?


_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to