summaryrefslogtreecommitdiffstats
path: root/maildrop/maildropfilter.sgml
diff options
context:
space:
mode:
Diffstat (limited to 'maildrop/maildropfilter.sgml')
-rw-r--r--maildrop/maildropfilter.sgml26
1 files changed, 25 insertions, 1 deletions
diff --git a/maildrop/maildropfilter.sgml b/maildrop/maildropfilter.sgml
index 4d91abc..c97aeec 100644
--- a/maildrop/maildropfilter.sgml
+++ b/maildrop/maildropfilter.sgml
@@ -511,7 +511,9 @@ MAILBOX="${HOME-WORD}/Mailbox"
</para></listitem></varlistentry>
<varlistentry><term><varname>RETURNCODE</varname></term><listitem><para>This variable is set when <command>maildrop</command>
- runs the <ulink url="#xfilter">xfilter</ulink> command, or a command that's
+ runs the
+ <ulink url="#system">system</ulink> command,
+ <ulink url="#xfilter">xfilter</ulink> command, or a command that's
specified within a pair of backtick characters ( command substitution ).
The <varname>RETURNCODE</varname> variable will be set to the exit code of the
command, after it completes.
@@ -1485,6 +1487,28 @@ log <replaceable>expression</replaceable>
</refsect3>
<refsect3>
+ <title>system - execute a system command</title>
+ <anchor id="system"/>
+
+ <blockquote>
+ <informalexample>
+ <programlisting>
+system <replaceable>expression</replaceable>
+ </programlisting>
+ </informalexample>
+ </blockquote>
+
+ <para>
+ <replaceable>expression</replaceable> specifies an external program
+ that
+ <command>maildrop</command> runs as a subprocess.
+ The subprocess's standard input gets connected to
+ <filename>/dev/null</filename>, and the subprocess inherits
+ the standard output and error from
+ <command>maildrop</command>.</para>
+ </refsect3>
+
+ <refsect3>
<title>to - deliver message to a mailbox</title>
<anchor id="to"/>
<blockquote>