mconnect(1)
π mconnect(1) β a lil' page from the General Commands Manual
okay so bestie, picture this: you're in section 1 of the manual (that's the General Commands Manual, the one for actual runnable commands π
) and the page is called mconnect. That's the name. That's the whole vibe. Let's GO. β¨
πΈ NAME πΈ
mconnect β connects to a remote SMTP server. that's it, that's the job, and she does it flawlessly π
π SYNOPSIS π
mconnect [ host [ port ] ]
two lil optional args, no drama, no cap π«Ά
π¦ DESCRIPTION π¦
okay so here's the tea β: mconnect connects to port on host. That's the whole plot.
Then β and this is the part that's lowkey iconic β it takes its input and sends it to host, but with a lil glow-up: it adds a CR to each line. Like, every single line gets a carriage return tucked in. Not me being obsessed with a carriage return π but it matters, iykyk.
Meanwhile (literally at the same time, she's multitasking, main character energy π), it prints anything it receives from host. So you talk, she relays, and whatever comes back just shows up on your screen. chef's kiss.
Now the defaults, because bestie you don't always have to specify everything:
- If port is not supplied,
mconnectuses port25(SMTP). classic. the OG port. π - If host is not supplied,
mconnectconnects to the local host. she's staying home, cozy vibes π
fr fr, that's all it does. simple, elegant, does exactly one thing and ate π₯
β¨ SEE ALSO β¨
go read these next, they're the friend group π:
tcpserver(1)tcprules(1)tcprulescheck(1)argv0(1)fixcrio(1)recordio(1)rblsmtpd(1)tcpclient(1)who@(1)date@(1)finger@(1)http@(1)tcpcat(1)tcp-environ(5)
and if you wanna go down the rabbit hole, the whole extended universe lives at:
http://cr.yp.to/ucspi-tcp.html
okay so that's the whole page, bestie π the footer of this lil' manpage is literally just mconnect(1) again β no extra date or version flex, she just signs her name at the bottom like a queen π. slay, periodt, go connect to something. π
β¨
π¦ where this page comes from
- debian bookworm: ucspi-tcp 1:0.88-7 Β· LicenseRef-public-domain
- debian trixie: ucspi-tcp 1:0.88-13 Β· LicenseRef-public-domain
- nixos 26.05: ucspi-tcp 0.88
- nixpkgs unstable: ucspi-tcp 0.88
- ubuntu jammy: ucspi-tcp 1:0.88-6 Β· LicenseRef-public-domain
- ubuntu noble: ucspi-tcp 1:0.88-8ubuntu1 Β· LicenseRef-public-domain
- ubuntu resolute: ucspi-tcp 1:0.88-13ubuntu1 Β· LicenseRef-public-domain
- ubuntu stonking: ucspi-tcp 1:0.88-13ubuntu1 Β· LicenseRef-public-domain
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms