MCONNECT(ADMN) UNIX System V
Name
mconnect - connect to SMTP mail server socket
Syntax
mconnect [ -p port ] [ -r ] [ hostname ]
Description
Mconnect 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'' command. Typing end-of-file will cause an end
of file to be sent to the server. An interrupt closes the
connection immediately and exits.
Options
-p 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 gives you a similar effect as
telnet to port number 25, not very useful.
Files
/usr/lib/sendmail.hfHelp file for SMTP commands
See Also
sendmail(ADMN).
RFC821.
(printed 8/17/89) MCONNECT(ADMN)