1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
---|
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">
|
---|
9 | <!ENTITY fetchmail-size "1.2 MB">
|
---|
10 | <!ENTITY fetchmail-buildsize "5.8 MB">
|
---|
11 | <!ENTITY fetchmail-time "0.14 SBU">
|
---|
12 | ]>
|
---|
13 |
|
---|
14 | <sect1 id="fetchmail" xreflabel="Fetchmail">
|
---|
15 | <sect1info>
|
---|
16 | <othername>$LastChangedBy$</othername>
|
---|
17 | <date>$Date$</date>
|
---|
18 | </sect1info>
|
---|
19 | <?dbhtml filename="fetchmail.html"?>
|
---|
20 | <title>Fetchmail-&fetchmail-version;</title>
|
---|
21 |
|
---|
22 | <sect2>
|
---|
23 | <title>Introduction to <application>Fetchmail</application></title>
|
---|
24 |
|
---|
25 | <para>The <application>Fetchmail</application> package contains a mail
|
---|
26 | retrieval program. "It retrieves mail from remote mail servers and
|
---|
27 | forwards it to your local (client) machine's delivery system, so it can then be
|
---|
28 | read by normal mail user agents." </para>
|
---|
29 |
|
---|
30 | <sect3><title>Package information</title>
|
---|
31 | <itemizedlist spacing='compact'>
|
---|
32 | <listitem><para>Download (HTTP): <ulink
|
---|
33 | url="&fetchmail-download-http;"/></para></listitem>
|
---|
34 | <listitem><para>Download (FTP): <ulink
|
---|
35 | url="&fetchmail-download-ftp;"/></para></listitem>
|
---|
36 | <listitem><para>Download size: &fetchmail-size;</para></listitem>
|
---|
37 | <listitem><para>Estimated disk space required:
|
---|
38 | &fetchmail-buildsize;</para></listitem>
|
---|
39 | <listitem><para>Estimated build time:
|
---|
40 | &fetchmail-time;</para></listitem></itemizedlist>
|
---|
41 | </sect3>
|
---|
42 |
|
---|
43 | <sect3><title><application>Fetchmail</application> dependencies</title>
|
---|
44 |
|
---|
45 | <sect4><title>Required</title>
|
---|
46 |
|
---|
47 | <para><xref linkend="openssl"/> and a local MDA (<xref linkend="procmail"/>)
|
---|
48 | </para>
|
---|
49 | </sect4>
|
---|
50 |
|
---|
51 | <sect4><title>Optional</title>
|
---|
52 | <para><xref linkend="python"/> and <xref linkend="tk"/>.</para>
|
---|
53 | </sect4>
|
---|
54 | </sect3>
|
---|
55 |
|
---|
56 | </sect2>
|
---|
57 |
|
---|
58 | <sect2>
|
---|
59 | <title>Installation of <application>Fetchmail</application></title>
|
---|
60 |
|
---|
61 | <para>Install <application>Fetchmail</application> by running the following commands:</para>
|
---|
62 |
|
---|
63 | <screen><userinput><command>./configure --prefix=/usr --with-ssl --enable-fallback=procmail &&
|
---|
64 | make &&
|
---|
65 | make install</command></userinput></screen>
|
---|
66 |
|
---|
67 | </sect2>
|
---|
68 |
|
---|
69 | <sect2>
|
---|
70 | <title>Command explanations</title>
|
---|
71 |
|
---|
72 | <para><option>--with-ssl</option>: This enables
|
---|
73 | <acronym>SSL</acronym> if found, so that you can handle connections to
|
---|
74 | secure <acronym>POP</acronym>3 and <acronym>IMAP</acronym> servers.</para>
|
---|
75 |
|
---|
76 | <para><parameter>--enable-fallback=procmail</parameter>: This tells
|
---|
77 | <application>Fetchmail</application> to hand incoming mail to
|
---|
78 | <application>Procmail</application> for delivery if your port 25 mail server is
|
---|
79 | not present or not responding.</para>
|
---|
80 |
|
---|
81 | </sect2>
|
---|
82 |
|
---|
83 | <sect2>
|
---|
84 | <title>Configuring <application>Fetchmail</application></title>
|
---|
85 |
|
---|
86 | <sect3><title>Config files</title>
|
---|
87 | <para><filename>~/.fetchmailrc</filename></para>
|
---|
88 | </sect3>
|
---|
89 |
|
---|
90 | <sect3><title>Configuration Information</title>
|
---|
91 |
|
---|
92 | <screen><userinput><command>cat > ~/.fetchmailrc << "EOF"</command>
|
---|
93 | set logfile /var/log/fetchmail.log
|
---|
94 | set no bouncemail
|
---|
95 | set postmaster root
|
---|
96 |
|
---|
97 | poll SERVERNAME :
|
---|
98 | user <replaceable>[username]</replaceable> pass <replaceable>[password]</replaceable>;
|
---|
99 | mda "/usr/bin/procmail -f %F -d %T";
|
---|
100 | <command>EOF</command>
|
---|
101 |
|
---|
102 | <command>chmod 0600 ~/.fetchmailrc</command></userinput></screen>
|
---|
103 |
|
---|
104 | <para>This is an example configuration that should suffice for most people. You
|
---|
105 | can add as many users and servers as you need using the same syntax.</para>
|
---|
106 |
|
---|
107 | <para><command>man fetchmail</command>: Look for the section near
|
---|
108 | the bottom named <emphasis role="strong">CONFIGURATION EXAMPLES</emphasis>. It
|
---|
109 | gives some quick examples. There are countless other config options once
|
---|
110 | you get used to it.</para>
|
---|
111 |
|
---|
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 |
|
---|
140 | </sect3>
|
---|
141 |
|
---|
142 | </sect2>
|
---|
143 |
|
---|
144 | </sect1>
|
---|
145 |
|
---|