INSTALL Instructions for fetchmail ================================== Building from Git repository: see README.git Packagers and port/emerge maintainers: see README.packaging. If you have installed binaries (e.g. from a Linux RPM or DPKG, Solaris package or FreeBSD port), you can skip to step 5 below. --------------------------------------------------------------------- The Frequently Asked Questions list, included as the file FAQ in this distribution, answers the most common questions about configuring and running fetchmail. --------------------------------------------------------------------- 1. PREPARATIONS: USEFUL THINGS TO INSTALL FIRST 1.1 OpenSSL If you are installing OpenSSL yourself, it is recommended that you build shared OpenSSL libraries, it works better and updating OpenSSL does not then require you to reinstall all applications that use OpenSSL. Try after unpacking OpenSSL: ./config shared && make && make test && make install 1.2 gettext (internationalization) Internationalization of fetchmail requires GNU gettext (libintl and libiconv). Fetchmail, as of version 6.3.0, no longer ships its own libintl copy. Note that some systems include gettext in their libc. 1.3 OTP/OPIE If you want support for RFC1938-compliant one-time passwords, you'll need to install Craig Metz's OPIE libraries first and *make sure they're on the normal library path* where configure will find them. Then configure with --enable-OPIE, and fetchmail build process will detect them and compile appropriately. Note: there is no point in doing this unless your server is OTP-enabled. To test this, telnet to the server port and give it a valid USER id. If the OK response includes the string "otp-", you should install OPIE. You need version 2.32 or better. The OPIE library sources are available at http://www.inner.net/pub/opie/ You can also find OPIE and IPV6-capable servers there. 1.4 IPv6 Building in IPv6 support *requires* an up-to-date operating system. Recent Linux versions with glibc 2.1.1 or newer, FreeBSD, Solaris should be fine. If you have trouble with intl or gettext functions, try using the configure option '--with-included-gettext'. 2. CONFIGURE 2.1 Basic options Installing fetchmail is easy. From within this directory, type: ./configure The autoconfiguration script will spend a bit of time figuring out the specifics of your system. If you want to specify a particular compiler (e.g. you have gcc but want to compile with cc), set the environment variable CC before you run configure. The configure script accepts certain standard configuration options. These include --prefix, --exec-prefix, --bindir, --infodir, --mandir, and --srcdir. Run 'configure --help' for more. POP2 support is no longer compiled in by default, as POP2 is way obsolete and there don't seem to be any live servers for it anymore. You can configure it back in if you want with 'configure --enable-POP2', but leaving it out cuts the executable's size slightly. Support for CompuServe's RPA authentication method (rather similar to APOP) is available but also not included in the standard build. You can compile it in with 'configure --enable-RPA'. Support for Microsoft's NTLM authentication method is also available but not included in the standard build either. You can compile it in with 'configure --enable-NTLM'. Support for authentication using RFC1731 GSSAPI is available but also not included by default. You can compile it in with 'configure --with-gssapi', which looks for GSSAPI support in standard locations (/usr, /usr/local