mconnect man page on OpenIndiana

Man page or keyword search:  
man Server   20441 pages
apropos Keyword Search (all sections)
Output format
OpenIndiana logo
[printable version]

mconnect(1)			 User Commands			   mconnect(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	 soft‐
       ware.  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  immedi‐
       ately and exits.

OPTIONS
       The following options are supported:

       -pport	 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  han‐
		 dling.	 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 TYPE	     │	     ATTRIBUTE VALUE	    │
       ├─────────────────────────────┼──────────────────────────────┤
       │Availability		     │service/network/smtp/sendmail │
       └─────────────────────────────┴──────────────────────────────┘

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

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

SunOS 5.11			  28 Jan 2008			   mconnect(1)
[top]

List of man pages available for OpenIndiana

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net