source: networking/mailnews/procmail.xml@ 60d53ec3

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

Tags and some minor formatting

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

  • Property mode set to 100644
File size: 6.3 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.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">
[f3aea8b]9 <!ENTITY procmail-download-ftp "ftp://ftp.ucsb.edu/pub/mirrors/procmail/procmail-&procmail-version;.tar.gz">
[55c657e]10 <!ENTITY procmail-md5sum "1678ea99b973eb77eda4ecf6acae53f1">
[d45e8c9]11 <!ENTITY procmail-size "226 KB">
12 <!ENTITY procmail-buildsize "1.7 MB">
[475078b]13 <!ENTITY procmail-time "less than 0.1 SBU">
[bfe245f]14]>
15
[1708d1e9]16<sect1 id="procmail" xreflabel="Procmail-&procmail-version;">
[97063a43]17 <?dbhtml filename="procmail.html"?>
[e6f1fd6]18
[97063a43]19 <sect1info>
20 <othername>$LastChangedBy$</othername>
21 <date>$Date$</date>
22 </sect1info>
[e6f1fd6]23
[97063a43]24 <title>Procmail-&procmail-version;</title>
[e6f1fd6]25
[97063a43]26 <indexterm zone="procmail">
27 <primary sortas="a-Procmail">Procmail</primary>
28 </indexterm>
[e6f1fd6]29
[97063a43]30 <sect2 role="package">
31 <title>Introduction to Procmail</title>
[e6f1fd6]32
[f314186c]33 <para>The <application>Procmail</application> package contains an autonomous
[97063a43]34 mail processor. This is useful for filtering and sorting incoming mail.</para>
[e6f1fd6]35
[60d53ec3]36 &lfs78_checked;
[d4796f8b]37
[97063a43]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>
[e6f1fd6]59
[061ec9d]60 <para condition="html" role="usernotes">User Notes:
61 <ulink url="&blfs-wiki;/procmail"/></para>
62
[97063a43]63 </sect2>
[e6f1fd6]64
[97063a43]65 <sect2 role="installation">
66 <title>Installation of Procmail</title>
[e6f1fd6]67
[5b06328]68 <para>This package does not come with a test suite.</para>
69
[f314186c]70 <para>Install <application>Procmail</application> by running the following
[97063a43]71 commands as the <systemitem class="username">root</systemitem> user:</para>
[e6f1fd6]72
[191ae95]73<screen role='root'><userinput>sed -i 's/getline/get_line/' src/*.[ch] &amp;&amp;
[80d6d7d5]74
[7a218fa]75make LOCKINGTEST=/tmp MANDIR=/usr/share/man install &amp;&amp;
[97063a43]76make install-suid</userinput></screen>
[e6f1fd6]77
[97063a43]78 </sect2>
[e6f1fd6]79
[97063a43]80 <sect2 role="commands">
[e3353b3]81 <title>Command Explanations</title>
[e6f1fd6]82
[191ae95]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
[f314186c]87 <para><command>make LOCKINGTEST=/tmp install</command>: This prevents
88 <command>make</command> from asking you where to test file-locking
[97063a43]89 patterns.</para>
[e6f1fd6]90
[97063a43]91 <para><command>make install-suid</command>: Modifies permissions of
92 the installed files.</para>
[e6f1fd6]93
[97063a43]94 </sect2>
[e6f1fd6]95
[97063a43]96 <sect2 role="configuration">
97 <title>Configuring Procmail</title>
[e6f1fd6]98
[97063a43]99 <sect3 id="procmail-config">
[e3353b3]100 <title>Config Files</title>
[e6f1fd6]101
[f314186c]102 <para><filename>/etc/procmailrc</filename> and
[97063a43]103 <filename>~/.procmailrc</filename></para>
[e6f1fd6]104
[97063a43]105 <indexterm zone="procmail procmail-config">
106 <primary sortas="e-AA.procmailrc">~/.procmailrc</primary>
107 </indexterm>
[e6f1fd6]108
[97063a43]109 <indexterm zone="procmail procmail-config">
110 <primary sortas="e-etc-procmailrc">/etc/procmailrc</primary>
111 </indexterm>
[e6f1fd6]112
[97063a43]113 </sect3>
[e6f1fd6]114
[97063a43]115 <sect3>
116 <title>Configuration Information</title>
[e6f1fd6]117
[a41f643]118 <para>Recipes have to be written and placed in
[e3353b3]119 <filename>~/.procmailrc</filename> for execution. The procmailex man
[0a4d3456]120 page is the starting place to learn how to write recipes.
121 For additional information, see also
[f47c5167]122 <ulink url="http://pm-doc.sourceforge.net/"/>.
[0a4d3456]123 </para>
[e6f1fd6]124
[97063a43]125 </sect3>
[e6f1fd6]126
[97063a43]127 </sect2>
[e6f1fd6]128
[97063a43]129 <sect2 role="content">
130 <title>Contents</title>
[e6f1fd6]131
[97063a43]132 <segmentedlist>
133 <segtitle>Installed Programs</segtitle>
134 <segtitle>Installed Libraries</segtitle>
135 <segtitle>Installed Directories</segtitle>
[e6f1fd6]136
[97063a43]137 <seglistitem>
138 <seg>formail, lockfile, mailstat and procmail</seg>
139 <seg>None</seg>
140 <seg>None</seg>
141 </seglistitem>
142 </segmentedlist>
[e6f1fd6]143
[97063a43]144 <variablelist>
145 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
146 <?dbfo list-presentation="list"?>
147 <?dbhtml list-presentation="table"?>
[e6f1fd6]148
[97063a43]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>
[e6f1fd6]158
[97063a43]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>
[e6f1fd6]169
[97063a43]170 <varlistentry id="mailstat">
171 <term><command>mailstat</command></term>
172 <listitem>
[f314186c]173 <para>prints a summary report of mail that has been filtered by
[e6f1fd6]174 <command>procmail</command> since the last time <command>mailstat</command>
[97063a43]175 was ran.</para>
176 <indexterm zone="procmail mailstat">
177 <primary sortas="b-mailstat">mailstat</primary>
178 </indexterm>
179 </listitem>
180 </varlistentry>
[e6f1fd6]181
[97063a43]182 <varlistentry id="procmail-prog">
183 <term><command>procmail</command></term>
184 <listitem>
[f314186c]185 <para>is an autonomous mail processor. It performs all the functions
[97063a43]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>
[e6f1fd6]193
[97063a43]194 </sect2>
[e6f1fd6]195
[f45b1953]196</sect1>
197
Note: See TracBrowser for help on using the repository browser.