#!/bin/sh # # indexgen.sh -- generate current version of fetchmail home page. # goldvers="5.6.0" goldname="5.6.0" version=`sed -n >checksums done if [ $version != $goldvers ] then for file in fetchmail-$goldvers.tar.gz fetchmail-$goldvers-1.i386.rpm fetchmail-$goldvers-1.src.rpm do md5sum $file >>checksums done fi cat >index.html < Fetchmail Home Page
Back to Software Up to Site Map $date

The fetchmail Home Page

What fetchmail does:

Fetchmail is a full-featured, robust, well-documented remote-mail retrieval and forwarding utility intended to be used over on-demand TCP/IP links (such as SLIP or PPP connections). It supports every remote-mail protocol now in use on the Internet: POP2, POP3, RPOP, APOP, KPOP, all flavors of IMAP, ETRN, and ODMR. It can even support IPv6 and IPSEC.

Fetchmail retrieves mail from remote mail servers and forwards it via SMTP, so it can then be be read by normal mail user agents such as mutt, elm(1) or BSD Mail. It allows all your system MTA's filtering, forwarding, and aliasing facilities to work just as they would on normal mail.

Fetchmail offers better security than any other Unix remote-mail client. It supports APOP, KPOP, OTP, Compuserve RPA, Microsoft NTLM, and IMAP RFC1731 encrypted authentication methods to avoid sending passwords en clair. It can be configured to support end-to-end encryption via tunneling with ssh, the Secure Shell

Fetchmail can be used as a POP/IMAP-to-SMTP gateway for an entire DNS domain, collecting mail from a single drop box on an ISP and SMTP-forwarding it based on header addresses. (We don't really recommend this, though, as it may lose important envelope-header information. ETRN or a UUCP connection is better.)

Fetchmail can be started automatically and silently as a system daemon at boot time. When running in this mode with a short poll interval, it is pretty hard for anyone to tell that the incoming mail link is not a full-time "push" connection.

Fetchmail is easy to configure. You can edit its dotfile directly, or use the interactive GUI configurator (fetchmailconf) supplied with the fetchmail distribution. It is also directly supported in linuxconf versions 1.16r8 and later.

Fetchmail is fast and lightweight. It packs all its standard features (POP3, IMAP, and ETRN support) in ${fetchmailsize}K of core on a Pentium under Linux.

Fetchmail is open-source software. The openness of the sources is your strongest possible assurance of quality and reliability.

Where to find out more about fetchmail:

See the Fetchmail Feature List for more about what fetchmail does.

See the on-line manual page for basics.

See the HTML Fetchmail FAQ for troubleshooting help.

See the Fetchmail Design Notes for discussion of some of the design choices in fe

Mold Remover

Mold Remover is a short python script which integrates with fetchmail 
<http://fetchmail.sourceforge.net/> and allows the user to specify the 
number of days that mail should remain on the pop3 server before being 
deleted. 

It is released under the GNU GPL <http://www.gnu.org/copyleft/gpl.html>.

Usage: 
Set up fetchmail to run with keep and uidl options.
Edit the mold_remover.py file to specify the mailserver address
and login/password details. Also specify the UIDL file created by
fetchmail (this is created automatically by fetchmail when uidl option
is selected in the fetchmailrc file usually at
/var/mail/.fetchmail-UIDL-cache). Remember to chmod the moldremover
script to 700 so that passwords cannot be read. Next, edit the field to
set how many days you want the mail to be left on the server. Lastly
create a script to run moldremover.py with python which can either be
run as a cron job or as part of your connection script. It is advisable
to stop fetchmail before mold remover is run and then to restart
fetchmail afterwards. Here is an example /etc/cron.daily/ script:

#!/bin/bash
/etc/init.d/fetchmail stop >> /var/log/messages
/usr/bin/python /usr/local/bin/mold_remover.py >> /var/log/messages
/etc/init.d/fetchmail start >> /var/log/messages

Please feel free to email me (jmstone@dsl.pipex.com) if you have any questions or bugfixes!

James Stone
amed mailboxes based on the contents of headers.

Scott Bronson has written a fetchmail plugin (actually, a specialist MDA) called trestlemail that helps redirect multidrop mail.

Donncha O Caoihm has written a Perl script called install-sendmail that assists you in installing sendmail and fetchmail together/

Peter Hawkins has written a script called gotmail that can retrieve Hotmail.

Fetchmail's funniest fan letter:

This letter still cracks me up whenever I reread it.

The fetchmail button:

If you use fetchmail and like it, here's a nifty fetchmail button you can put on your web page:

Thanks to Steve Matuszek for the graphic design. The hand in the button (and the larger top-of-page graphic) was actually derived from a color scan of the fetchmail author's hand.

Fetchmail mirror sites:

There is a FTP mirror of the current sources and RPMs in Japan at ftp://ftp.win.or.jp/pub/network/mail/fetchmail.

Reviews and Awards

Fetchmail was DaveCentral's Best Of Linux winner for June 30 1999.
Back to Software Up to Site Map $date

Eric S. Raymond <esr@snark.thyrsus.com>
EOF # The following sets edit modes for GNU EMACS # Local Variables: # mode:html # truncate-lines:t # End: