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