-
-
Notifications
You must be signed in to change notification settings - Fork 3
mconnect.1
Manvendra Bhangui edited this page Feb 25, 2024
·
3 revisions
mconnect - connects to a remote SMTP server.
mconnect [ host [ port ] ]
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.
mconnect uses tcpclient(1) to connect to a SMTP server. If it is successful, it runs mconnect-io, with descriptor 6 reading from the network and descriptor 7 writing to the network.
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), http://cr.yp.to/ucspi-tcp.html