Created attachment 204073 [details]
GnuTLS patches for tls[io]buf.cc
With the latest version of GnuTLS, nullmailer fails for SMTP TLS sends because it doesn't check for gnutls_record_(send|recv) E_AGAIN/E_INTERRUPTED error codes. The two attached patches fix this for the latest port revision.
This was also partially fixed in the latest upstream version of nullmailer. However it doesn't build on FreeBSD at the moment.
A commit references this bug:
Date: Thu May 30 01:47:54 UTC 2019
New revision: 503026
mail/nullmailer: Fix send fail on GnuTLS
Submitted by: David Hauweele <firstname.lastname@example.org>