source: networking/mailnews/procmail.xml@ 9b05403

12.2 gimp3 lazarus trunk xry111/for-12.3 xry111/spidermonkey128
Last change on this file since 9b05403 was 3ded3127, checked in by Douglas R. Reno <renodr@…>, 3 months ago

Update to procmail-3.24 and adjust it to build with GCC-14.

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