1mconnect(1)                      User Commands                     mconnect(1)
2
3
4

NAME

6       mconnect - connect to SMTP mail server socket
7

SYNOPSIS

9       mconnect [-p port] [-r] [hostname]
10
11

DESCRIPTION

13       The  mconnect  utility opens a connection to the mail server on a given
14       host, so that it can be tested independently of all  other  mail  soft‐
15       ware.  If  no  host is given, the connection is made to the local host.
16       Servers expect to speak the Simple Mail  Transfer  Protocol  (SMTP)  on
17       this  connection.  Exit by typing the quit command. Typing EOF sends an
18       end of file to the server. An interrupt closes the  connection  immedi‐
19       ately and exits.
20

OPTIONS

22       The following options are supported:
23
24       -pport    Specify  the  port  number  instead  of the default SMTP port
25                 (number 25) as the next argument.
26
27
28       -r        Raw mode: disable the default line buffering and  input  han‐
29                 dling.  This produces an effect similar to  telnet(1) to port
30                 number 25.
31
32

OPERANDS

34       The following operand is supported:
35
36       hostname    The name of a given host.
37
38

USAGE

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

FILES

43       /etc/mail/sendmail.hf    Help file for SMTP commands
44
45

ATTRIBUTES

47       See attributes(5) for descriptions of the following attributes:
48
49
50
51
52       ┌─────────────────────────────┬─────────────────────────────┐
53       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
54       ├─────────────────────────────┼─────────────────────────────┤
55       │Availability                 │SUNWsndmu                    │
56       └─────────────────────────────┴─────────────────────────────┘
57

SEE ALSO

59       telnet(1), sendmail(1M), attributes(5), ip6(7P)
60
61
62       Postel, Jonathan B., RFC 821, Simple Mail Transfer Protocol,   Informa‐
63       tion  Sciences  Institute,  University  of  Southern California, August
64       1982.
65
66
67
68SunOS 5.11                        28 Jan 2008                      mconnect(1)
Impressum