source: networking/mailnews/procmail.xml@ 80d6d7d5

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.7 7.8 7.9 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 80d6d7d5 was 80d6d7d5, checked in by Bruce Dubbs <bdubbs@…>, 9 years ago

Finish tagging networking and pst sections

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

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