source: networking/mailnews/fetchmail.xml@ 79434a7

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

Tags

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@19105 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 "&sourceforge-dl;/fetchmail/fetchmail-&fetchmail-version;.tar.xz">
8 <!ENTITY fetchmail-download-ftp " ">
9 <!ENTITY fetchmail-md5sum "61b66faad044afa26e142bb1791aa2b3">
10 <!ENTITY fetchmail-size "1.2 MB">
11 <!ENTITY fetchmail-buildsize "14 MB">
12 <!ENTITY fetchmail-time "0.1 SBU">
13]>
14
15<sect1 id="fetchmail" xreflabel="fetchmail-&fetchmail-version;">
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 &lfs81_checked;
38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing='compact'>
41 <listitem>
42 <para>Download (HTTP): <ulink url="&fetchmail-download-http;"/></para>
43 </listitem>
44 <listitem>
45 <para>Download (FTP): <ulink url="&fetchmail-download-ftp;"/></para>
46 </listitem>
47 <listitem>
48 <para>Download MD5 sum: &fetchmail-md5sum;</para>
49 </listitem>
50 <listitem>
51 <para>Download size: &fetchmail-size;</para>
52 </listitem>
53 <listitem>
54 <para>Estimated disk space required: &fetchmail-buildsize;</para>
55 </listitem>
56 <listitem>
57 <para>Estimated build time: &fetchmail-time;</para>
58 </listitem>
59 </itemizedlist>
60
61 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
62 <itemizedlist spacing="compact">
63 <listitem>
64 <para>Required patch: <ulink
65 url="&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_sslv3-1.patch &amp;&amp;
95./configure --prefix=/usr --with-ssl --enable-fallback=procmail &amp;&amp;
96make</userinput></screen>
97
98 <para>This package does not come with a test suite.</para>
99
100 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
101
102<screen role='root'><userinput>make install</userinput></screen>
103
104 </sect2>
105
106 <sect2 role="commands">
107 <title>Command Explanations</title>
108
109 <para><parameter>--with-ssl</parameter>: This enables SSL support, so that
110 you can handle connections to secure POP3 and IMAP servers.</para>
111
112 <para><parameter>--enable-fallback=procmail</parameter>: This tells
113 <application>Fetchmail</application> to hand incoming mail to
114 <application>Procmail</application> for delivery, if the port 25 mail server is
115 not present or not responding.</para>
116
117 </sect2>
118
119 <sect2 role="configuration">
120 <title>Configuring Fetchmail</title>
121
122 <sect3 id="fetchmail-config">
123 <title>Config Files</title>
124
125 <para><filename>~/.fetchmailrc</filename></para>
126
127 <indexterm zone="fetchmail fetchmail-config">
128 <primary sortas="e-AA.fetchmailrc">~/.fetchmailrc</primary>
129 </indexterm>
130
131 </sect3>
132
133 <sect3>
134 <title>Configuration Information</title>
135
136<screen><userinput>cat &gt; ~/.fetchmailrc &lt;&lt; "EOF"
137<literal>set logfile /var/log/fetchmail.log
138set no bouncemail
139set postmaster root
140
141poll SERVERNAME :
142 user <replaceable>&lt;username&gt;</replaceable> pass <replaceable>&lt;password&gt;</replaceable>;
143 mda "/usr/bin/procmail -f %F -d %T";</literal>
144EOF
145
146chmod -v 0600 ~/.fetchmailrc</userinput></screen>
147
148 <para>This is an example configuration that should suffice for most people.
149 You can add as many users and servers as you need using the same syntax.</para>
150
151 <para><command>man fetchmail</command>: Look for the section near the
152 bottom named <emphasis>CONFIGURATION EXAMPLES</emphasis>. It gives some
153 quick examples. There are countless other configuration options once you
154 get used to it.</para>
155
156 </sect3>
157
158 </sect2>
159
160 <sect2 role="content">
161 <title>Contents</title>
162
163 <segmentedlist>
164 <segtitle>Installed Programs</segtitle>
165 <segtitle>Installed Libraries</segtitle>
166 <segtitle>Installed Directories</segtitle>
167
168 <seglistitem>
169 <seg>fetchmail and fetchmailconf</seg>
170 <seg>None</seg>
171 <seg>None</seg>
172 </seglistitem>
173 </segmentedlist>
174
175 <variablelist>
176 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
177 <?dbfo list-presentation="list"?>
178 <?dbhtml list-presentation="table"?>
179
180 <varlistentry id="fetchmail-prog">
181 <term><command>fetchmail</command></term>
182 <listitem>
183 <para>when executed as a user, this will source
184 <filename>~/.fetchmailrc</filename> and download the appropriate mail.
185 </para>
186 <indexterm zone="fetchmail fetchmail-prog">
187 <primary sortas="b-fetchmail">fetchmail</primary>
188 </indexterm>
189 </listitem>
190 </varlistentry>
191
192 <varlistentry id="fetchmailconf">
193 <term><command>fetchmailconf</command></term>
194 <listitem>
195 <para>it will assist you in setting up and editing a
196 <filename>~/.fetchmailrc</filename> configuration file, by using
197 a <application>Tk</application> GUI interface. It requires
198 <application>Python</application> and it must have the Tkinker module
199 available.</para>
200 <indexterm zone="fetchmail fetchmailconf">
201 <primary sortas="b-fetchmailconf">fetchmailconf</primary>
202 </indexterm>
203 </listitem>
204 </varlistentry>
205
206 </variablelist>
207
208 </sect2>
209
210</sect1>
Note: See TracBrowser for help on using the repository browser.