source: networking/mailnews/procmail.xml@ a3c6f028

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

Two tags - sendmail and procmail

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

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