Edit: Actually the torsocks v1.4.0 --ipv6 option has been working for me. See https://github.com/ehloonion/onionmx/issues/38#issuecomment-1173104130

[I've been trying][1] to get [onionmx][2] working with postfix and smtp delivery over torsocks.

It sometimes works, and sometimes randomly fails with Resolve destination buffer too small.

If I understand correctly there's no workaround?

See: Ubuntu torsocks bug: "Torsocks fails to resolve domain names where ɪᴘv6 is available."

And: Tor Bug: "youtube-dl (recent), torsocks 2.1.0 and TBB5+ failure"

Setting all of the following did not help:

AutomapHostsOnResolve 1
AddressDisableIPv6 1
NoPreferIPv6Automap (on the SocksPort)

Is torsocks effectively abandoned?

  • Actually maybe it's working now with NoPreferIPv6Automap and AddressDisableIPv6? I ran my test incorrectly last time. Jul 1 at 11:43
  • Hi, your question contains several questions in one (workaround for onionmx vs. torsocks, etc.). It is better to just ask one question.
    – Jens Kubieziel
    Jul 1 at 18:36
  • Do you have any idea or clue when the error message appears? Could you reproduce this message?
    – Jens Kubieziel
    Jul 1 at 18:36


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.