Sun Microsystems, Inc.
spacerspacer
spacer   www.sun.com docs.sun.com | | |  
spacer
black dot
   
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z
    
 
User Commandsmconnect(1)


NAME

 mconnect - connect to SMTP mail server socket

SYNOPSIS

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

DESCRIPTION

 

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 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

 

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.

OPERANDS

 

The following operand is supported:

hostname
The name of a given host.

USAGE

 

The mconnect command is IPv6-enabled. See ip6(7P).

FILES

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

ATTRIBUTES

 

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPEATTRIBUTE VALUE
AvailabilitySUNWcsu

SEE ALSO

 

telnet(1), sendmail(1M), attributes(5), ip6(7P)

Postel, Jonathan B., RFC 821, Simple Mail Transfer Protocol, Information Sciences Institute, University of Southern California, August 1982.


SunOS 5.9Go To TopLast Changed 9 Nov 1999

 
      
      
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.