[bfe245f] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[ff769b8c] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[bfe245f] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY fetchmail-download-http "http://www.catb.org/~esr/fetchmail/fetchmail-&fetchmail-version;.tar.gz">
|
---|
| 8 | <!ENTITY fetchmail-download-ftp "ftp://gnome.dti.ad.jp/.1/unix/net/mail/fetchmail/fetchmail-&fetchmail-version;.tar.gz">
|
---|
[55c657e] | 9 | <!ENTITY fetchmail-md5sum "9956b30139edaa4f5f77c4d0dbd80225">
|
---|
[bfe245f] | 10 | <!ENTITY fetchmail-size "1.2 MB">
|
---|
| 11 | <!ENTITY fetchmail-buildsize "5.8 MB">
|
---|
| 12 | <!ENTITY fetchmail-time "0.14 SBU">
|
---|
| 13 | ]>
|
---|
| 14 |
|
---|
[1708d1e9] | 15 | <sect1 id="fetchmail" xreflabel="Fetchmail">
|
---|
[3bac165] | 16 | <?dbhtml filename="fetchmail.html"?>
|
---|
[481b3e8] | 17 |
|
---|
[3bac165] | 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
[481b3e8] | 22 |
|
---|
[3bac165] | 23 | <title>Fetchmail-&fetchmail-version;</title>
|
---|
[481b3e8] | 24 |
|
---|
[3bac165] | 25 | <indexterm zone="fetchmail">
|
---|
| 26 | <primary sortas="a-Fetchmail">Fetchmail</primary>
|
---|
| 27 | </indexterm>
|
---|
[481b3e8] | 28 |
|
---|
[3bac165] | 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to Fetchmail</title>
|
---|
[481b3e8] | 31 |
|
---|
[3bac165] | 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 your local (client) machine's delivery system, so it can then be
|
---|
| 35 | read by normal mail user agents." </para>
|
---|
[481b3e8] | 36 |
|
---|
[3bac165] | 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>
|
---|
[481b3e8] | 58 |
|
---|
[3bac165] | 59 | <bridgehead renderas="sect3">Fetchmail Dependencies</bridgehead>
|
---|
[481b3e8] | 60 |
|
---|
[3bac165] | 61 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 62 | <para><xref linkend="openssl"/> and a local MDA (<xref linkend="procmail"/>)</para>
|
---|
[481b3e8] | 63 |
|
---|
[3bac165] | 64 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 65 | <para><xref linkend="python"/> and <xref linkend="tk"/></para>
|
---|
[481b3e8] | 66 |
|
---|
[3bac165] | 67 | </sect2>
|
---|
[481b3e8] | 68 |
|
---|
[3bac165] | 69 | <sect2 role="installation">
|
---|
| 70 | <title>Installation of Fetchmail</title>
|
---|
[481b3e8] | 71 |
|
---|
| 72 | <para>Install <application>Fetchmail</application> by running the following
|
---|
[3bac165] | 73 | commands:</para>
|
---|
[481b3e8] | 74 |
|
---|
[3bac165] | 75 | <screen><userinput>./configure --prefix=/usr --with-ssl --enable-fallback=procmail &&
|
---|
[46441976] | 76 | make</userinput></screen>
|
---|
| 77 |
|
---|
| 78 | <para>This package does not come with a test suite.</para>
|
---|
| 79 |
|
---|
| 80 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 81 |
|
---|
| 82 | <screen role='root'><userinput>make install</userinput></screen>
|
---|
[481b3e8] | 83 |
|
---|
[3bac165] | 84 | </sect2>
|
---|
[481b3e8] | 85 |
|
---|
[3bac165] | 86 | <sect2 role="commands">
|
---|
[e3353b3] | 87 | <title>Command Explanations</title>
|
---|
[481b3e8] | 88 |
|
---|
| 89 | <para><parameter>--with-ssl</parameter>: This enables SSL if found, so that
|
---|
[3bac165] | 90 | you can handle connections to secure POP3 and IMAP servers.</para>
|
---|
[481b3e8] | 91 |
|
---|
[3bac165] | 92 | <para><parameter>--enable-fallback=procmail</parameter>: This tells
|
---|
| 93 | <application>Fetchmail</application> to hand incoming mail to
|
---|
| 94 | <application>Procmail</application> for delivery if your port 25 mail server is
|
---|
| 95 | not present or not responding.</para>
|
---|
[481b3e8] | 96 |
|
---|
[3bac165] | 97 | </sect2>
|
---|
[481b3e8] | 98 |
|
---|
[3bac165] | 99 | <sect2 role="configuration">
|
---|
| 100 | <title>Configuring Fetchmail</title>
|
---|
[481b3e8] | 101 |
|
---|
[3bac165] | 102 | <sect3 id="fetchmail-config">
|
---|
[e3353b3] | 103 | <title>Config Files</title>
|
---|
[481b3e8] | 104 |
|
---|
[3bac165] | 105 | <para><filename>~/.fetchmailrc</filename></para>
|
---|
[481b3e8] | 106 |
|
---|
[3bac165] | 107 | <indexterm zone="fetchmail fetchmail-config">
|
---|
| 108 | <primary sortas="e-AA.fetchmailrc">~/.fetchmailrc</primary>
|
---|
| 109 | </indexterm>
|
---|
[481b3e8] | 110 |
|
---|
[3bac165] | 111 | </sect3>
|
---|
[481b3e8] | 112 |
|
---|
[3bac165] | 113 | <sect3>
|
---|
| 114 | <title>Configuration Information</title>
|
---|
[481b3e8] | 115 |
|
---|
[3bac165] | 116 | <screen><userinput>cat > ~/.fetchmailrc << "EOF"
|
---|
| 117 | <literal>set logfile /var/log/fetchmail.log
|
---|
[bfe245f] | 118 | set no bouncemail
|
---|
| 119 | set postmaster root
|
---|
[481b3e8] | 120 |
|
---|
| 121 | poll SERVERNAME :
|
---|
[bfe245f] | 122 | user <replaceable>[username]</replaceable> pass <replaceable>[password]</replaceable>;
|
---|
[3bac165] | 123 | mda "/usr/bin/procmail -f %F -d %T";</literal>
|
---|
| 124 | EOF
|
---|
[481b3e8] | 125 |
|
---|
[e3353b3] | 126 | chmod -v 0600 ~/.fetchmailrc</userinput></screen>
|
---|
[481b3e8] | 127 |
|
---|
| 128 | <para>This is an example configuration that should suffice for most people.
|
---|
[3bac165] | 129 | You can add as many users and servers as you need using the same syntax.</para>
|
---|
[481b3e8] | 130 |
|
---|
[3bac165] | 131 | <para><command>man fetchmail</command>: Look for the section near
|
---|
[481b3e8] | 132 | the bottom named <emphasis role="strong">CONFIGURATION EXAMPLES</emphasis>. It
|
---|
| 133 | gives some quick examples. There are countless other config options once
|
---|
[3bac165] | 134 | you get used to it.</para>
|
---|
[481b3e8] | 135 |
|
---|
[3bac165] | 136 | </sect3>
|
---|
[481b3e8] | 137 |
|
---|
[3bac165] | 138 | </sect2>
|
---|
[481b3e8] | 139 |
|
---|
[3bac165] | 140 | <sect2 role="content">
|
---|
| 141 | <title>Contents</title>
|
---|
[481b3e8] | 142 |
|
---|
[3bac165] | 143 | <segmentedlist>
|
---|
| 144 | <segtitle>Installed Program</segtitle>
|
---|
| 145 | <segtitle>Installed Libraries</segtitle>
|
---|
| 146 | <segtitle>Installed Directories</segtitle>
|
---|
[481b3e8] | 147 |
|
---|
[3bac165] | 148 | <seglistitem>
|
---|
| 149 | <seg>fetchmail and fetchmailconf</seg>
|
---|
| 150 | <seg>None</seg>
|
---|
[46441976] | 151 | <seg>None</seg>
|
---|
[3bac165] | 152 | </seglistitem>
|
---|
| 153 | </segmentedlist>
|
---|
[481b3e8] | 154 |
|
---|
[3bac165] | 155 | <variablelist>
|
---|
| 156 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 157 | <?dbfo list-presentation="list"?>
|
---|
| 158 | <?dbhtml list-presentation="table"?>
|
---|
[481b3e8] | 159 |
|
---|
[3bac165] | 160 | <varlistentry id="fetchmail-prog">
|
---|
| 161 | <term><command>fetchmail</command></term>
|
---|
| 162 | <listitem>
|
---|
| 163 | <para>when executed as a user, this will source that users
|
---|
| 164 | <filename>~/.fetchmailrc</filename> and download the appropriate mail.</para>
|
---|
| 165 | <indexterm zone="fetchmail fetchmail-prog">
|
---|
| 166 | <primary sortas="b-fetchmail">fetchmail</primary>
|
---|
| 167 | </indexterm>
|
---|
| 168 | </listitem>
|
---|
| 169 | </varlistentry>
|
---|
[481b3e8] | 170 |
|
---|
[3bac165] | 171 | <varlistentry id="fetchmailconf">
|
---|
| 172 | <term><command>fetchmailconf</command></term>
|
---|
| 173 | <listitem>
|
---|
| 174 | <para>this program provides a <application>Tk</application>
|
---|
[481b3e8] | 175 | GUI interface to your <filename>~/.fetchmailrc</filename>
|
---|
[3bac165] | 176 | file making it much easier to configure. However, you will require
|
---|
| 177 | <application>Python</application>, and it must have the Tkinker module
|
---|
| 178 | available.</para>
|
---|
| 179 | <indexterm zone="fetchmail fetchmailconf">
|
---|
| 180 | <primary sortas="b-fetchmailconf">fetchmailconf</primary>
|
---|
| 181 | </indexterm>
|
---|
| 182 | </listitem>
|
---|
| 183 | </varlistentry>
|
---|
[481b3e8] | 184 |
|
---|
[3bac165] | 185 | </variablelist>
|
---|
[481b3e8] | 186 |
|
---|
[3bac165] | 187 | </sect2>
|
---|
[481b3e8] | 188 |
|
---|
[f45b1953] | 189 | </sect1>
|
---|