Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > a4080654d049ad31b216b761b9173c1f > files > 156

exim-doc-4.69-4mdv2010.0.i586.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html401/loose.dtd">
<html>
<!-- Created on September, 10 2009 by texi2html 1.78 -->
<!--
Written by: Lionel Cons <Lionel.Cons@cern.ch> (original author)
            Karl Berry  <karl@freefriends.org>
            Olaf Bachmann <obachman@mathematik.uni-kl.de>
            and many others.
Maintained by: Many creative people.
Send bugs and suggestions to <texi2html-bug@nongnu.org>

-->
<head>
<title>Specification of the Exim Mail Transfer Agent: 51. The Exim monitor</title>

<meta name="description" content="Specification of the Exim Mail Transfer Agent: 51. The Exim monitor">
<meta name="keywords" content="Specification of the Exim Mail Transfer Agent: 51. The Exim monitor">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="Generator" content="texi2html 1.78">
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css">
<!--
a.summary-letter {text-decoration: none}
pre.display {font-family: serif}
pre.format {font-family: serif}
pre.menu-comment {font-family: serif}
pre.menu-preformatted {font-family: serif}
pre.smalldisplay {font-family: serif; font-size: smaller}
pre.smallexample {font-size: smaller}
pre.smallformat {font-family: serif; font-size: smaller}
pre.smalllisp {font-size: smaller}
span.roman {font-family:serif; font-weight:normal;}
span.sansserif {font-family:sans-serif; font-weight:normal;}
ul.toc {list-style: none}
-->
</style>


</head>

<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000">

