On Wed, Jul 08, 2026 at 02:24:54PM -0400, Greg Wooledge wrote:
> Someone in this thread mentioned using "socat - tcp:host:port" as a
> replacement for "telnet host port" for manually testing plaintext
> services.
>
> I just tried this, and learned that the two are not equivalent.
> qpsmtpd is quite insistent that all of its input lines be terminated
> by CR-LF, not by LF.
[...]
> So, I searched through the manual a bit more, and it turns out there's
> an option for that:
>
> ===============================================================
> hobbit:~$ socat - tcp:localhost:25,crnl
[...]
Heh. See my other post. Great minds... read the docs :-)
Cheers
--
t
Marine Technician, R/V FALKOR (too)
Schmidt Ocean Institute
mobile +1 650.387.4151
VOIP +1 641.354.5141
Sign up here to subscribe to SOI's newsletter!
This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or distribution is prohibited. If you have received it in
error, please advise the sender by reply email and delete the message and any attachments. Thank you.