source: networking/mailnews/procmail.xml@ 32dfda12

elogind
Last change on this file since 32dfda12 was 32dfda12, checked in by DJ Lucas <dj@…>, 6 years ago

Merge from HEAD at 20830

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

  • Property mode set to 100644
File size: 7.0 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>The <application>Procmail</application> package contains an autonomous
35 mail processor. This is useful for filtering and sorting incoming mail.</para>
36
37 &lfs83_checked;
38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing='compact'>
41 <listitem>
42 <para>Download (HTTP): <ulink url="&procmail-download-http;"/></para>
43 </listitem>
44 <listitem>
45 <para>Download (FTP): <ulink url="&procmail-download-ftp;"/></para>
46 </listitem>
47 <listitem>
48 <para>Download MD5 sum: &procmail-md5sum;</para>
49 </listitem>
50 <listitem>
51 <para>Download size: &procmail-size;</para>
52 </listitem>
53 <listitem>
54 <para>Estimated disk space required: &procmail-buildsize;</para>
55 </listitem>
56 <listitem>
57 <para>Estimated build time: &procmail-time;</para>
58 </listitem>
59 </itemizedlist>
60
61 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
62 <itemizedlist spacing="compact">
63 <listitem>
64 <para>
65 Required patch:
66 <ulink url="&patch-root;/procmail-&procmail-version;-consolidated_fixes-1.patch"/>
67 </para>
68 </listitem>
69 </itemizedlist>
70
71 <bridgehead renderas="sect3">Procmail Dependencies</bridgehead>
72
73 <bridgehead renderas="sect4">Recommended</bridgehead>
74 <para role="recommended">
75 A <xref linkend="server-mail"/> that installs sendmail
76 </para>
77
78 <para condition="html" role="usernotes">User Notes:
79 <ulink url="&blfs-wiki;/procmail"/></para>
80
81 </sect2>
82
83 <sect2 role="installation">
84 <title>Installation of Procmail</title>
85
86 <para>This package does not come with a test suite.</para>
87
88 <para>Install <application>Procmail</application> by running the following
89 commands as the <systemitem class="username">root</systemitem> user:</para>
90
91<screen role='root'><userinput>sed -i 's/getline/get_line/' src/*.[ch] &amp;&amp;
92patch -Np1 -i ../procmail-&procmail-version;-consolidated_fixes-1.patch &amp;&amp;
93
94make LOCKINGTEST=/tmp MANDIR=/usr/share/man install &amp;&amp;
95make install-suid</userinput></screen>
96
97 </sect2>
98
99 <sect2 role="commands">
100 <title>Command Explanations</title>
101
102 <para><command>sed -i 's/getline/get_line/' src/*.[ch]</command>: This renames
103 procmail's getline function to avoid conflict with the getline function from
104 <application>glibc</application>.</para>
105
106 <para><command>make LOCKINGTEST=/tmp install</command>: This prevents
107 <command>make</command> from asking you where to test file-locking
108 patterns.</para>
109
110 <para><command>make install-suid</command>: Modifies permissions of
111 the installed files.</para>
112
113 </sect2>
114
115 <sect2 role="configuration">
116 <title>Configuring Procmail</title>
117
118 <sect3 id="procmail-config">
119 <title>Config Files</title>
120
121 <para><filename>/etc/procmailrc</filename> and
122 <filename>~/.procmailrc</filename></para>
123
124 <indexterm zone="procmail procmail-config">
125 <primary sortas="e-AA.procmailrc">~/.procmailrc</primary>
126 </indexterm>
127
128 <indexterm zone="procmail procmail-config">
129 <primary sortas="e-etc-procmailrc">/etc/procmailrc</primary>
130 </indexterm>
131
132 </sect3>
133
134 <sect3>
135 <title>Configuration Information</title>
136
137 <para>Recipes have to be written and placed in
138 <filename>~/.procmailrc</filename> for execution. The procmailex man
139 page is the starting place to learn how to write recipes.
140 For additional information, see also
141 <ulink url="http://pm-doc.sourceforge.net/"/>.
142 </para>
143
144 </sect3>
145
146 </sect2>
147
148 <sect2 role="content">
149 <title>Contents</title>
150
151 <segmentedlist>
152 <segtitle>Installed Programs</segtitle>
153 <segtitle>Installed Libraries</segtitle>
154 <segtitle>Installed Directories</segtitle>
155
156 <seglistitem>
157 <seg>formail, lockfile, mailstat and procmail</seg>
158 <seg>None</seg>
159 <seg>None</seg>
160 </seglistitem>
161 </segmentedlist>
162
163 <variablelist>
164 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
165 <?dbfo list-presentation="list"?>
166 <?dbhtml list-presentation="table"?>
167
168 <varlistentry id="formail">
169 <term><command>formail</command></term>
170 <listitem>
171 <para>is a filter that can be used to format mail into mailbox format.</para>
172 <indexterm zone="procmail formail">
173 <primary sortas="b-formail">formail</primary>
174 </indexterm>
175 </listitem>
176 </varlistentry>
177
178 <varlistentry id="lockfile">
179 <term><command>lockfile</command></term>
180 <listitem>
181 <para>is a utility that can lock a file for single use interactively or in a
182 script.</para>
183 <indexterm zone="procmail lockfile">
184 <primary sortas="b-lockfile">lockfile</primary>
185 </indexterm>
186 </listitem>
187 </varlistentry>
188
189 <varlistentry id="mailstat">
190 <term><command>mailstat</command></term>
191 <listitem>
192 <para>prints a summary report of mail that has been filtered by
193 <command>procmail</command> since the last time <command>mailstat</command>
194 was ran.</para>
195 <indexterm zone="procmail mailstat">
196 <primary sortas="b-mailstat">mailstat</primary>
197 </indexterm>
198 </listitem>
199 </varlistentry>
200
201 <varlistentry id="procmail-prog">
202 <term><command>procmail</command></term>
203 <listitem>
204 <para>is an autonomous mail processor. It performs all the functions
205 of an MDA (Mail Delivery Agent).</para>
206 <indexterm zone="procmail procmail-prog">
207 <primary sortas="b-procmail">procmail</primary>
208 </indexterm>
209 </listitem>
210 </varlistentry>
211 </variablelist>
212
213 </sect2>
214
215</sect1>
216
Note: See TracBrowser for help on using the repository browser.