I'm on Alpine 3.13 with busybox v1.32.1. I use busybox's sendmail as a relay: sendmail_path = /usr/sbin/sendmail -t -i -S opensmtpd:25 since recently it started to give the error "sendmail: . failed"
ok, it actually works fine, I was confused by the error. After adding more verbosity I saw the actual error which is "sendmail: 550 5.7.1 Delivery not authorized, message refused: Message is not RFC 2822 compliant"