[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">
|
---|
[a0f03b0] | 16 | <sect1info>
|
---|
[5cd0959d] | 17 | <othername>$LastChangedBy$</othername>
|
---|
| 18 | <date>$Date$</date>
|
---|
[a0f03b0] | 19 | </sect1info>
|
---|
[00bb024c] | 20 | <?dbhtml filename="fetchmail.html"?>
|
---|
[1708d1e9] | 21 | <title>Fetchmail-&fetchmail-version;</title>
|
---|
[f45b1953] | 22 |
|
---|
[bfe245f] | 23 | <sect2>
|
---|
| 24 | <title>Introduction to <application>Fetchmail</application></title>
|
---|
| 25 |
|
---|
| 26 | <para>The <application>Fetchmail</application> package contains a mail
|
---|
| 27 | retrieval program. "It retrieves mail from remote mail servers and
|
---|
| 28 | forwards it to your local (client) machine's delivery system, so it can then be
|
---|
| 29 | read by normal mail user agents." </para>
|
---|
| 30 |
|
---|
| 31 | <sect3><title>Package information</title>
|
---|
| 32 | <itemizedlist spacing='compact'>
|
---|
| 33 | <listitem><para>Download (HTTP): <ulink
|
---|
| 34 | url="&fetchmail-download-http;"/></para></listitem>
|
---|
| 35 | <listitem><para>Download (FTP): <ulink
|
---|
| 36 | url="&fetchmail-download-ftp;"/></para></listitem>
|
---|
[55c657e] | 37 | <listitem><para>Download MD5 sum: &fetchmail-md5sum;</para></listitem>
|
---|
[bfe245f] | 38 | <listitem><para>Download size: &fetchmail-size;</para></listitem>
|
---|
[775c349a] | 39 | <listitem><para>Estimated disk space required:
|
---|
[bfe245f] | 40 | &fetchmail-buildsize;</para></listitem>
|
---|
| 41 | <listitem><para>Estimated build time:
|
---|
| 42 | &fetchmail-time;</para></listitem></itemizedlist>
|
---|
| 43 | </sect3>
|
---|
| 44 |
|
---|
| 45 | <sect3><title><application>Fetchmail</application> dependencies</title>
|
---|
| 46 | <sect4><title>Required</title>
|
---|
[55c657e] | 47 | <para><xref linkend="openssl"/> and
|
---|
| 48 | a local MDA (<xref linkend="procmail"/>)</para>
|
---|
[bfe245f] | 49 | </sect4>
|
---|
| 50 |
|
---|
| 51 | <sect4><title>Optional</title>
|
---|
[55c657e] | 52 | <para><xref linkend="python"/> and <xref linkend="tk"/></para>
|
---|
[bfe245f] | 53 | </sect4>
|
---|
| 54 | </sect3>
|
---|
| 55 |
|
---|
| 56 | </sect2>
|
---|
| 57 |
|
---|
| 58 | <sect2>
|
---|
| 59 | <title>Installation of <application>Fetchmail</application></title>
|
---|
| 60 |
|
---|
[55c657e] | 61 | <para>Install <application>Fetchmail</application> by running the following
|
---|
| 62 | commands:</para>
|
---|
[bfe245f] | 63 |
|
---|
| 64 | <screen><userinput><command>./configure --prefix=/usr --with-ssl --enable-fallback=procmail &&
|
---|
| 65 | make &&
|
---|
| 66 | make install</command></userinput></screen>
|
---|
| 67 |
|
---|
| 68 | </sect2>
|
---|
| 69 |
|
---|
| 70 | <sect2>
|
---|
| 71 | <title>Command explanations</title>
|
---|
| 72 |
|
---|
| 73 | <para><option>--with-ssl</option>: This enables
|
---|
| 74 | <acronym>SSL</acronym> if found, so that you can handle connections to
|
---|
| 75 | secure <acronym>POP</acronym>3 and <acronym>IMAP</acronym> servers.</para>
|
---|
| 76 |
|
---|
| 77 | <para><parameter>--enable-fallback=procmail</parameter>: This tells
|
---|
| 78 | <application>Fetchmail</application> to hand incoming mail to
|
---|
| 79 | <application>Procmail</application> for delivery if your port 25 mail server is
|
---|
| 80 | not present or not responding.</para>
|
---|
| 81 |
|
---|
| 82 | </sect2>
|
---|
| 83 |
|
---|
| 84 | <sect2>
|
---|
| 85 | <title>Configuring <application>Fetchmail</application></title>
|
---|
| 86 |
|
---|
| 87 | <sect3><title>Config files</title>
|
---|
| 88 | <para><filename>~/.fetchmailrc</filename></para>
|
---|
| 89 | </sect3>
|
---|
| 90 |
|
---|
| 91 | <sect3><title>Configuration Information</title>
|
---|
| 92 |
|
---|
| 93 | <screen><userinput><command>cat > ~/.fetchmailrc << "EOF"</command>
|
---|
| 94 | set logfile /var/log/fetchmail.log
|
---|
| 95 | set no bouncemail
|
---|
| 96 | set postmaster root
|
---|
| 97 |
|
---|
| 98 | poll SERVERNAME :
|
---|
| 99 | user <replaceable>[username]</replaceable> pass <replaceable>[password]</replaceable>;
|
---|
| 100 | mda "/usr/bin/procmail -f %F -d %T";
|
---|
| 101 | <command>EOF</command>
|
---|
| 102 |
|
---|
| 103 | <command>chmod 0600 ~/.fetchmailrc</command></userinput></screen>
|
---|
| 104 |
|
---|
[55c657e] | 105 | <para>This is an example configuration that should suffice for most people.
|
---|
| 106 | You can add as many users and servers as you need using the same syntax.</para>
|
---|
[bfe245f] | 107 |
|
---|
| 108 | <para><command>man fetchmail</command>: Look for the section near
|
---|
| 109 | the bottom named <emphasis role="strong">CONFIGURATION EXAMPLES</emphasis>. It
|
---|
| 110 | gives some quick examples. There are countless other config options once
|
---|
| 111 | you get used to it.</para>
|
---|
| 112 | </sect3>
|
---|
| 113 |
|
---|
| 114 | </sect2>
|
---|
| 115 |
|
---|
| 116 | <sect2>
|
---|
| 117 | <title>Contents</title>
|
---|
| 118 |
|
---|
| 119 | <para>The <application>Fetchmail</application> package contains
|
---|
| 120 | <command>fetchmail</command> and <command>fetchmailconf</command>.</para>
|
---|
| 121 |
|
---|
| 122 | </sect2>
|
---|
| 123 |
|
---|
| 124 | <sect2><title>Description</title>
|
---|
| 125 |
|
---|
| 126 | <sect3><title>fetchmail</title>
|
---|
| 127 | <para>When executed as a user, this will source that users
|
---|
| 128 | <filename>~/.fetchmailrc</filename> and download the appropriate mail.
|
---|
| 129 | </para></sect3>
|
---|
| 130 |
|
---|
| 131 | <sect3>
|
---|
| 132 | <title>fetchmailconf</title>
|
---|
| 133 |
|
---|
| 134 | <para>This program provides a <application>Tk</application>
|
---|
| 135 | <acronym>GUI</acronym> interface to your <filename>~/.fetchmailrc</filename>
|
---|
| 136 | file making it much easier to configure. However, you will require
|
---|
| 137 | <application>Python</application>, and it must have the Tkinker module
|
---|
| 138 | available.</para>
|
---|
| 139 | </sect3>
|
---|
| 140 |
|
---|
| 141 | </sect2>
|
---|
[f45b1953] | 142 |
|
---|
| 143 | </sect1>
|
---|
| 144 |
|
---|