source: networking/mailnews/procmail.xml@ b62a2a68

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.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 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 b62a2a68 was b62a2a68, checked in by Ken Moffat <ken@…>, 6 years ago

tags: I was convinced I had already done some of these.

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

  • Property mode set to 100644
File size: 6.8 KB
RevLine 
[bfe245f]1<?xml version="1.0" encoding="ISO-8859-1"?>
[6732c094]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[bfe245f]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[5bd4ba6e]7 <!ENTITY procmail-download-http "http://www.ring.gr.jp/archives/net/mail/procmail/procmail-&procmail-version;.tar.gz">
[5ed4f0d]8 <!ENTITY procmail-download-ftp "ftp://ftp.informatik.rwth-aachen.de/pub/packages/procmail/procmail-&procmail-version;.tar.gz">
[55c657e]9 <!ENTITY procmail-md5sum "1678ea99b973eb77eda4ecf6acae53f1">
[d45e8c9]10 <!ENTITY procmail-size "226 KB">
11 <!ENTITY procmail-buildsize "1.7 MB">
[475078b]12 <!ENTITY procmail-time "less than 0.1 SBU">
[bfe245f]13]>
14
[1708d1e9]15<sect1 id="procmail" xreflabel="Procmail-&procmail-version;">
[97063a43]16 <?dbhtml filename="procmail.html"?>
[e6f1fd6]17
[97063a43]18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
[e6f1fd6]22
[97063a43]23 <title>Procmail-&procmail-version;</title>
[e6f1fd6]24
[97063a43]25 <indexterm zone="procmail">
26 <primary sortas="a-Procmail">Procmail</primary>
27 </indexterm>
[e6f1fd6]28
[97063a43]29 <sect2 role="package">
30 <title>Introduction to Procmail</title>
[e6f1fd6]31
[f314186c]32 <para>The <application>Procmail</application> package contains an autonomous
[97063a43]33 mail processor. This is useful for filtering and sorting incoming mail.</para>
[e6f1fd6]34
[b62a2a68]35 &lfs82_checked;
[d4796f8b]36
[97063a43]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>
[e6f1fd6]58
[ae60b0dd]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
[730a1810]69 <bridgehead renderas="sect3">Procmail Dependencies</bridgehead>
70
71 <bridgehead renderas="sect4">Recommended</bridgehead>
72 <para role="recommended">
[beb65db]73 A <xref linkend="server-mail"/> that installs sendmail
[730a1810]74 </para>
75
[061ec9d]76 <para condition="html" role="usernotes">User Notes:
77 <ulink url="&blfs-wiki;/procmail"/></para>
78
[97063a43]79 </sect2>
[e6f1fd6]80
[97063a43]81 <sect2 role="installation">
82 <title>Installation of Procmail</title>
[e6f1fd6]83
[5b06328]84 <para>This package does not come with a test suite.</para>
85
[f314186c]86 <para>Install <application>Procmail</application> by running the following
[97063a43]87 commands as the <systemitem class="username">root</systemitem> user:</para>
[e6f1fd6]88
[ae60b0dd]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;
[80d6d7d5]91
[ae60b0dd]92make LOCKINGTEST=/tmp MANDIR=/usr/share/man install &amp;&amp;
[97063a43]93make install-suid</userinput></screen>
[e6f1fd6]94
[97063a43]95 </sect2>
[e6f1fd6]96
[97063a43]97 <sect2 role="commands">
[e3353b3]98 <title>Command Explanations</title>
[e6f1fd6]99
[191ae95]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
[f314186c]104 <para><command>make LOCKINGTEST=/tmp install</command>: This prevents
105 <command>make</command> from asking you where to test file-locking
[97063a43]106 patterns.</para>
[e6f1fd6]107
[97063a43]108 <para><command>make install-suid</command>: Modifies permissions of
109 the installed files.</para>
[e6f1fd6]110
[97063a43]111 </sect2>
[e6f1fd6]112
[97063a43]113 <sect2 role="configuration">
114 <title>Configuring Procmail</title>
[e6f1fd6]115
[97063a43]116 <sect3 id="procmail-config">
[e3353b3]117 <title>Config Files</title>
[e6f1fd6]118
[f314186c]119 <para><filename>/etc/procmailrc</filename> and
[97063a43]120 <filename>~/.procmailrc</filename></para>
[e6f1fd6]121
[97063a43]122 <indexterm zone="procmail procmail-config">
123 <primary sortas="e-AA.procmailrc">~/.procmailrc</primary>
124 </indexterm>
[e6f1fd6]125
[97063a43]126 <indexterm zone="procmail procmail-config">
127 <primary sortas="e-etc-procmailrc">/etc/procmailrc</primary>
128 </indexterm>
[e6f1fd6]129
[97063a43]130 </sect3>
[e6f1fd6]131
[97063a43]132 <sect3>
133 <title>Configuration Information</title>
[e6f1fd6]134
[a41f643]135 <para>Recipes have to be written and placed in
[e3353b3]136 <filename>~/.procmailrc</filename> for execution. The procmailex man
[0a4d3456]137 page is the starting place to learn how to write recipes.
138 For additional information, see also
[f47c5167]139 <ulink url="http://pm-doc.sourceforge.net/"/>.
[0a4d3456]140 </para>
[e6f1fd6]141
[97063a43]142 </sect3>
[e6f1fd6]143
[97063a43]144 </sect2>
[e6f1fd6]145
[97063a43]146 <sect2 role="content">
147 <title>Contents</title>
[e6f1fd6]148
[97063a43]149 <segmentedlist>
150 <segtitle>Installed Programs</segtitle>
151 <segtitle>Installed Libraries</segtitle>
152 <segtitle>Installed Directories</segtitle>
[e6f1fd6]153
[97063a43]154 <seglistitem>
155 <seg>formail, lockfile, mailstat and procmail</seg>
156 <seg>None</seg>
157 <seg>None</seg>
158 </seglistitem>
159 </segmentedlist>
[e6f1fd6]160
[97063a43]161 <variablelist>
162 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
163 <?dbfo list-presentation="list"?>
164 <?dbhtml list-presentation="table"?>
[e6f1fd6]165
[97063a43]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>
[e6f1fd6]175
[97063a43]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>
[e6f1fd6]186
[97063a43]187 <varlistentry id="mailstat">
188 <term><command>mailstat</command></term>
189 <listitem>
[f314186c]190 <para>prints a summary report of mail that has been filtered by
[e6f1fd6]191 <command>procmail</command> since the last time <command>mailstat</command>
[97063a43]192 was ran.</para>
193 <indexterm zone="procmail mailstat">
194 <primary sortas="b-mailstat">mailstat</primary>
195 </indexterm>
196 </listitem>
197 </varlistentry>
[e6f1fd6]198
[97063a43]199 <varlistentry id="procmail-prog">
200 <term><command>procmail</command></term>
201 <listitem>
[f314186c]202 <para>is an autonomous mail processor. It performs all the functions
[97063a43]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>
[e6f1fd6]210
[97063a43]211 </sect2>
[e6f1fd6]212
[f45b1953]213</sect1>
214
Note: See TracBrowser for help on using the repository browser.