Edit: Actually the torsocks v1.4.0 --ipv6 option has been working for me. See https://github.com/ehloonion/onionmx/issues/38#issuecomment-1173104130
It sometimes works, and sometimes randomly fails with
Resolve destination buffer too small.
If I understand correctly there's no workaround?
Setting all of the following did not help:
AutomapHostsOnResolve 1 AddressDisableIPv6 1 NoPreferIPv6Automap (on the SocksPort)
Is torsocks effectively abandoned?