source: networking/mailnews/procmail.xml@ 2da40d0

10.0 10.1 11.0 ken/refactor-virt lazarus qt5new trunk upgradedb xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 2da40d0 was 2da40d0, checked in by Douglas R. Reno <renodr@…>, 16 months ago

Some more late-night tags

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23545 af4574ff-66df-0310-9fd7-8a98e5e911e0

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