4.3BSD-Tahoe/usr/src/old/man/netmail.0

Compare this file to the similar file:
Show the results in this format:




NETMAIL(1)	    UNIX Programmer's Manual	       NETMAIL(1)



NAME
     netmail - read mail on a remote machine over the network

SYNOPSIS
     netmail [ -l username ] [ -p password ] [ -c ] [ -q ] [ -n ]
     [ -f ] [ machine:username ]

DESCRIPTION
     Mail is checked and/or read on the specified _m_a_c_h_i_n_e. If the
     machine specification is omitted, the default machine is
     used.  The command has two distinct modes depending on
     whether the -c option is specified.

     If -c is specified, the presence of mail is checked on the
     remote machine.  No password is required so it can be put in
     C shell `.netrc' file.  A message is written or mailed back
     (see _n_e_t(1)) if there is or is not any unread mail.

     If the -c option is not specified, mail is read and mailed
     back to the user.	A password is required.  Mail is also
     appended to the remote file `_m_b_o_x' as a precaution.

     The -q option suppresses the message sent back if there is
     no mail.  The options -l, -p, -f, and -n behave exactly as
     in _n_e_t(1).  (The login name can be specified either with the
     -l option or by `machine:username'.)

     _N_e_t_m_a_i_l executes the _n_e_t(1) command.

     Examples:

	 netmail -c X:uname	   checks if there is mail for
				   `uname' on the X machine, no
				   password required.

	 netmail X:uname	   reads mail for `uname' on the
				   X machine, mails it back,
				   password is required.

AUTHOR
     Eric Schmidt

SEE ALSO
     net(1), netrm(1), netq(1), netlog(1), netcp(1), netlpr(1),
     netlogin(1), mail(1)

BUGS





Printed 7/26/87              4/29/85				1