source: basicnet/mailnews/fetchmail.xml@ 33dfa22

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 33dfa22 was 33dfa22, checked in by Ken Moffat <ken@…>, 16 years ago

Patch fetchmail for known vulnerabilities.

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

  • Property mode set to 100644
File size: 6.7 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 fetchmail-download-http "http://download2.berlios.de/fetchmail/fetchmail-&fetchmail-version;.tar.bz2">
8 <!ENTITY fetchmail-download-ftp "&gentoo-ftp-repo;/fetchmail-&fetchmail-version;.tar.bz2">
9 <!ENTITY fetchmail-md5sum "66b97500b0a1e3c0916b3b5314f597f5">
10 <!ENTITY fetchmail-size "1.3 MB">
11 <!ENTITY fetchmail-buildsize "8.9 MB">
12 <!ENTITY fetchmail-time "0.1 SBU">
13]>
14
15<sect1 id="fetchmail" xreflabel="Fetchmail">
16 <?dbhtml filename="fetchmail.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>Fetchmail-&fetchmail-version;</title>
24
25 <indexterm zone="fetchmail">
26 <primary sortas="a-Fetchmail">Fetchmail</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to Fetchmail</title>
31
32 <para>The <application>Fetchmail</application> package contains a mail
33 retrieval program. It retrieves mail from remote mail servers and
34 forwards it to the local (client) machine's delivery system, so it can then be
35 read by normal mail user agents.</para>
36
37 <bridgehead renderas="sect3">Package Information</bridgehead>
38 <itemizedlist spacing='compact'>
39 <listitem>
40 <para>Download (HTTP): <ulink url="&fetchmail-download-http;"/></para>
41 </listitem>
42 <listitem>
43 <para>Download (FTP): <ulink url="&fetchmail-download-ftp;"/></para>
44 </listitem>
45 <listitem>
46 <para>Download MD5 sum: &fetchmail-md5sum;</para>
47 </listitem>
48 <listitem>
49 <para>Download size: &fetchmail-size;</para>
50 </listitem>
51 <listitem>
52 <para>Estimated disk space required: &fetchmail-buildsize;</para>
53 </listitem>
54 <listitem>
55 <para>Estimated build time: &fetchmail-time;</para>
56 </listitem>
57 </itemizedlist>
58
59 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
60 <itemizedlist spacing='compact'>
61 <listitem>
62 <para>Required Patch: <ulink
63 url="&patch-root;/fetchmail-&fetchmail-version;-security_fixes-1.patch"/></para>
64 </listitem>
65 </itemizedlist>
66
67 <bridgehead renderas="sect3">Fetchmail Dependencies</bridgehead>
68
69 <bridgehead renderas="sect4">Required</bridgehead>
70 <para role="required"><xref linkend="openssl"/> and a local MDA
71 (<xref linkend="procmail"/>)</para>
72
73 <bridgehead renderas="sect4">Optional</bridgehead>
74 <para role="optional"><xref linkend="python"/> and <xref linkend="tk"/></para>
75
76 <para condition="html" role="usernotes">User Notes:
77 <ulink url="&blfs-wiki;/fetchmail"/></para>
78
79 </sect2>
80
81 <sect2 role="installation">
82 <title>Installation of Fetchmail</title>
83
84 <para>Install <application>Fetchmail</application> by running the following
85 commands:</para>
86
87<screen><userinput>patch -Np1 -i ../fetchmail-&fetchmail-version;-security_fixes-1.patch &amp;&amp;
88./configure --prefix=/usr --with-ssl --enable-fallback=procmail &amp;&amp;
89make</userinput></screen>
90
91 <para>This package does not come with a test suite.</para>
92
93 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
94
95<screen role='root'><userinput>make install</userinput></screen>
96
97 </sect2>
98
99 <sect2 role="commands">
100 <title>Command Explanations</title>
101
102 <para><parameter>--with-ssl</parameter>: This enables SSL support, so that
103 you can handle connections to secure POP3 and IMAP servers.</para>
104
105 <para><parameter>--enable-fallback=procmail</parameter>: This tells
106 <application>Fetchmail</application> to hand incoming mail to
107 <application>Procmail</application> for delivery, if the port 25 mail server is
108 not present or not responding.</para>
109
110 </sect2>
111
112 <sect2 role="configuration">
113 <title>Configuring Fetchmail</title>
114
115 <sect3 id="fetchmail-config">
116 <title>Config Files</title>
117
118 <para><filename>~/.fetchmailrc</filename></para>
119
120 <indexterm zone="fetchmail fetchmail-config">
121 <primary sortas="e-AA.fetchmailrc">~/.fetchmailrc</primary>
122 </indexterm>
123
124 </sect3>
125
126 <sect3>
127 <title>Configuration Information</title>
128
129<screen><userinput>cat &gt; ~/.fetchmailrc &lt;&lt; "EOF"
130<literal>set logfile /var/log/fetchmail.log
131set no bouncemail
132set postmaster root
133
134poll SERVERNAME :
135 user <replaceable>&lt;username&gt;</replaceable> pass <replaceable>&lt;password&gt;</replaceable>;
136 mda "/usr/bin/procmail -f %F -d %T";</literal>
137EOF
138
139chmod -v 0600 ~/.fetchmailrc</userinput></screen>
140
141 <para>This is an example configuration that should suffice for most people.
142 You can add as many users and servers as you need using the same syntax.</para>
143
144 <para><command>man fetchmail</command>: Look for the section near
145 the bottom named <emphasis>CONFIGURATION EXAMPLES</emphasis>. It
146 gives some quick examples. There are countless other config options once
147 you get used to it.</para>
148
149 </sect3>
150
151 </sect2>
152
153 <sect2 role="content">
154 <title>Contents</title>
155
156 <segmentedlist>
157 <segtitle>Installed Program</segtitle>
158 <segtitle>Installed Libraries</segtitle>
159 <segtitle>Installed Directories</segtitle>
160
161 <seglistitem>
162 <seg>fetchmail and fetchmailconf</seg>
163 <seg>None</seg>
164 <seg>None</seg>
165 </seglistitem>
166 </segmentedlist>
167
168 <variablelist>
169 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
170 <?dbfo list-presentation="list"?>
171 <?dbhtml list-presentation="table"?>
172
173 <varlistentry id="fetchmail-prog">
174 <term><command>fetchmail</command></term>
175 <listitem>
176 <para>when executed as a user, this will source
177 <filename>~/.fetchmailrc</filename> and download the appropriate mail.
178 </para>
179 <indexterm zone="fetchmail fetchmail-prog">
180 <primary sortas="b-fetchmail">fetchmail</primary>
181 </indexterm>
182 </listitem>
183 </varlistentry>
184
185 <varlistentry id="fetchmailconf">
186 <term><command>fetchmailconf</command></term>
187 <listitem>
188 <para>it will assist you in setting up and editing a
189 <filename>~/.fetchmailrc</filename> configuration file, by using
190 a <application>Tk</application> GUI interface. It requires
191 <application>Python</application> and it must have the Tkinker module
192 available.</para>
193 <indexterm zone="fetchmail fetchmailconf">
194 <primary sortas="b-fetchmailconf">fetchmailconf</primary>
195 </indexterm>
196 </listitem>
197 </varlistentry>
198
199 </variablelist>
200
201 </sect2>
202
203</sect1>
Note: See TracBrowser for help on using the repository browser.