source: networking/mailnews/fetchmail.xml@ 428fb71

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

fetchmail: fixups for the patch.

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

  • Property mode set to 100644
File size: 6.8 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
[d92abe56]7 <!ENTITY fetchmail-download-http "&sourceforge-repo;/fetchmail/fetchmail-&fetchmail-version;.tar.xz">
[ae0f6ec0]8 <!--<!ENTITY fetchmail-download-ftp "ftp://ftp.at.gnucash.org/pub/infosys/mail/fetchmail/fetchmail-&fetchmail-version;.tar.xz">-->
9 <!ENTITY fetchmail-download-ftp " ">
[c48bc3ba]10 <!ENTITY fetchmail-md5sum "61b66faad044afa26e142bb1791aa2b3">
[06f76d2c]11 <!ENTITY fetchmail-size "1.2 MB">
[c48bc3ba]12 <!ENTITY fetchmail-buildsize "14 MB">
[d8a1fe81]13 <!ENTITY fetchmail-time "0.1 SBU">
[bfe245f]14]>
15
[31784c8]16<sect1 id="fetchmail" xreflabel="fetchmail-&fetchmail-version;">
[3bac165]17 <?dbhtml filename="fetchmail.html"?>
[481b3e8]18
[3bac165]19 <sect1info>
20 <othername>$LastChangedBy$</othername>
21 <date>$Date$</date>
22 </sect1info>
[481b3e8]23
[3bac165]24 <title>Fetchmail-&fetchmail-version;</title>
[481b3e8]25
[3bac165]26 <indexterm zone="fetchmail">
27 <primary sortas="a-Fetchmail">Fetchmail</primary>
28 </indexterm>
[481b3e8]29
[3bac165]30 <sect2 role="package">
31 <title>Introduction to Fetchmail</title>
[481b3e8]32
[3bac165]33 <para>The <application>Fetchmail</application> package contains a mail
[876ad7f]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>
[481b3e8]37
[86c1072]38 &lfs80_checked;
[06f76d2c]39
[3bac165]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>
[481b3e8]61
[a4f37269]62 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
63 <itemizedlist spacing="compact">
64 <listitem>
[428fb71]65 <para>Required patch: <ulink
66 url="&patch-root;/fetchmail-&fetchmail-version;-disable_sslv3-1.patch"/></para>
[a4f37269]67 </listitem>
68 </itemizedlist>
69
[3bac165]70 <bridgehead renderas="sect3">Fetchmail Dependencies</bridgehead>
[481b3e8]71
[d92abe56]72 <bridgehead renderas="sect4">Recommended</bridgehead>
73 <para role="recommended">
[f3429309]74 <xref linkend="openssl"/> and
[c48bc3ba]75 a local MDA (<xref linkend="procmail"/>)
76 </para>
[481b3e8]77
[3bac165]78 <bridgehead renderas="sect4">Optional</bridgehead>
[c48bc3ba]79 <para role="optional">
[f3429309]80 <xref linkend="python2"/> and
[c48bc3ba]81 <xref linkend="tk"/>
82 </para>
[481b3e8]83
[061ec9d]84 <para condition="html" role="usernotes">User Notes:
85 <ulink url="&blfs-wiki;/fetchmail"/></para>
86
[3bac165]87 </sect2>
[481b3e8]88
[3bac165]89 <sect2 role="installation">
90 <title>Installation of Fetchmail</title>
[481b3e8]91
92 <para>Install <application>Fetchmail</application> by running the following
[3bac165]93 commands:</para>
[481b3e8]94
[428fb71]95<screen><userinput>patch -Np1 -i ../fetchmail-&fetchmail-version;-disable_sslv3-1.patch &amp;&amp;
[a4f37269]96./configure --prefix=/usr --with-ssl --enable-fallback=procmail &amp;&amp;
[46441976]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>
[481b3e8]104
[3bac165]105 </sect2>
[481b3e8]106
[3bac165]107 <sect2 role="commands">
[e3353b3]108 <title>Command Explanations</title>
[481b3e8]109
[876ad7f]110 <para><parameter>--with-ssl</parameter>: This enables SSL support, so that
[3bac165]111 you can handle connections to secure POP3 and IMAP servers.</para>
[481b3e8]112
[3bac165]113 <para><parameter>--enable-fallback=procmail</parameter>: This tells
114 <application>Fetchmail</application> to hand incoming mail to
[876ad7f]115 <application>Procmail</application> for delivery, if the port 25 mail server is
[3bac165]116 not present or not responding.</para>
[481b3e8]117
[3bac165]118 </sect2>
[481b3e8]119
[3bac165]120 <sect2 role="configuration">
121 <title>Configuring Fetchmail</title>
[481b3e8]122
[3bac165]123 <sect3 id="fetchmail-config">
[e3353b3]124 <title>Config Files</title>
[481b3e8]125
[3bac165]126 <para><filename>~/.fetchmailrc</filename></para>
[481b3e8]127
[3bac165]128 <indexterm zone="fetchmail fetchmail-config">
129 <primary sortas="e-AA.fetchmailrc">~/.fetchmailrc</primary>
130 </indexterm>
[481b3e8]131
[3bac165]132 </sect3>
[481b3e8]133
[3bac165]134 <sect3>
135 <title>Configuration Information</title>
[481b3e8]136
[3bac165]137<screen><userinput>cat &gt; ~/.fetchmailrc &lt;&lt; "EOF"
138<literal>set logfile /var/log/fetchmail.log
[bfe245f]139set no bouncemail
140set postmaster root
[481b3e8]141
142poll SERVERNAME :
[061ec9d]143 user <replaceable>&lt;username&gt;</replaceable> pass <replaceable>&lt;password&gt;</replaceable>;
[3bac165]144 mda "/usr/bin/procmail -f %F -d %T";</literal>
145EOF
[481b3e8]146
[e3353b3]147chmod -v 0600 ~/.fetchmailrc</userinput></screen>
[481b3e8]148
149 <para>This is an example configuration that should suffice for most people.
[3bac165]150 You can add as many users and servers as you need using the same syntax.</para>
[481b3e8]151
[c48bc3ba]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>
[481b3e8]156
[3bac165]157 </sect3>
[481b3e8]158
[3bac165]159 </sect2>
[481b3e8]160
[3bac165]161 <sect2 role="content">
162 <title>Contents</title>
[481b3e8]163
[3bac165]164 <segmentedlist>
[832d359b]165 <segtitle>Installed Programs</segtitle>
[3bac165]166 <segtitle>Installed Libraries</segtitle>
167 <segtitle>Installed Directories</segtitle>
[481b3e8]168
[3bac165]169 <seglistitem>
170 <seg>fetchmail and fetchmailconf</seg>
171 <seg>None</seg>
[46441976]172 <seg>None</seg>
[3bac165]173 </seglistitem>
174 </segmentedlist>
[481b3e8]175
[3bac165]176 <variablelist>
177 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
178 <?dbfo list-presentation="list"?>
179 <?dbhtml list-presentation="table"?>
[481b3e8]180
[3bac165]181 <varlistentry id="fetchmail-prog">
182 <term><command>fetchmail</command></term>
183 <listitem>
[876ad7f]184 <para>when executed as a user, this will source
185 <filename>~/.fetchmailrc</filename> and download the appropriate mail.
186 </para>
[3bac165]187 <indexterm zone="fetchmail fetchmail-prog">
188 <primary sortas="b-fetchmail">fetchmail</primary>
189 </indexterm>
190 </listitem>
191 </varlistentry>
[481b3e8]192
[3bac165]193 <varlistentry id="fetchmailconf">
194 <term><command>fetchmailconf</command></term>
195 <listitem>
[876ad7f]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
[3bac165]200 available.</para>
201 <indexterm zone="fetchmail fetchmailconf">
202 <primary sortas="b-fetchmailconf">fetchmailconf</primary>
203 </indexterm>
204 </listitem>
205 </varlistentry>
[481b3e8]206
[3bac165]207 </variablelist>
[481b3e8]208
[3bac165]209 </sect2>
[481b3e8]210
[f45b1953]211</sect1>
Note: See TracBrowser for help on using the repository browser.