[bfe245f] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY procmail-download-http "http://www.procmail.org/procmail-&procmail-version;.tar.gz">
|
---|
| 8 | <!ENTITY procmail-download-ftp "ftp://ftp.procmail.net/pub/procmail/procmail-&procmail-version;.tar.gz">
|
---|
| 9 | <!ENTITY procmail-size "338 KB">
|
---|
| 10 | <!ENTITY procmail-buildsize "1.5 MB">
|
---|
| 11 | <!ENTITY procmail-time "0.38 SBU">
|
---|
| 12 | ]>
|
---|
| 13 |
|
---|
[1708d1e9] | 14 | <sect1 id="procmail" xreflabel="Procmail-&procmail-version;">
|
---|
[a0f03b0] | 15 | <sect1info>
|
---|
[5cd0959d] | 16 | <othername>$LastChangedBy$</othername>
|
---|
| 17 | <date>$Date$</date>
|
---|
[a0f03b0] | 18 | </sect1info>
|
---|
[00bb024c] | 19 | <?dbhtml filename="procmail.html"?>
|
---|
[1708d1e9] | 20 | <title>Procmail-&procmail-version;</title>
|
---|
[f45b1953] | 21 |
|
---|
[bfe245f] | 22 | <sect2>
|
---|
| 23 | <title>Introduction to <application>Procmail</application></title>
|
---|
| 24 |
|
---|
| 25 | <para>The <application>Procmail</application> package contains an autonomous mail processor. This
|
---|
| 26 | is useful for filtering and sorting incoming mail.</para>
|
---|
| 27 |
|
---|
| 28 | <sect3><title>Package information</title>
|
---|
| 29 | <itemizedlist spacing='compact'>
|
---|
| 30 | <listitem><para>Download (HTTP): <ulink
|
---|
| 31 | url="&procmail-download-http;"/></para></listitem>
|
---|
| 32 | <listitem><para>Download (FTP): <ulink
|
---|
| 33 | url="&procmail-download-ftp;"/></para></listitem>
|
---|
| 34 | <listitem><para>Download size: &procmail-size;</para></listitem>
|
---|
[518538f] | 35 | <listitem><para>Estimated disk space required:
|
---|
[bfe245f] | 36 | &procmail-buildsize;</para></listitem>
|
---|
| 37 | <listitem><para>Estimated build time:
|
---|
| 38 | &procmail-time;</para></listitem></itemizedlist>
|
---|
| 39 | </sect3>
|
---|
| 40 |
|
---|
| 41 |
|
---|
| 42 | </sect2>
|
---|
| 43 |
|
---|
| 44 | <sect2>
|
---|
| 45 | <title>Installation of <application>Procmail</application></title>
|
---|
| 46 |
|
---|
| 47 | <para>Install <application>Procmail</application> by running the following commands:</para>
|
---|
| 48 |
|
---|
[4f9b1f7] | 49 | <screen><userinput><command>make LOCKINGTEST=/tmp install &&
|
---|
[bfe245f] | 50 | make install-suid</command></userinput></screen>
|
---|
| 51 |
|
---|
| 52 | </sect2>
|
---|
| 53 |
|
---|
| 54 | <sect2>
|
---|
| 55 | <title>Command explanations</title>
|
---|
| 56 |
|
---|
[4f9b1f7] | 57 | <para><command>make LOCKINGTEST=/tmp install</command>: This prevents make from
|
---|
| 58 | asking you where to test file-locking patterns.</para>
|
---|
| 59 |
|
---|
[bfe245f] | 60 | <para><command>make install-suid</command>: Modifies permissions of
|
---|
| 61 | the installed files.</para>
|
---|
| 62 | </sect2>
|
---|
| 63 |
|
---|
| 64 | <sect2>
|
---|
| 65 | <title>Configuring <application>Procmail</application></title>
|
---|
| 66 |
|
---|
| 67 | <sect3><title>Config files</title>
|
---|
| 68 | <para><filename>/etc/procmailrc</filename>,
|
---|
| 69 | <filename>~/.procmailrc</filename></para>
|
---|
| 70 | </sect3>
|
---|
| 71 |
|
---|
| 72 | <sect3><title>Configuration Information</title>
|
---|
| 73 |
|
---|
| 74 | <para>Recipes have to be written and placed in your
|
---|
| 75 | <filename>~/.procmailrc</filename> for execution. The procmailex man
|
---|
| 76 | page is the starting place to learn how to write recipes.</para>
|
---|
| 77 | </sect3>
|
---|
| 78 |
|
---|
| 79 | </sect2>
|
---|
| 80 |
|
---|
| 81 | <sect2>
|
---|
| 82 | <title>Contents</title>
|
---|
| 83 |
|
---|
| 84 | <para>The <application>Procmail</application> package contains <command>procmail</command>, <command>formail</command>, <command>lockfile</command> and <command>mailstat</command>.</para>
|
---|
| 85 |
|
---|
| 86 | </sect2>
|
---|
| 87 |
|
---|
| 88 | <sect2><title>Description</title>
|
---|
| 89 |
|
---|
| 90 | <sect3><title>procmail</title>
|
---|
| 91 | <para><command>procmail</command> is an autonomous mail processor. It performs
|
---|
| 92 | all the functions of a <acronym>MDA</acronym> (Mail Delivery Agent).</para></sect3>
|
---|
| 93 |
|
---|
| 94 | <sect3><title>formail</title>
|
---|
| 95 | <para><command>formail</command> is a filter that can be used to format mail
|
---|
| 96 | into mailbox format.</para></sect3>
|
---|
| 97 |
|
---|
| 98 | <sect3><title>lockfile</title>
|
---|
| 99 | <para><command>lockfile</command> is a utility that can lock a file for single
|
---|
| 100 | use interactively or in a script.</para></sect3>
|
---|
| 101 |
|
---|
| 102 | <sect3><title>mailstat</title>
|
---|
| 103 | <para><command>mailstat</command> prints a summary report of mail that has been
|
---|
| 104 | filtered by <command>procmail</command> since the last time <command>
|
---|
| 105 | mailstat</command> was ran.</para></sect3>
|
---|
| 106 |
|
---|
| 107 | </sect2>
|
---|
[f45b1953] | 108 |
|
---|
| 109 | </sect1>
|
---|
| 110 |
|
---|