.\" ** You probably do not want to edit this file directly ** .\" It was generated using the DocBook XSL Stylesheets (version 1.69.1). .\" Instead of manually editing it, you probably should edit the DocBook XML .\" source for it and then use the DocBook XSL Stylesheets to regenerate it. .TH "MCONNECT" "1" "May 8, 2003" "mconnect" "" .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .SH "NAME" mconnect \- connect to SMTP mail server socket .SH "SYNOPSIS" .HP 9 \fBmconnect\fR [\-p\ \fIport\fR] [\-r] [\fIhostname\fR] .SH "DESCRIPTION" .PP The \fBmconnect\fR 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 command. Typing EOF sends an end of file to the server. An interrupt closes the connection immediately and exits. .SH "OPTIONS" .TP \-p \fIport\fR Specify the port number instead of the default SMTP port (number 25) as the next argument. .TP \-r "Raw" mode: disable the default line buffering and input handling. This produces an effect similar to telnet to port number 25. .TP \fIhostname\fR The name of a given host. .SH "FILES" .TP \fI/etc/mail/helpfile\fR help file for SMTP commands .SH "SEE ALSO" .PP \fBsendmail\fR(1M) .PP Postel, Jonathan B.,[1]\&\fISimple Mail Transfer Protocol, RFC 821\fR, Information Sciences Institute, University of Southern California, August 1982. .SH "REFERENCES" .TP 3 1.\ Simple Mail Transfer Protocol, RFC 821 \%http://www.sendmail.org/rfc/0821.html