Contents
Short Descriptions
when executed as a user, this will source |
|
it will assist you in setting up and editing a
|
The Fetchmail package contains a mail retrieval program. It retrieves mail from remote mail servers and forwards it to the local (client) machine's delivery system, so it can then be read by normal mail user agents.
Download (HTTP): http://download2.berlios.de/fetchmail/fetchmail-6.3.8.tar.bz2
Download (FTP): ftp://ftp.linux.ee/pub/gentoo/distfiles/distfiles/fetchmail-6.3.8.tar.bz2
Download MD5 sum: 66b97500b0a1e3c0916b3b5314f597f5
Download size: 1.3 MB
Estimated disk space required: 8.9 MB
Estimated build time: 0.1 SBU
OpenSSL-0.9.8g and a local MDA (Procmail-3.22)
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/fetchmail
Install Fetchmail by running the following commands:
patch -Np1 -i ../fetchmail-6.3.8-security_fixes-1.patch && ./configure --prefix=/usr --with-ssl --enable-fallback=procmail && make
This package does not come with a test suite.
Now, as the root
user:
make install
--with-ssl
: This enables
SSL support, so that you can handle connections to secure POP3 and
IMAP servers.
--enable-fallback=procmail
:
This tells Fetchmail to hand
incoming mail to Procmail for
delivery, if the port 25 mail server is not present or not
responding.
cat > ~/.fetchmailrc << "EOF"
set logfile /var/log/fetchmail.log
set no bouncemail
set postmaster root
poll SERVERNAME :
user <username>
pass <password>
;
mda "/usr/bin/procmail -f %F -d %T";
EOF
chmod -v 0600 ~/.fetchmailrc
This is an example configuration that should suffice for most people. You can add as many users and servers as you need using the same syntax.
man fetchmail: Look for the section near the bottom named CONFIGURATION EXAMPLES. It gives some quick examples. There are countless other config options once you get used to it.
when executed as a user, this will source |
|
it will assist you in setting up and editing a
|
Last updated on 2008-07-12 16:51:48 -0500