1502 Remove conversion cruft from manpages
[unleashed.git] / usr / src / man / man1 / mconnect.1
blob3e9a1eedf5f88da94574ad181ee47a98beb7a96a
1 '\" te
2 .\" Copyright (C) 2008, Sun Microsystems, Inc. All Rights Reserved
3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 .TH MCONNECT 1 "Jan 28, 2008"
7 .SH NAME
8 mconnect \- connect to SMTP mail server socket
9 .SH SYNOPSIS
10 .LP
11 .nf
12 \fBmconnect\fR [\fB-p\fR \fIport\fR] [\fB-r\fR] [\fIhostname\fR]
13 .fi
15 .SH DESCRIPTION
16 .sp
17 .LP
18 The \fBmconnect\fR utility opens a connection to the mail server on a given
19 host, so that it can be tested independently of all other mail software. If no
20 host is given, the connection is made to the local host. Servers expect to
21 speak the Simple Mail Transfer Protocol (\fBSMTP\fR) on this connection. Exit
22 by typing the \fBquit\fR command. Typing \fBEOF\fR sends an end of file to the
23 server. An interrupt closes the connection immediately and exits.
24 .SH OPTIONS
25 .sp
26 .LP
27 The following options are supported:
28 .sp
29 .ne 2
30 .na
31 \fB\fB-p\fR\fIport\fR\fR
32 .ad
33 .RS 10n
34 Specify the port number instead of the default \fBSMTP\fR port (number 25) as
35 the next argument.
36 .RE
38 .sp
39 .ne 2
40 .na
41 \fB\fB-r\fR\fR
42 .ad
43 .RS 10n
44 \fBRaw\fR mode: disable the default line buffering and input handling. This
45 produces an effect similar to  \fBtelnet\fR(1) to port number 25.
46 .RE
48 .SH OPERANDS
49 .sp
50 .LP
51 The following operand is supported:
52 .sp
53 .ne 2
54 .na
55 \fB\fIhostname\fR\fR
56 .ad
57 .RS 12n
58 The name of a given host.
59 .RE
61 .SH USAGE
62 .sp
63 .LP
64 The \fBmconnect\fR command is IPv6-enabled. See \fBip6\fR(7P).
65 .SH FILES
66 .sp
67 .ne 2
68 .na
69 \fB\fB/etc/mail/sendmail.hf\fR\fR
70 .ad
71 .RS 25n
72 Help file for \fBSMTP\fR commands
73 .RE
75 .SH SEE ALSO
76 .sp
77 .LP
78 \fBtelnet\fR(1), \fBsendmail\fR(1M), \fBattributes\fR(5), \fBip6\fR(7P)
79 .sp
80 .LP
81 Postel, Jonathan B., \fIRFC 821, Simple Mail Transfer Protocol\fR,  Information
82 Sciences Institute, University of Southern California, August 1982.