mconnect(1) User Commands mconnect(1)
mconnect - connect to SMTP mail server socket
mconnect [-p port] [-r] [hostname]
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 soft-
ware. 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 command. Typing EOF sends an
end of file to the server. An interrupt closes the connection immedi-
ately and exits.
The following options are supported:
-p port Specify the port number instead of the default SMTP
port (number 25) as the next argument.
-r "Raw" mode: disable the default line buffering and
input handling. This produces an effect similar to
telnet(1) to port number 25.
The following operand is supported:
hostname The name of a given host.
The mconnect command is IPv6-enabled. See ip6(7P).
/etc/mail/sendmail.hf help file for SMTP commands
See attributes(5) for descriptions of the following attributes:
tab() allbox; cw(2.750000i)| cw(2.750000i) lw(2.750000i)|
lw(2.750000i). ATTRIBUTE TYPEATTRIBUTE VALUE AvailabilitySUNWcsu
telnet(1), sendmail(1M), attributes(5), ip6(7P)
Postel, Jonathan B., RFC 821, Simple Mail Transfer Protocol, Informa-
tion Sciences Institute, University of Southern California, August
SunOS 5.10 9 Nov 1999 mconnect(1)