[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"?>
|
---|
| 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 your local (client) machine's delivery system, so it can then be
|
---|
| 35 | read by normal mail user agents." </para>
|
---|
| 36 |
|
---|
| 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>
|
---|
| 58 |
|
---|
| 59 | <bridgehead renderas="sect3">Fetchmail Dependencies</bridgehead>
|
---|
| 60 |
|
---|
| 61 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 62 | <para><xref linkend="openssl"/> and a local MDA (<xref linkend="procmail"/>)</para>
|
---|
| 63 |
|
---|
| 64 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 65 | <para><xref linkend="python"/> and <xref linkend="tk"/></para>
|
---|
| 66 |
|
---|
| 67 | </sect2>
|
---|
| 68 |
|
---|
| 69 | <sect2 role="installation">
|
---|
| 70 | <title>Installation of Fetchmail</title>
|
---|
| 71 |
|
---|
| 72 | <para>Install <application>Fetchmail</application> by running the following
|
---|
| 73 | commands:</para>
|
---|
| 74 |
|
---|
| 75 | <screen><userinput>./configure --prefix=/usr --with-ssl --enable-fallback=procmail &&
|
---|
[bfe245f] | 76 | make &&
|
---|
[3bac165] | 77 | make install</userinput></screen>
|
---|
| 78 |
|
---|
| 79 | </sect2>
|
---|
| 80 |
|
---|
| 81 | <sect2 role="commands">
|
---|
[e3353b3] | 82 | <title>Command Explanations</title>
|
---|
[3bac165] | 83 |
|
---|
| 84 | <para><parameter>--with-ssl</parameter>: This enables SSL if found, so that
|
---|
| 85 | you can handle connections to secure POP3 and IMAP servers.</para>
|
---|
| 86 |
|
---|
| 87 | <para><parameter>--enable-fallback=procmail</parameter>: This tells
|
---|
| 88 | <application>Fetchmail</application> to hand incoming mail to
|
---|
| 89 | <application>Procmail</application> for delivery if your port 25 mail server is
|
---|
| 90 | not present or not responding.</para>
|
---|
| 91 |
|
---|
| 92 | </sect2>
|
---|
| 93 |
|
---|
| 94 | <sect2 role="configuration">
|
---|
| 95 | <title>Configuring Fetchmail</title>
|
---|
| 96 |
|
---|
| 97 | <sect3 id="fetchmail-config">
|
---|
[e3353b3] | 98 | <title>Config Files</title>
|
---|
[3bac165] | 99 |
|
---|
| 100 | <para><filename>~/.fetchmailrc</filename></para>
|
---|
| 101 |
|
---|
| 102 | <indexterm zone="fetchmail fetchmail-config">
|
---|
| 103 | <primary sortas="e-AA.fetchmailrc">~/.fetchmailrc</primary>
|
---|
| 104 | </indexterm>
|
---|
| 105 |
|
---|
| 106 | </sect3>
|
---|
| 107 |
|
---|
| 108 | <sect3>
|
---|
| 109 | <title>Configuration Information</title>
|
---|
| 110 |
|
---|
| 111 | <screen><userinput>cat > ~/.fetchmailrc << "EOF"
|
---|
| 112 | <literal>set logfile /var/log/fetchmail.log
|
---|
[bfe245f] | 113 | set no bouncemail
|
---|
| 114 | set postmaster root
|
---|
[3bac165] | 115 |
|
---|
| 116 | poll SERVERNAME :
|
---|
[bfe245f] | 117 | user <replaceable>[username]</replaceable> pass <replaceable>[password]</replaceable>;
|
---|
[3bac165] | 118 | mda "/usr/bin/procmail -f %F -d %T";</literal>
|
---|
| 119 | EOF
|
---|
| 120 |
|
---|
[e3353b3] | 121 | chmod -v 0600 ~/.fetchmailrc</userinput></screen>
|
---|
[3bac165] | 122 |
|
---|
| 123 | <para>This is an example configuration that should suffice for most people.
|
---|
| 124 | You can add as many users and servers as you need using the same syntax.</para>
|
---|
| 125 |
|
---|
| 126 | <para><command>man fetchmail</command>: Look for the section near
|
---|
| 127 | the bottom named <emphasis role="strong">CONFIGURATION EXAMPLES</emphasis>. It
|
---|
| 128 | gives some quick examples. There are countless other config options once
|
---|
| 129 | you get used to it.</para>
|
---|
| 130 |
|
---|
| 131 | </sect3>
|
---|
| 132 |
|
---|
| 133 | </sect2>
|
---|
| 134 |
|
---|
| 135 | <sect2 role="content">
|
---|
| 136 | <title>Contents</title>
|
---|
| 137 |
|
---|
| 138 | <segmentedlist>
|
---|
| 139 | <segtitle>Installed Program</segtitle>
|
---|
| 140 | <segtitle>Installed Libraries</segtitle>
|
---|
| 141 | <segtitle>Installed Directories</segtitle>
|
---|
| 142 |
|
---|
| 143 | <seglistitem>
|
---|
| 144 | <seg>fetchmail and fetchmailconf</seg>
|
---|
| 145 | <seg>None</seg>
|
---|
| 146 | <seg>None</seg>
|
---|
| 147 | </seglistitem>
|
---|
| 148 | </segmentedlist>
|
---|
| 149 |
|
---|
| 150 | <variablelist>
|
---|
| 151 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 152 | <?dbfo list-presentation="list"?>
|
---|
| 153 | <?dbhtml list-presentation="table"?>
|
---|
| 154 |
|
---|
| 155 | <varlistentry id="fetchmail-prog">
|
---|
| 156 | <term><command>fetchmail</command></term>
|
---|
| 157 | <listitem>
|
---|
| 158 | <para>when executed as a user, this will source that users
|
---|
| 159 | <filename>~/.fetchmailrc</filename> and download the appropriate mail.</para>
|
---|
| 160 | <indexterm zone="fetchmail fetchmail-prog">
|
---|
| 161 | <primary sortas="b-fetchmail">fetchmail</primary>
|
---|
| 162 | </indexterm>
|
---|
| 163 | </listitem>
|
---|
| 164 | </varlistentry>
|
---|
| 165 |
|
---|
| 166 | <varlistentry id="fetchmailconf">
|
---|
| 167 | <term><command>fetchmailconf</command></term>
|
---|
| 168 | <listitem>
|
---|
| 169 | <para>this program provides a <application>Tk</application>
|
---|
| 170 | <acronym>GUI</acronym> interface to your <filename>~/.fetchmailrc</filename>
|
---|
| 171 | file making it much easier to configure. However, you will require
|
---|
| 172 | <application>Python</application>, and it must have the Tkinker module
|
---|
| 173 | available.</para>
|
---|
| 174 | <indexterm zone="fetchmail fetchmailconf">
|
---|
| 175 | <primary sortas="b-fetchmailconf">fetchmailconf</primary>
|
---|
| 176 | </indexterm>
|
---|
| 177 | </listitem>
|
---|
| 178 | </varlistentry>
|
---|
| 179 |
|
---|
| 180 | </variablelist>
|
---|
| 181 |
|
---|
| 182 | </sect2>
|
---|
| 183 |
|
---|
[f45b1953] | 184 | </sect1>
|
---|