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