source: networking/mailnews/procmail.xml@ 2470be2d

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 8.4 9.0 9.1 bdubbs/svn elogind gimp3 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/for-12.3 xry111/intltool xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 2470be2d was 2470be2d, checked in by Bruce Dubbs <bdubbs@…>, 6 years ago

URL fixes

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

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