DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 

mconnect(ADMN)


mconnect -- connect to SMTP mail server socket

Syntax

mconnect [ -r ] [ -p port ] [ host ]

Description

mconnect 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. The server at the other end of the connection expects any communication over this connection to conform to the Simple Mail Transfer Protocol (SMTP). Exit by typing the quit command. Typing end-of-file will cause an end of file to be sent to the server. An interrupt closes the connection immediately and exits.

Options


-r
Raw mode: disable the default line buffering and input handling. This gives you a similar effect as telnet to port number 25, not very useful.

-p
Specify the port number instead of the default SMTP port (number 25) as the next argument.

host
Specify a destination host instead of the default host (localhost).

Files


/usr/lib/sendmail.hf
help file for SMTP commands

See also

sendmail(ADMN)

RFC 821 (STD 10)


© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003