<a name="The-Exim-monitor"></a>
<a name="SEC468"></a>
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="spec_50.html#SEC467" title="Previous section in reading order"> &lt; </a>]</td>
<td valign="middle" align="left">[<a href="#SEC469" title="Next section in reading order"> &gt; </a>]</td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left">[<a href="spec_50.html#SEC452" title="Beginning of this chapter or previous chapter"> &lt;&lt; </a>]</td>
<td valign="middle" align="left">[<a href="spec.html#SEC_Top" title="Up section"> Up </a>]</td>
<td valign="middle" align="left">[<a href="spec_52.html#SEC475" title="Next chapter"> &gt;&gt; </a>]</td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left">[<a href="spec.html#SEC_Top" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[Contents]</td>
<td valign="middle" align="left">[<a href="spec_55.html#SEC493" title="Index">Index</a>]</td>
<td valign="middle" align="left">[<a href="spec_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<h1 class="chapter"> 51. The Exim monitor </h1>

<p>The Exim monitor is an application which displays in an X window information
about the state of Exim's queue and what Exim is doing. An admin user can
perform certain operations on messages from this GUI interface; however all
such facilities are also available from the command line, and indeed, the
monitor itself makes use of the command line to perform any actions requested.
</p>
<table class="menu" border="0" cellspacing="0">
<tr><td align="left" valign="top"><a href="#SEC469">51.1 Running the monitor</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
</td></tr>
<tr><td align="left" valign="top"><a href="#SEC470">51.2 The stripcharts</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
</td></tr>
<tr><td align="left" valign="top"><a href="#SEC471">51.3 Main action buttons</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
</td></tr>
<tr><td align="left" valign="top"><a href="#SEC472">51.4 The log display</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
</td></tr>
<tr><td align="left" valign="top"><a href="#SEC473">51.5 The queue display</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
</td></tr>
<tr><td align="left" valign="top"><a href="#SEC474">51.6 The queue menu</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
</td></tr>
</table>

<hr size="6">
<a name="Running-the-monitor"></a>
<a name="SEC469"></a>
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="#SEC468" title="Previous section in reading order"> &lt; </a>]</td>
<td valign="middle" align="left">[<a href="#SEC470" title="Next section in reading order"> &gt; </a>]</td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left">[<a href="#SEC468" title="Beginning of this chapter or previous chapter"> &lt;&lt; </a>]</td>
<td valign="middle" align="left">[<a href="#SEC468" title="Up section"> Up </a>]</td>
<td valign="middle" align="left">[<a href="spec_52.html#SEC475" title="Next chapter"> &gt;&gt; </a>]</td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left">[<a href="spec.html#SEC_Top" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[Contents]</td>
<td valign="middle" align="left">[<a href="spec_55.html#SEC493" title="Index">Index</a>]</td>
<td valign="middle" align="left">[<a href="spec_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<h2 class="section"> 51.1 Running the monitor </h2>

<p>The monitor is started by running the script called <em>eximon</em>. This is a shell
script that sets up a number of environment variables, and then runs the
binary called &lsquo;<tt>eximon.bin</tt>&rsquo;. The default appearance of the monitor window can
be changed by editing the &lsquo;<tt>Local/eximon.conf</tt>&rsquo; file created by editing
&lsquo;<tt>exim_monitor/EDITME</tt>&rsquo;. Comments in that file describe what the various
parameters are for.
</p>
<p>The parameters that get built into the <em>eximon</em> script can be overridden for
a particular invocation by setting up environment variables of the same names,
preceded by &lsquo;<samp>EXIMON_</samp>&rsquo;. For example, a shell command such as
</p>
<table><tr><td>&nbsp;</td><td><pre class="example">EXIMON_LOG_DEPTH=400 eximon
</pre></td></tr></table>

<p>(in a Bourne-compatible shell) runs <em>eximon</em> with an overriding setting of
the LOG_DEPTH parameter. If EXIMON_LOG_FILE_PATH is set in the environment, it
overrides the Exim log file configuration. This makes it possible to have
<em>eximon</em> tailing log data that is written to syslog, provided that MAIL.INFO
syslog messages are routed to a file on the local host.
</p>
<p>X resources can be used to change the appearance of the window in the normal
way. For example, a resource setting of the form
</p>
<table><tr><td>&nbsp;</td><td><pre class="example">Eximon*background: gray94
</pre></td></tr></table>

<p>changes the colour of the background to light grey rather than white. The
stripcharts are drawn with both the data lines and the reference lines in
black. This means that the reference lines are not visible when on top of the
data. However, their colour can be changed by setting a resource called
&quot;highlight&quot; (an odd name, but that's what the Athena stripchart widget uses).
For example, if your X server is running Unix, you could set up lighter
reference lines in the stripcharts by obeying
</p>
<table><tr><td>&nbsp;</td><td><pre class="example">xrdb -merge &lt;&lt;End
Eximon*highlight: gray
End
</pre></td></tr></table>

<a name="IDX2833"></a>
<p>In order to see the contents of messages on the queue, and to operate on them,
<em>eximon</em> must either be run as root or by an admin user.
</p>
<p>The monitor's window is divided into three parts. The first contains one or
more stripcharts and two action buttons, the second contains a &quot;tail&quot; of the
main log file, and the third is a display of the queue of messages awaiting
delivery, with two more action buttons. The following sections describe these
different parts of the display.
</p>
<hr size="6">
<a name="The-stripcharts"></a>
<a name="SEC470"></a>
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="#SEC469" title="Previous section in reading order"> &lt; </a>]</td>
<td valign="middle" align="left">[<a href="#SEC471" title="Next section in reading order"> &gt; </a>]</td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left">[<a href="#SEC468" title="Beginning of this chapter or previous chapter"> &lt;&lt; </a>]</td>
<td valign="middle" align="left">[<a href="#SEC468" title="Up section"> Up </a>]</td>
<td valign="middle" align="left">[<a href="spec_52.html#SEC475" title="Next chapter"> &gt;&gt; </a>]</td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left">[<a href="spec.html#SEC_Top" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[Contents]</td>
<td valign="middle" align="left">[<a href="spec_55.html#SEC493" title="Index">Index</a>]</td>
<td valign="middle" align="left">[<a href="spec_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<h2 class="section"> 51.2 The stripcharts </h2>

<p>The first stripchart is always a count of messages on the queue. Its name can
be configured by setting QUEUE_STRIPCHART_NAME in the
&lsquo;<tt>Local/eximon.conf</tt>&rsquo; file. The remaining stripcharts are defined in the
configuration script by regular expression matches on log file entries, making
it possible to display, for example, counts of messages delivered to certain
hosts or using certain transports. The supplied defaults display counts of
received and delivered messages, and of local and SMTP deliveries. The default
period between stripchart updates is one minute; this can be adjusted by a
parameter in the &lsquo;<tt>Local/eximon.conf</tt>&rsquo; file.
</p>
<p>The stripchart displays rescale themselves automatically as the value they are
displaying changes. There are always 10 horizontal lines in each chart; the
title string indicates the value of each division when it is greater than one.
For example, &quot;x2&quot; means that each division represents a value of 2.
</p>
<p>It is also possible to have a stripchart which shows the percentage fullness of
a particular disk partition, which is useful when local deliveries are confined
to a single partition.
</p>
<a name="IDX2834"></a>
<p>This relies on the availability of the <code>statvfs()</code> function or equivalent in
the operating system. Most, but not all versions of Unix that support Exim have
this. For this particular stripchart, the top of the chart always represents
100%, and the scale is given as &quot;x10%&quot;. This chart is configured by setting
SIZE_STRIPCHART and (optionally) SIZE_STRIPCHART_NAME in the
&lsquo;<tt>Local/eximon.conf</tt>&rsquo; file.
</p>
<hr size="6">
<a name="Main-action-buttons"></a>
<a name="SEC471"></a>
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="#SEC470" title="Previous section in reading order"> &lt; </a>]</td>
<td valign="middle" align="left">[<a href="#SEC472" title="Next section in reading order"> &gt; </a>]</td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left">[<a href="#SEC468" title="Beginning of this chapter or previous chapter"> &lt;&lt; </a>]</td>
<td valign="middle" align="left">[<a href="#SEC468" title="Up section"> Up </a>]</td>
<td valign="middle" align="left">[<a href="spec_52.html#SEC475" title="Next chapter"> &gt;&gt; </a>]</td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left">[<a href="spec.html#SEC_Top" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[Contents]</td>
<td valign="middle" align="left">[<a href="spec_55.html#SEC493" title="Index">Index</a>]</td>
<td valign="middle" align="left">[<a href="spec_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<h2 class="section"> 51.3 Main action buttons </h2>

<p>Below the stripcharts there is an action button for quitting the monitor. Next
to this is another button marked &quot;Size&quot;. They are placed here so that
shrinking the window to its default minimum size leaves just the queue count
stripchart and these two buttons visible. Pressing the &quot;Size&quot; button causes
the window to expand to its maximum size, unless it is already at the maximum,
in which case it is reduced to its minimum.
</p>
<p>When expanding to the maximum, if the window cannot be fully seen where it
currently is, it is moved back to where it was the last time it was at full
size. When it is expanding from its minimum size, the old position is
remembered, and next time it is reduced to the minimum it is moved back there.
</p>
<p>The idea is that you can keep a reduced window just showing one or two
stripcharts at a convenient place on your screen, easily expand it to show
the full window when required, and just as easily put it back to what it was.
The idea is copied from what the <em>twm</em> window manager does for its
<em>f.fullzoom</em> action. The minimum size of the window can be changed by setting
the MIN_HEIGHT and MIN_WIDTH values in &lsquo;<tt>Local/eximon.conf</tt>&rsquo;.
</p>
<p>Normally, the monitor starts up with the window at its full size, but it can be
built so that it starts up with the window at its smallest size, by setting
START_SMALL=yes in &lsquo;<tt>Local/eximon.conf</tt>&rsquo;.
</p>
<hr size="6">
<a name="The-log-display"></a>
<a name="SEC472"></a>
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="#SEC471" title="Previous section in reading order"> &lt; </a>]</td>
<td valign="middle" align="left">[<a href="#SEC473" title="Next section in reading order"> &gt; </a>]</td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left">[<a href="#SEC468" title="Beginning of this chapter or previous chapter"> &lt;&lt; </a>]</td>
<td valign="middle" align="left">[<a href="#SEC468" title="Up section"> Up </a>]</td>
<td valign="middle" align="left">[<a href="spec_52.html#SEC475" title="Next chapter"> &gt;&gt; </a>]</td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left">[<a href="spec.html#SEC_Top" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[Contents]</td>
<td valign="middle" align="left">[<a href="spec_55.html#SEC493" title="Index">Index</a>]</td>
<td valign="middle" align="left">[<a href="spec_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<h2 class="section"> 51.4 The log display </h2>

<p>The second section of the window is an area in which a display of the tail of
the main log is maintained.
To save space on the screen, the timestamp on each log line is shortened by
removing the date and, if <code>log_timezone</code> is set, the timezone.
The log tail is not available when the only destination for logging data is
syslog, unless the syslog lines are routed to a local file whose name is passed
to <em>eximon</em> via the EXIMON_LOG_FILE_PATH environment variable.
</p>
<p>The log sub-window has a scroll bar at its lefthand side which can be used to
move back to look at earlier text, and the up and down arrow keys also have a
scrolling effect. The amount of log that is kept depends on the setting of
LOG_BUFFER in &lsquo;<tt>Local/eximon.conf</tt>&rsquo;, which specifies the amount of memory
to use. When this is full, the earlier 50% of data is discarded - this is
much more efficient than throwing it away line by line. The sub-window also has
a horizontal scroll bar for accessing the ends of long log lines. This is the
only means of horizontal scrolling; the right and left arrow keys are not
available. Text can be cut from this part of the window using the mouse in the
normal way. The size of this subwindow is controlled by parameters in the
configuration file &lsquo;<tt>Local/eximon.conf</tt>&rsquo;.
</p>
<p>Searches of the text in the log window can be carried out by means of the ^R
and ^S keystrokes, which default to a reverse and a forward search,
respectively. The search covers only the text that is displayed in the window.
It cannot go further back up the log.
</p>
<p>The point from which the search starts is indicated by a caret marker. This is
normally at the end of the text in the window, but can be positioned explicitly
by pointing and clicking with the left mouse button, and is moved automatically
by a successful search. If new text arrives in the window when it is scrolled
back, the caret remains where it is, but if the window is not scrolled back,
the caret is moved to the end of the new text.
</p>
<p>Pressing ^R or ^S pops up a window into which the search text can be typed.
There are buttons for selecting forward or reverse searching, for carrying out
the search, and for cancelling. If the &quot;Search&quot; button is pressed, the search
happens and the window remains so that further searches can be done. If the
&quot;Return&quot; key is pressed, a single search is done and the window is closed. If
^C is typed the search is cancelled.
</p>
<p>The searching facility is implemented using the facilities of the Athena text
widget. By default this pops up a window containing both &quot;search&quot; and
&quot;replace&quot; options. In order to suppress the unwanted &quot;replace&quot; portion for
eximon, a modified version of the <code>TextPop</code> widget is distributed with Exim.
However, the linkers in BSDI and HP-UX seem unable to handle an externally
provided version of <code>TextPop</code> when the remaining parts of the text widget
come from the standard libraries. The compile-time option EXIMON_TEXTPOP can be
unset to cut out the modified <code>TextPop</code>, making it possible to build Eximon
on these systems, at the expense of having unwanted items in the search popup
window.
</p>
<hr size="6">
<a name="The-queue-display"></a>
<a name="SEC473"></a>
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="#SEC472" title="Previous section in reading order"> &lt; </a>]</td>
<td valign="middle" align="left">[<a href="#SEC474" title="Next section in reading order"> &gt; </a>]</td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left">[<a href="#SEC468" title="Beginning of this chapter or previous chapter"> &lt;&lt; </a>]</td>
<td valign="middle" align="left">[<a href="#SEC468" title="Up section"> Up </a>]</td>
<td valign="middle" align="left">[<a href="spec_52.html#SEC475" title="Next chapter"> &gt;&gt; </a>]</td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left">[<a href="spec.html#SEC_Top" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[Contents]</td>
<td valign="middle" align="left">[<a href="spec_55.html#SEC493" title="Index">Index</a>]</td>
<td valign="middle" align="left">[<a href="spec_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<h2 class="section"> 51.5 The queue display </h2>

<p>The bottom section of the monitor window contains a list of all messages that
are on the queue, which includes those currently being received or delivered,
as well as those awaiting delivery. The size of this subwindow is controlled by
parameters in the configuration file &lsquo;<tt>Local/eximon.conf</tt>&rsquo;, and the frequency
at which it is updated is controlled by another parameter in the same file -
the default is 5 minutes, since queue scans can be quite expensive. However,
there is an &quot;Update&quot; action button just above the display which can be used
to force an update of the queue display at any time.
</p>
<p>When a host is down for some time, a lot of pending mail can build up for it,
and this can make it hard to deal with other messages on the queue. To help
with this situation there is a button next to &quot;Update&quot; called &quot;Hide&quot;. If
pressed, a dialogue box called &quot;Hide addresses ending with&quot; is put up. If you
type anything in here and press &quot;Return&quot;, the text is added to a chain of
such texts, and if every undelivered address in a message matches at least one
of the texts, the message is not displayed.
</p>
<p>If there is an address that does not match any of the texts, all the addresses
are displayed as normal. The matching happens on the ends of addresses so, for
example, <em>cam.ac.uk</em> specifies all addresses in Cambridge, while
<em>xxx@foo.com.example</em> specifies just one specific address. When any hiding
has been set up, a button called &quot;Unhide&quot; is displayed. If pressed, it
cancels all hiding. Also, to ensure that hidden messages do not get forgotten,
a hide request is automatically cancelled after one hour.
</p>
<p>While the dialogue box is displayed, you can't press any buttons or do anything
else to the monitor window. For this reason, if you want to cut text from the
queue display to use in the dialogue box, you have to do the cutting before
pressing the &quot;Hide&quot; button.
</p>
<p>The queue display contains, for each unhidden queued message, the length of
time it has been on the queue, the size of the message, the message id, the
message sender, and the first undelivered recipient, all on one line. If it is
a bounce message, the sender is shown as &quot;&lt;&gt;&quot;. If there is more than one
recipient to which the message has not yet been delivered, subsequent ones are
listed on additional lines, up to a maximum configured number, following which
an ellipsis is displayed. Recipients that have already received the message are
not shown.
</p>
<a name="IDX2835"></a>
<p>If a message is frozen, an asterisk is displayed at the left-hand side.
</p>
<p>The queue display has a vertical scroll bar, and can also be scrolled by means
of the arrow keys. Text can be cut from it using the mouse in the normal way.
The text searching facilities, as described above for the log window, are also
available, but the caret is always moved to the end of the text when the queue
display is updated.
</p>
<hr size="6">
<a name="The-queue-menu"></a>
<a name="SEC474"></a>
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="#SEC473" title="Previous section in reading order"> &lt; </a>]</td>
<td valign="middle" align="left">[<a href="spec_52.html#SEC475" title="Next section in reading order"> &gt; </a>]</td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left">[<a href="#SEC468" title="Beginning of this chapter or previous chapter"> &lt;&lt; </a>]</td>
<td valign="middle" align="left">[<a href="#SEC468" title="Up section"> Up </a>]</td>
<td valign="middle" align="left">[<a href="spec_52.html#SEC475" title="Next chapter"> &gt;&gt; </a>]</td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left">[<a href="spec.html#SEC_Top" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[Contents]</td>
<td valign="middle" align="left">[<a href="spec_55.html#SEC493" title="Index">Index</a>]</td>
<td valign="middle" align="left">[<a href="spec_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<h2 class="section"> 51.6 The queue menu </h2>

<p>If the <code>shift</code> key is held down and the left button is clicked when the mouse
pointer is over the text for any message, an action menu pops up, and the first
line of the queue display for the message is highlighted. This does not affect
any selected text.
</p>
<p>If you want to use some other event for popping up the menu, you can set the
MENU_EVENT parameter in &lsquo;<tt>Local/eximon.conf</tt>&rsquo; to change the default, or
set EXIMON_MENU_EVENT in the environment before starting the monitor. The
value set in this parameter is a standard X event description. For example, to
run eximon using <code>ctrl</code> rather than <code>shift</code> you could use
</p>
<table><tr><td>&nbsp;</td><td><pre class="example">EXIMON_MENU_EVENT='Ctrl&lt;Btn1Down&gt;' eximon
</pre></td></tr></table>

<p>The title of the menu is the message id, and it contains entries which act as
follows:
</p>
<ul class="toc">
<li>
<em>message log</em>: The contents of the message log for the message are displayed
in a new text window.

</li><li>
<em>headers</em>: Information from the spool file that contains the envelope
information and headers is displayed in a new text window. See chapter
<a href="spec_53.html#SEC490">Format of spool files</a> for a description of the format of spool files.

</li><li>
<em>body</em>: The contents of the spool file containing the body of the message are
displayed in a new text window. There is a default limit of 20,000 bytes to the
amount of data displayed. This can be changed by setting the BODY_MAX
option at compile time, or the EXIMON_BODY_MAX option at run time.

</li><li>
<em>deliver message</em>: A call to Exim is made using the <code>-M</code> option to request
delivery of the message. This causes an automatic thaw if the message is
frozen. The <code>-v</code> option is also set, and the output from Exim is displayed in
a new text window. The delivery is run in a separate process, to avoid holding
up the monitor while the delivery proceeds.

</li><li>
<em>freeze message</em>: A call to Exim is made using the <code>-Mf</code> option to request
that the message be frozen.

</li><li>
<a name="IDX2836"></a>
<a name="IDX2837"></a>
<a name="IDX2838"></a>
<em>thaw message</em>: A call to Exim is made using the <code>-Mt</code> option to request
that the message be thawed.

</li><li>
<a name="IDX2839"></a>
<em>give up on msg</em>: A call to Exim is made using the <code>-Mg</code> option to request
that Exim gives up trying to deliver the message. A bounce message is generated
for any remaining undelivered addresses.

</li><li>
<em>remove message</em>: A call to Exim is made using the <code>-Mrm</code> option to request
that the message be deleted from the system without generating a bounce
message.

</li><li>
<em>add recipient</em>: A dialog box is displayed into which a recipient address can
be typed. If the address is not qualified and the QUALIFY_DOMAIN parameter
is set in &lsquo;<tt>Local/eximon.conf</tt>&rsquo;, the address is qualified with that domain.
Otherwise it must be entered as a fully qualified address. Pressing RETURN
causes a call to Exim to be made using the <code>-Mar</code> option to request that an
additional recipient be added to the message, unless the entry box is empty, in
which case no action is taken.

</li><li>
<em>mark delivered</em>: A dialog box is displayed into which a recipient address
can be typed. If the address is not qualified and the QUALIFY_DOMAIN parameter
is set in &lsquo;<tt>Local/eximon.conf</tt>&rsquo;, the address is qualified with that domain.
Otherwise it must be entered as a fully qualified address. Pressing RETURN
causes a call to Exim to be made using the <code>-Mmd</code> option to mark the given
recipient address as already delivered, unless the entry box is empty, in which
case no action is taken.

</li><li>
<em>mark all delivered</em>: A call to Exim is made using the <code>-Mmad</code> option to
mark all recipient addresses as already delivered.

</li><li>
<em>edit sender</em>: A dialog box is displayed initialized with the current
sender's address. Pressing RETURN causes a call to Exim to be made using the
<code>-Mes</code> option to replace the sender address, unless the entry box is empty,
in which case no action is taken. If you want to set an empty sender (as in
bounce messages), you must specify it as &quot;&lt;&gt;&quot;. Otherwise, if the address is
not qualified and the QUALIFY_DOMAIN parameter is set in &lsquo;<tt>Local/eximon.conf</tt>&rsquo;,
the address is qualified with that domain.
</li></ul>

<p>When a delivery is forced, a window showing the <code>-v</code> output is displayed. In
other cases when a call to Exim is made, if there is any output from Exim (in
particular, if the command fails) a window containing the command and the
output is displayed. Otherwise, the results of the action are normally apparent
from the log and queue displays. However, if you set ACTION_OUTPUT=yes in
&lsquo;<tt>Local/eximon.conf</tt>&rsquo;, a window showing the Exim command is always opened, even
if no output is generated.
</p>
<p>The queue display is automatically updated for actions such as freezing and
thawing, unless ACTION_QUEUE_UPDATE=no has been set in
&lsquo;<tt>Local/eximon.conf</tt>&rsquo;. In this case the &quot;Update&quot; button has to be used to
force an update of the display after one of these actions.
</p>
<p>In any text window that is displayed as result of a menu action, the normal
cut-and-paste facility is available, and searching can be carried out using ^R
and ^S, as described above for the log tail window.
<a name="IDX2840"></a>
</p>
<hr size="6">
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="#SEC468" title="Beginning of this chapter or previous chapter"> &lt;&lt; </a>]</td>
<td valign="middle" align="left">[<a href="spec_52.html#SEC475" title="Next chapter"> &gt;&gt; </a>]</td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left">[<a href="spec.html#SEC_Top" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[Contents]</td>
<td valign="middle" align="left">[<a href="spec_55.html#SEC493" title="Index">Index</a>]</td>
<td valign="middle" align="left">[<a href="spec_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<p>
 <font size="-1">
  This document was generated on <i>September, 10 2009</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 1.78</i></a>.
 </font>
 <br>

</p>
</body>
</html>