Created attachment 264643 [details] Patch for pyspf-milter for to set CRYPTOGRAPHY_OPENSSL_NO_LEGACY On my system, where I use OpenSSL 3.0.16 from ports, default mail/py-pyspf service silently fails to start. The logs fill with errors like: postfix/smtp-in/smtpd[76621]: warning: connect to Milter service unix:/var/run/pyspf-milter/pyspf-milter.sock: No such file or directory Executing /usr/sbin/daemon -c /usr/local/bin/pyspf-milter /usr/local/etc/pyspf-milter/pyspf-milter.conf yields some additional data RuntimeError: OpenSSL 3.0's legacy provider failed to load. This is a fatal error by default, but cryptography supports running without legacy algorithms by setting the environment variable CRYPTOGRAPHY_OPENSSL_NO_LEGACY. If you did not expect this error, you have likely made a mistake with your OpenSSL configuration. The attached patches restore normal operation.
Created attachment 264644 [details] Patch for spf.py-3.11 to set CRYPTOGRAPHY_OPENSSL_NO_LEGACY