📄 394-397.html
字号:
<HTML>
<HEAD>
<TITLE>Linux in Plain English:Linux Commands Organized by Group</TITLE>
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
<SCRIPT>
<!--
function displayWindow(url, width, height) {
var Win = window.open(url,"displayWindow",'width=' + width +
',height=' + height + ',resizable=1,scrollbars=yes');
}
//-->
</SCRIPT>
</HEAD>
-->
<!--ISBN=1558285423//-->
<!--TITLE=Linux in Plain English//-->
<!--AUTHOR=Patrick Volkerding//-->
<!--AUTHOR=Kevin Reichard//-->
<!--PUBLISHER=IDG Books Worldwide, Inc.//-->
<!--IMPRINT=M & T Books//-->
<!--CHAPTER=5//-->
<!--PAGES=394-397//-->
<!--UNASSIGNED1//-->
<!--UNASSIGNED2//-->
<CENTER>
<TABLE BORDER>
<TR>
<TD><A HREF="386-393.html">Previous</A></TD>
<TD><A HREF="../ewtoc.html">Table of Contents</A></TD>
<TD><A HREF="398-402.html">Next</A></TD>
</TR>
</TABLE>
</CENTER>
<P><BR></P>
<P><FONT SIZE="+1"><B>popclient......<TT>POP Mail Client</TT></B></FONT></P>
<P><B>popclient</B> <I>option(s) host</I></P>
<P><FONT SIZE="+1"><B><I>PURPOSE</I></B></FONT></P>
<P>The <B>popclient</B> retrieves electronic mail from a mail server running the Internet Post Office Protocol (POP). It supports both POP2 (as specified in RFC 937) and POP3 (RFC 1725).</P>
<P>This command is used to grab the mail from the remote server (specified by <I>host</I>) and store it in a mail folder on your hard disk. From there you’ll read it with a mail program like <B>mail</B> or <B>elm</B>.</P>
<P><FONT SIZE="+1"><B><I>OPTIONS</I></B></FONT></P>
<TABLE WIDTH="100%">
<TR>
<TD WIDTH="25%"><B>-2</B>
<TD WIDTH="75%">Uses Post Office Protocol version 2 (POP2).
<TR>
<TD><B>-3</B>
<TD>Uses Post Office Protocol version 3 (POP3).
<TR>
<TD VALIGN="TOP"><B>-a</B>
<TD>Uses POP3 and retrieves old (previously retrieved) and new messages from the mail server.
<TR>
<TD><B>-c</B>
<TD>Writes messages to standard output instead of disk.
<TR>
<TD VALIGN="TOP"><B>-F</B>
<TD>Uses POP3 and deletes old (previously retrieved) messages from the mail server before retrieving new messages.
<TR>
<TD><B>-f <I>pathname</I></B>
<TD>Sets an alternate name for the <B>.poprc</B> file.
<TR>
<TD><B>-k</B>
<TD>Keeps old messages on mail server.
<TR>
<TD><B>-K</B>
<TD>Deletes messages on mail server after retrieval.
<TR>
<TD><B>-l <I>lines</I></B>
<TD>Retrieves <I>lines</I> of each message body and headers.
<TR>
<TD VALIGN="TOP"><B>-p <I>string</I></B>
<TD>Passes <I>string</I> as password when logging on the mail server. If you don’t specify one, you’ll be prompted for a password when you actually login the mail server.
<TR>
<TD VALIGN="TOP"><B>--protocol <I>proto</I></B>
<TD>Sets the protocol to use with the remote mail server. The protocol can be:
<TR>
<TD>
<TD>POP2 (Post Office Protocol 2)
<TR>
<TD>
<TD>POP3 (Post Office Protocol 3)
<TR>
<TD>
<TD>APOP (POP3 with MD5 authentication)
<TR>
<TD>
<TD>RPOP (POP3 with trusted-host-based authentication, like rlogin/rsh)
<TR>
<TD><B>-o <I>folder</I></B>
<TD>Appends messages to file in <I>folder</I>.
<TR>
<TD VALIGN="TOP"><B>-r <I>folder</I></B>
<TD>Grabs messages from <I>folder</I>, an alternative folder on the mail server.
<TR>
<TD><B>-s</B>
<TD>Works in silent mode.
<TR>
<TD VALIGN="TOP"><B>-u <I>name</I></B>
<TD>Passes <I>name</I> as the user to the mail server; by default, this is your login name on your machine.
<TR>
<TD VALIGN="TOP"><B>-v</B>
<TD>Works in verbose mode, with all messages between you and the server displayed.
</TABLE>
<P><FONT SIZE="+1"><B><I>RELATED COMMANDS</I></B></FONT></P>
<TABLE WIDTH="100%">
<TR>
<TD WIDTH="25%" VALIGN="TOP"><B>fetchmail</B>
<TD WIDTH="75%">(a newer version of popclient-most Linux distributions will contain one or the other)
</TABLE>
<P><FONT SIZE="+1"><B>postnews......<TT>Post News</TT></B></FONT></P>
<P><B>postnews</B> <I>option headerfile newsgroup(s)</I></P>
<P><FONT SIZE="+1"><B><I>PURPOSE</I></B></FONT></P>
<P>The <B>postnews</B> command posts a news item to a Usenet newsgroup. You can specify the newsgroup (or newsgroups) on the command line; if you don’t, the <B>postnews</B> command will prompt you for a newsgroup. If you do specify newsgroups, you need to separate them with commas but no spaces. After you specify the newsgroup, a text editor allows you to create the posting.</P>
<P>At any point you can terminate the posting by entering nonconforming input, such as a fictional newsgroup name.</P>
<P><FONT SIZE="+1"><B><I>OPTION</I></B></FONT></P>
<TABLE WIDTH="100%">
<TR>
<TD WIDTH="25%"><B>-h</B>
<TD WIDTH="75%">Specifies that the header is in <I>headerfile</I>.
</TABLE>
<P><FONT SIZE="+1"><B><I>RELATED COMMAND</I></B></FONT></P>
<DL>
<DD><B>inews</B>
</DL>
<P><FONT SIZE="+1"><B>printmail......<TT>Prints Mail</TT></B></FONT></P>
<P><B>printmail</B> <I>option filename</I></P>
<P><FONT SIZE="+1"><B><I>PURPOSE</I></B></FONT></P>
<P>The <B>printmail</B> command formats mail in anticipation of printing. It copies your messages from your user mailbox or a specified <I>filename</I>, with each message separated by a line of dashes. It’s actually a call to the <B>readmsg</B> command, and it’s usually part of a pipeline (like <B>printmail | lpr</B>).</P>
<P><FONT SIZE="+1"><B><I>OPTION</I></B></FONT></P>
<TABLE WIDTH="100%">
<TR>
<TD WIDTH="20%"><B>-p</B>
<TD WIDTH="80%">Uses a form feed instead of dashes to separate messages.
</TABLE>
<P><FONT SIZE="+1"><B><I>RELATED COMMANDS</I></B></FONT></P>
<DL>
<DD><B>elm</B>
<DD><B>readmsg</B>
</DL>
<P><BR></P>
<CENTER>
<TABLE BORDER>
<TR>
<TD><A HREF="386-393.html">Previous</A></TD>
<TD><A HREF="../ewtoc.html">Table of Contents</A></TD>
<TD><A HREF="398-402.html">Next</A></TD>
</TR>
</TABLE>
</CENTER>
</td>
</tr>
</table>
<!-- begin footer information -->
</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -