source: networking/mailnews/procmail.xml@ 32dfda12

elogind
Last change on this file since 32dfda12 was 32dfda12, checked in by DJ Lucas <dj@…>, 5 years ago

Merge from HEAD at 20830

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

  • Property mode set to 100644
File size: 7.0 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
[32dfda12]7<!-- <!ENTITY procmail-download-http "http://www.ring.gr.jp/archives/net/mail/procmail/procmail-&procmail-version;.tar.gz"> -->
8 <!ENTITY procmail-download-http "http://ftp.osuosl.org/pub/blfs/conglomeration/procmail/procmail-&procmail-version;.tar.gz">
[2470be2d]9 <!ENTITY procmail-download-ftp " ">
10 <!-- <!ENTITY procmail-download-ftp "ftp://ftp.informatik.rwth-aachen.de/pub/packages/procmail/procmail-&procmail-version;.tar.gz"> -->
[55c657e]11 <!ENTITY procmail-md5sum "1678ea99b973eb77eda4ecf6acae53f1">
[d45e8c9]12 <!ENTITY procmail-size "226 KB">
13 <!ENTITY procmail-buildsize "1.7 MB">
[475078b]14 <!ENTITY procmail-time "less than 0.1 SBU">
[bfe245f]15]>
16
[1708d1e9]17<sect1 id="procmail" xreflabel="Procmail-&procmail-version;">
[97063a43]18 <?dbhtml filename="procmail.html"?>
[e6f1fd6]19
[97063a43]20 <sect1info>
21 <othername>$LastChangedBy$</othername>
22 <date>$Date$</date>
23 </sect1info>
[e6f1fd6]24
[97063a43]25 <title>Procmail-&procmail-version;</title>
[e6f1fd6]26
[97063a43]27 <indexterm zone="procmail">
28 <primary sortas="a-Procmail">Procmail</primary>
29 </indexterm>
[e6f1fd6]30
[97063a43]31 <sect2 role="package">
32 <title>Introduction to Procmail</title>
[e6f1fd6]33
[f314186c]34 <para>The <application>Procmail</application> package contains an autonomous
[97063a43]35 mail processor. This is useful for filtering and sorting incoming mail.</para>
[e6f1fd6]36
[a3c6f028]37 &lfs83_checked;
[d4796f8b]38
[97063a43]39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing='compact'>
41 <listitem>
42 <para>Download (HTTP): <ulink url="&procmail-download-http;"/></para>
43 </listitem>
44 <listitem>
45 <para>Download (FTP): <ulink url="&procmail-download-ftp;"/></para>
46 </listitem>
47 <listitem>
48 <para>Download MD5 sum: &procmail-md5sum;</para>
49 </listitem>
50 <listitem>
51 <para>Download size: &procmail-size;</para>
52 </listitem>
53 <listitem>
54 <para>Estimated disk space required: &procmail-buildsize;</para>
55 </listitem>
56 <listitem>
57 <para>Estimated build time: &procmail-time;</para>
58 </listitem>
59 </itemizedlist>
[e6f1fd6]60
[ae60b0dd]61 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
62 <itemizedlist spacing="compact">
63 <listitem>
64 <para>
65 Required patch:
66 <ulink url="&patch-root;/procmail-&procmail-version;-consolidated_fixes-1.patch"/>
67 </para>
68 </listitem>
69 </itemizedlist>
70
[730a1810]71 <bridgehead renderas="sect3">Procmail Dependencies</bridgehead>
72
73 <bridgehead renderas="sect4">Recommended</bridgehead>
74 <para role="recommended">
[beb65db]75 A <xref linkend="server-mail"/> that installs sendmail
[730a1810]76 </para>
77
[061ec9d]78 <para condition="html" role="usernotes">User Notes:
79 <ulink url="&blfs-wiki;/procmail"/></para>
80
[97063a43]81 </sect2>
[e6f1fd6]82
[97063a43]83 <sect2 role="installation">
84 <title>Installation of Procmail</title>
[e6f1fd6]85
[5b06328]86 <para>This package does not come with a test suite.</para>
87
[f314186c]88 <para>Install <application>Procmail</application> by running the following
[97063a43]89 commands as the <systemitem class="username">root</systemitem> user:</para>
[e6f1fd6]90
[ae60b0dd]91<screen role='root'><userinput>sed -i 's/getline/get_line/' src/*.[ch] &amp;&amp;
92patch -Np1 -i ../procmail-&procmail-version;-consolidated_fixes-1.patch &amp;&amp;
[80d6d7d5]93
[ae60b0dd]94make LOCKINGTEST=/tmp MANDIR=/usr/share/man install &amp;&amp;
[97063a43]95make install-suid</userinput></screen>
[e6f1fd6]96
[97063a43]97 </sect2>
[e6f1fd6]98
[97063a43]99 <sect2 role="commands">
[e3353b3]100 <title>Command Explanations</title>
[e6f1fd6]101
[191ae95]102 <para><command>sed -i 's/getline/get_line/' src/*.[ch]</command>: This renames
103 procmail's getline function to avoid conflict with the getline function from
104 <application>glibc</application>.</para>
105
[f314186c]106 <para><command>make LOCKINGTEST=/tmp install</command>: This prevents
107 <command>make</command> from asking you where to test file-locking
[97063a43]108 patterns.</para>
[e6f1fd6]109
[97063a43]110 <para><command>make install-suid</command>: Modifies permissions of
111 the installed files.</para>
[e6f1fd6]112
[97063a43]113 </sect2>
[e6f1fd6]114
[97063a43]115 <sect2 role="configuration">
116 <title>Configuring Procmail</title>
[e6f1fd6]117
[97063a43]118 <sect3 id="procmail-config">
[e3353b3]119 <title>Config Files</title>
[e6f1fd6]120
[f314186c]121 <para><filename>/etc/procmailrc</filename> and
[97063a43]122 <filename>~/.procmailrc</filename></para>
[e6f1fd6]123
[97063a43]124 <indexterm zone="procmail procmail-config">
125 <primary sortas="e-AA.procmailrc">~/.procmailrc</primary>
126 </indexterm>
[e6f1fd6]127
[97063a43]128 <indexterm zone="procmail procmail-config">
129 <primary sortas="e-etc-procmailrc">/etc/procmailrc</primary>
130 </indexterm>
[e6f1fd6]131
[97063a43]132 </sect3>
[e6f1fd6]133
[97063a43]134 <sect3>
135 <title>Configuration Information</title>
[e6f1fd6]136
[a41f643]137 <para>Recipes have to be written and placed in
[e3353b3]138 <filename>~/.procmailrc</filename> for execution. The procmailex man
[0a4d3456]139 page is the starting place to learn how to write recipes.
140 For additional information, see also
[f47c5167]141 <ulink url="http://pm-doc.sourceforge.net/"/>.
[0a4d3456]142 </para>
[e6f1fd6]143
[97063a43]144 </sect3>
[e6f1fd6]145
[97063a43]146 </sect2>
[e6f1fd6]147
[97063a43]148 <sect2 role="content">
149 <title>Contents</title>
[e6f1fd6]150
[97063a43]151 <segmentedlist>
152 <segtitle>Installed Programs</segtitle>
153 <segtitle>Installed Libraries</segtitle>
154 <segtitle>Installed Directories</segtitle>
[e6f1fd6]155
[97063a43]156 <seglistitem>
157 <seg>formail, lockfile, mailstat and procmail</seg>
158 <seg>None</seg>
159 <seg>None</seg>
160 </seglistitem>
161 </segmentedlist>
[e6f1fd6]162
[97063a43]163 <variablelist>
164 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
165 <?dbfo list-presentation="list"?>
166 <?dbhtml list-presentation="table"?>
[e6f1fd6]167
[97063a43]168 <varlistentry id="formail">
169 <term><command>formail</command></term>
170 <listitem>
171 <para>is a filter that can be used to format mail into mailbox format.</para>
172 <indexterm zone="procmail formail">
173 <primary sortas="b-formail">formail</primary>
174 </indexterm>
175 </listitem>
176 </varlistentry>
[e6f1fd6]177
[97063a43]178 <varlistentry id="lockfile">
179 <term><command>lockfile</command></term>
180 <listitem>
181 <para>is a utility that can lock a file for single use interactively or in a
182 script.</para>
183 <indexterm zone="procmail lockfile">
184 <primary sortas="b-lockfile">lockfile</primary>
185 </indexterm>
186 </listitem>
187 </varlistentry>
[e6f1fd6]188
[97063a43]189 <varlistentry id="mailstat">
190 <term><command>mailstat</command></term>
191 <listitem>
[f314186c]192 <para>prints a summary report of mail that has been filtered by
[e6f1fd6]193 <command>procmail</command> since the last time <command>mailstat</command>
[97063a43]194 was ran.</para>
195 <indexterm zone="procmail mailstat">
196 <primary sortas="b-mailstat">mailstat</primary>
197 </indexterm>
198 </listitem>
199 </varlistentry>
[e6f1fd6]200
[97063a43]201 <varlistentry id="procmail-prog">
202 <term><command>procmail</command></term>
203 <listitem>
[f314186c]204 <para>is an autonomous mail processor. It performs all the functions
[97063a43]205 of an MDA (Mail Delivery Agent).</para>
206 <indexterm zone="procmail procmail-prog">
207 <primary sortas="b-procmail">procmail</primary>
208 </indexterm>
209 </listitem>
210 </varlistentry>
211 </variablelist>
[e6f1fd6]212
[97063a43]213 </sect2>
[e6f1fd6]214
[f45b1953]215</sect1>
216
Note: See TracBrowser for help on using the repository browser.