---
name: "mconnect"
section: "1"
platform: "linux"
package: "ucspi-tcp"
version: "1:0.88-13"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://carta.tech/man/mconnect"
---

# mconnect(1)

connects to a remote SMTP server.

## NAME

mconnect - connects to a remote SMTP server.

## SYNOPSIS

**mconnect** \[ *host* \[ *port* \] \]

## DESCRIPTION

**mconnect** connects to *port* on *host*. It sends its input to *host*, adding a CR to each line. Meanwhile it prints anything it receives from *host*.

If *port* is not supplied, mconnect uses port 25 (SMTP).

If *host* is not supplied, mconnect connects to the local host.

## SEE ALSO

[tcpserver(1)](/man/tcpserver/1.md), [tcprules(1)](/man/tcprules/1.md), [tcprulescheck(1)](/man/tcprulescheck/1.md), [argv0(1)](/man/argv0/1.md), [fixcrio(1)](/man/fixcrio/1.md), [recordio(1)](/man/recordio/1.md), [rblsmtpd(1)](/man/rblsmtpd/1.md), [tcpclient(1)](/man/tcpclient/1.md), who@(1), date@(1), finger@(1), http@(1), [tcpcat(1)](/man/tcpcat/1.md), [tcp-environ(5)](/man/tcp-environ/5.md)

http://cr.yp.to/ucspi-tcp.html
