Sidekiq resolves SMTP with IPv6 instead of IPv4
Author: TheSander562Created Sep 8, 2026Updated Sep 13, 2026
OS & Hardware TrueNAS Scale
Version 1.14.4 (showing inside the website as 1.14.3)
Describe the bug Sidekiq is trying to lookup the SMTP domain in IPv6. But i dont use IPv6 so it doesn't connect. I need IPv4.
To Reproduce Steps to reproduce the behavior:
- Setup Dawarich with SMTP
- Click on send invite inside the family
- See error
Expected behavior I would say it should connect on IPv4 with the SMTP server to send the mail
Logs
I, [2026-09-08T12:10:35.093616 #1] INFO -- : fail
I, [2026-09-08T12:10:35.093720 #1] INFO -- : /var/app/vendor/bundle/ruby/3.4.0/gems/resolv-replace-0.2.0/lib/resolv-replace.rb:25:in 'TCPSocket#initialize': Network is unreachable - connect(2) for "2606:4700:90:0:f225:a1af:129b:4ba1" port 587 (Errno::ENETUNREACH)
from /var/app/vendor/bundle/ruby/3.4.0/gems/resolv-replace-0.2.0/lib/resolv-replace.rb:25:in 'TCPSocket#initialize'
from /var/app/vendor/bundle/ruby/3.4.0/gems/net-smtp-0.5.1/lib/net/smtp.rb:663:in 'IO.open'Source: Freika/dawarich