The mconnect utility opens a connection to the
mail server on a given host, so that it can be tested independently of all
other mail software. If no host is given, the connection is made to the
local host. Servers expect to speak the Simple Mail Transfer Protocol (SMTP) on this connection. Exit by typing the quit
EOF sends an end
of file to the server. An interrupt closes the connection immediately and
The following options are supported:
Specify the port number instead of the default SMTP port (number 25) as the next argument.
"Raw" mode: disable the default line buffering and input handling. This produces an effect similar to telnet(1) to port number 25.
The mconnect command is IPv6–enabled. See ip6(7P).
See attributes(5) for descriptions of the following attributes:
|ATTRIBUTE TYPE||ATTRIBUTE VALUE|
Postel, Jonathan B., RFC 821, Simple Mail Transfer Protocol, Information Sciences Institute, University of Southern California, August 1982.