A hint: This file contains one or more very long lines, so maybe it is better readable using the pure text view mode that shows the contents as wrapped lines within the browser window.
1 <?xml version="1.0"?> 2 <html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><title>mailq</title><link rel="stylesheet" type="text/css" href="style.css"/><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"/><link rel="home" href="#mailq" title="mailq"/><link xmlns="" rel="stylesheet" type="text/css" href="manpage.css"/><meta xmlns="" name="MSSmartTagsPreventParsing" content="TRUE"/><link xmlns="" rel="icon" href="icon.gif" type="image/gif"/><!-- 3 4 Copyright 1998 - 2009 Double Precision, Inc. See COPYING for distribution 5 information. 6 7 --></head><body><div class="refentry"><a id="mailq" shape="rect"> </a><div class="titlepage"/><div class="refnamediv"><h2>Name</h2><p>mailq — Display the mail queue</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">mailq</code> [-sort] [-batch]</p></div></div><div class="refsect1"><a id="mailq_description" shape="rect"> </a><h2>DESCRIPTION</h2><p> 8 <span class="command"><strong>mailq</strong></span> displays a list of all messages that have not 9 been delivered yet. The display contains: the queue ID; sending user; the 10 size of the message and the time the message was created; the return address, 11 and a list of the message's recipients. If the message was already delivered 12 or failed for some recipients, this will be indicated as well.</p><p> 13 The optional <span class="command"><strong>-sort</strong></span> sorts the list according to the 14 messages' 15 timestamps, oldest messages first. This may take a while if the mail queue is 16 very large.</p><p> 17 The optional <span class="command"><strong>-batch</strong></span> uses an alternative, machine-parsable 18 output format, one line per message:</p><div class="informalexample"><pre class="programlisting" xml:space="preserve"> 19 size;qid;date;user;from;[status;recipient];[status;recipient];[...] 20 </pre></div><p> 21 Only the superuser can view the contents of the entire mail queue. Everyone 22 else can only see their own messages.</p></div><div class="refsect1"><a id="mailq_bugs" shape="rect"> </a><h2>BUGS</h2><p> 23 The 80-column limitation forced a somewhat ugly design.</p></div><div class="refsect1"><a id="mailq_see_also" shape="rect"> </a><h2>SEE ALSO</h2><p> 24 <a class="ulink" href="cancelmsg.html" target="_top" shape="rect"> 25 <span class="citerefentry"><span class="refentrytitle">cancelmsg</span>(1)</span> 26 </a>, 27 <a class="ulink" href="courier.html" target="_top" shape="rect"> 28 <span class="citerefentry"><span class="refentrytitle">courier</span>(8)</span> 29 </a>.</p></div></div></body></html>