source: networking/mailnews/procmail.xml@ da28eec0

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt nosym 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 da28eec0 was da28eec0, checked in by Douglas R. Reno <renodr@…>, 8 years ago

(both) Add a sed for the GnuTLS Compatibility Library
(both) GCC6 tags
(systemd) LFS79 tags

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

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