source: networking/mailnews/procmail.xml

trunk
Last change on this file was 5d0e7b8, checked in by Douglas R. Reno <renodr@…>, 2 months ago

A bunch of tags

  • Property mode set to 100644
File size: 7.1 KB
RevLine 
[ab4fdfc]1<?xml version="1.0" encoding="UTF-8"?>
[6732c094]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[bfe245f]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[c261b9c]7<!-- <!ENTITY procmail-download-http "http://www.ring.gr.jp/archives/net/mail/procmail/procmail-&procmail-version;.tar.gz"> -->
[8558044]8 <!ENTITY procmail-download-http "https://ftp.osuosl.org/pub/blfs/conglomeration/procmail/procmail-&procmail-version;.tar.gz">
[2470be2d]9 <!ENTITY procmail-download-ftp " ">
[55c657e]10 <!ENTITY procmail-md5sum "1678ea99b973eb77eda4ecf6acae53f1">
[d45e8c9]11 <!ENTITY procmail-size "226 KB">
12 <!ENTITY procmail-buildsize "1.7 MB">
[475078b]13 <!ENTITY procmail-time "less than 0.1 SBU">
[bfe245f]14]>
15
[1708d1e9]16<sect1 id="procmail" xreflabel="Procmail-&procmail-version;">
[97063a43]17 <?dbhtml filename="procmail.html"?>
[e6f1fd6]18
19
[97063a43]20 <title>Procmail-&procmail-version;</title>
[e6f1fd6]21
[97063a43]22 <indexterm zone="procmail">
23 <primary sortas="a-Procmail">Procmail</primary>
24 </indexterm>
[e6f1fd6]25
[97063a43]26 <sect2 role="package">
27 <title>Introduction to Procmail</title>
[e6f1fd6]28
[7c56ece]29 <para>
30 The <application>Procmail</application> package contains an autonomous
31 mail processor. This is useful for filtering and sorting incoming mail.
32 </para>
[e6f1fd6]33
[5d0e7b8]34 &lfs121_checked;
[d4796f8b]35
[97063a43]36 <bridgehead renderas="sect3">Package Information</bridgehead>
37 <itemizedlist spacing='compact'>
38 <listitem>
[7c56ece]39 <para>
40 Download (HTTP): <ulink url="&procmail-download-http;"/>
41 </para>
[97063a43]42 </listitem>
43 <listitem>
[7c56ece]44 <para>
45 Download (FTP): <ulink url="&procmail-download-ftp;"/>
46 </para>
[97063a43]47 </listitem>
48 <listitem>
[7c56ece]49 <para>
50 Download MD5 sum: &procmail-md5sum;
51 </para>
[97063a43]52 </listitem>
53 <listitem>
[7c56ece]54 <para>
55 Download size: &procmail-size;
56 </para>
[97063a43]57 </listitem>
58 <listitem>
[7c56ece]59 <para>
60 Estimated disk space required: &procmail-buildsize;
61 </para>
[97063a43]62 </listitem>
63 <listitem>
[7c56ece]64 <para>
65 Estimated build time: &procmail-time;
66 </para>
[97063a43]67 </listitem>
68 </itemizedlist>
[e6f1fd6]69
[ae60b0dd]70 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
71 <itemizedlist spacing="compact">
72 <listitem>
73 <para>
74 Required patch:
75 <ulink url="&patch-root;/procmail-&procmail-version;-consolidated_fixes-1.patch"/>
76 </para>
77 </listitem>
78 </itemizedlist>
79
[730a1810]80 <bridgehead renderas="sect3">Procmail Dependencies</bridgehead>
81
82 <bridgehead renderas="sect4">Recommended</bridgehead>
83 <para role="recommended">
[beb65db]84 A <xref linkend="server-mail"/> that installs sendmail
[730a1810]85 </para>
86
[a05e8c9]87 <bridgehead renderas="sect4">Optional</bridgehead>
88 <para role="optional">
89 <xref linkend="libnsl"/>
90 </para>
91
[97063a43]92 </sect2>
[e6f1fd6]93
[97063a43]94 <sect2 role="installation">
95 <title>Installation of Procmail</title>
[e6f1fd6]96
[7c56ece]97 <para>
98 This package does not come with a test suite.
99 </para>
[5b06328]100
[7c56ece]101 <para>
102 Install <application>Procmail</application> by running the following
103 commands as the <systemitem class="username">root</systemitem> user:
104 </para>
[e6f1fd6]105
[ae60b0dd]106<screen role='root'><userinput>sed -i 's/getline/get_line/' src/*.[ch] &amp;&amp;
107patch -Np1 -i ../procmail-&procmail-version;-consolidated_fixes-1.patch &amp;&amp;
[80d6d7d5]108
[ae60b0dd]109make LOCKINGTEST=/tmp MANDIR=/usr/share/man install &amp;&amp;
[97063a43]110make install-suid</userinput></screen>
[e6f1fd6]111
[97063a43]112 </sect2>
[e6f1fd6]113
[97063a43]114 <sect2 role="commands">
[e3353b3]115 <title>Command Explanations</title>
[e6f1fd6]116
[7c56ece]117 <para>
118 <command>sed -i 's/getline/get_line/' src/*.[ch]</command>: This renames
119 procmail's getline function to avoid conflict with the getline function
120 from <application>glibc</application>.
121 </para>
[191ae95]122
[7c56ece]123 <para>
124 <command>make LOCKINGTEST=/tmp install</command>: This prevents
125 <command>make</command> from asking you where to test file-locking
126 patterns.
127 </para>
[e6f1fd6]128
[7c56ece]129 <para>
130 <command>make install-suid</command>: Modifies permissions of
131 the installed files.
132 </para>
[e6f1fd6]133
[97063a43]134 </sect2>
[e6f1fd6]135
[97063a43]136 <sect2 role="configuration">
137 <title>Configuring Procmail</title>
[e6f1fd6]138
[97063a43]139 <sect3 id="procmail-config">
[e3353b3]140 <title>Config Files</title>
[e6f1fd6]141
[7c56ece]142 <para>
143 <filename>/etc/procmailrc</filename> and
144 <filename>~/.procmailrc</filename>
145 </para>
[e6f1fd6]146
[97063a43]147 <indexterm zone="procmail procmail-config">
148 <primary sortas="e-AA.procmailrc">~/.procmailrc</primary>
149 </indexterm>
[e6f1fd6]150
[97063a43]151 <indexterm zone="procmail procmail-config">
152 <primary sortas="e-etc-procmailrc">/etc/procmailrc</primary>
153 </indexterm>
[e6f1fd6]154
[97063a43]155 </sect3>
[e6f1fd6]156
[97063a43]157 <sect3>
158 <title>Configuration Information</title>
[e6f1fd6]159
[7c56ece]160 <para>
161 Recipes have to be written and placed in
162 <filename>~/.procmailrc</filename> for execution. The procmailex man
163 page is the starting place to learn how to write recipes.
164 For additional information, see also
[17aa21c]165 <ulink url="https://pm-doc.sourceforge.net/"/>.
[0a4d3456]166 </para>
[e6f1fd6]167
[97063a43]168 </sect3>
[e6f1fd6]169
[97063a43]170 </sect2>
[e6f1fd6]171
[97063a43]172 <sect2 role="content">
173 <title>Contents</title>
[e6f1fd6]174
[97063a43]175 <segmentedlist>
176 <segtitle>Installed Programs</segtitle>
177 <segtitle>Installed Libraries</segtitle>
178 <segtitle>Installed Directories</segtitle>
[e6f1fd6]179
[97063a43]180 <seglistitem>
181 <seg>formail, lockfile, mailstat and procmail</seg>
182 <seg>None</seg>
183 <seg>None</seg>
184 </seglistitem>
185 </segmentedlist>
[e6f1fd6]186
[97063a43]187 <variablelist>
188 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
189 <?dbfo list-presentation="list"?>
190 <?dbhtml list-presentation="table"?>
[e6f1fd6]191
[97063a43]192 <varlistentry id="formail">
193 <term><command>formail</command></term>
194 <listitem>
[7c56ece]195 <para>
[4c24eb0a]196 is a filter that can be used to format mail into mailbox format
[7c56ece]197 </para>
[97063a43]198 <indexterm zone="procmail formail">
199 <primary sortas="b-formail">formail</primary>
200 </indexterm>
201 </listitem>
202 </varlistentry>
[e6f1fd6]203
[97063a43]204 <varlistentry id="lockfile">
205 <term><command>lockfile</command></term>
206 <listitem>
[7c56ece]207 <para>
208 is a utility that can lock a file for single use interactively or
[4c24eb0a]209 in a script
[7c56ece]210 </para>
[97063a43]211 <indexterm zone="procmail lockfile">
212 <primary sortas="b-lockfile">lockfile</primary>
213 </indexterm>
214 </listitem>
215 </varlistentry>
[e6f1fd6]216
[97063a43]217 <varlistentry id="mailstat">
218 <term><command>mailstat</command></term>
219 <listitem>
[7c56ece]220 <para>
221 prints a summary report of mail that has been filtered by
222 <command>procmail</command> since the last time
[4c24eb0a]223 <command>mailstat</command> was ran
[7c56ece]224 </para>
[97063a43]225 <indexterm zone="procmail mailstat">
226 <primary sortas="b-mailstat">mailstat</primary>
227 </indexterm>
228 </listitem>
229 </varlistentry>
[e6f1fd6]230
[97063a43]231 <varlistentry id="procmail-prog">
232 <term><command>procmail</command></term>
233 <listitem>
[7c56ece]234 <para>
235 is an autonomous mail processor. It performs all the functions
[4c24eb0a]236 of an MDA (Mail Delivery Agent)
[7c56ece]237 </para>
[97063a43]238 <indexterm zone="procmail procmail-prog">
239 <primary sortas="b-procmail">procmail</primary>
240 </indexterm>
241 </listitem>
242 </varlistentry>
243 </variablelist>
[e6f1fd6]244
[97063a43]245 </sect2>
[e6f1fd6]246
[f45b1953]247</sect1>
Note: See TracBrowser for help on using the repository browser.