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