[Go to CFHT Home Page] Man Pages
Back to Software Index  BORDER=0Manpage Top Level
    mconnect(1) manual page Table of Contents

Name

mconnect - connect to SMTP mail server socket

Synopsis

mconnect [ -p port ] [ -r ] [ hostname ]

Availability

SUNWcsu

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 EOF sends an end of file to the server. An interrupt closes the connection immediately and exits.

Options

-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 to port number 25.

Files

/etc/mail/sendmail.hf
help file for SMTP commands

See Also

sendmail(1M)

Postel, Jonathan B Simple Mail Transfer Protocol, RFC 821 August 1982, SRI Network Information Center


Table of Contents