source: networking/mailnews/procmail.xml@ 6d15c62

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 6d15c62 was 6d15c62, checked in by Bruce Dubbs <bdubbs@…>, 12 years ago

Rearrange package organization

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