source: networking/mailnews/fetchmail.xml@ a4f37269

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 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 a4f37269 was a4f37269, checked in by DJ Lucas <dj@…>, 7 years ago

Update to OpenSSL-1.1.0f. Fixes #8214.
Update to OpenSSL Libraries 1.0.2l. Fixes #9282.
Remove Re-alpine and raplaced with Alpine-2.21.

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

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