1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
|
<HTML>
<HEAD>
<!-- This HTML file has been created by texi2html 1.52
from filter on 25 November 2000 -->
<TITLE>Exim Filter Specification - Testing for error messages</TITLE>
</HEAD>
<body bgcolor="#FFFFFF" text="#00005A" link="#FF6600" alink="#FF9933" vlink="#990000">
Go to the <A HREF="filter_1.html">first</A>, <A HREF="filter_23.html">previous</A>, <A HREF="filter_25.html">next</A>, <A HREF="filter_34.html">last</A> section, <A HREF="filter_toc.html">table of contents</A>.
<P><HR><P>
<H2><A NAME="SEC24" HREF="filter_toc.html#TOC24">Testing for error messages</A></H2>
<P>
The condition <TT>`error_message'</TT> is true if the incoming message is a mail
delivery error message. Putting the command
<PRE>
if error_message then finish endif
</PRE>
<P>
at the head of your filter file is a useful insurance against things going
wrong in such a way that you cannot receive delivery error reports, and is
highly recommended.
Note that <EM>error_message</EM> is a condition, not an expansion variable, and
therefore is not preceded by <EM>$</EM>.
</P>
<P><HR><P>
Go to the <A HREF="filter_1.html">first</A>, <A HREF="filter_23.html">previous</A>, <A HREF="filter_25.html">next</A>, <A HREF="filter_34.html">last</A> section, <A HREF="filter_toc.html">table of contents</A>.
</BODY>
</HTML>
|