$Id: README,v 1.5 2002/06/07 11:36:19 jt Exp $ Abstract: This is the README for the Cygwin fetchmail distribution. Fetchmail is a remote mail retrieval and forwarding utility intended for use over on-demand TCP/IP links, like SLIP or PPP connections. Fetchmail supports every remote-mail protocol currently in use on the Internet (POP2, POP3, RPOP, APOP, KPOP, all IMAPs, ESMTP ETRN, IPv6, and IPSEC) for retrieval. Then Fetchmail forwards the mail through SMTP so you can read it through your favorite mail client. I would like to thank Madoka Machitani for his pre-compiled fetchmail and procmail binaries and for the patches necessary for proper operation under Windows 9x/Me. His work on the Cygwin ports made it much easier for me to become the Cygwin maintainer. Requirements: The following packages or later are required to build and/or execute Cygwin fetchmail: binutils 20011002-1 cygwin 1.3.10-1 gcc 2.95.3-5 gettext 0.10.40-1 libintl 0.10.38-3 openssl 0.9.6b-2 Install: Create a fetchmail run control file, ~/.fetchmailrc, with contents like the following: set logfile /var/log/fetchmail.log set invisible set no bouncemail poll "$mailserver" protocol $popimap username "$username" password "$password" fetchall nokeep mda "/usr/bin/procmail -d %T" where: $mailserver is your mail server name $popimap is "pop3" or "imap", as appropriate $username is your mailserver user name $password is your mailserver password Typically fetchmail is run in daemon mode in order to retrieve one's mail in the background. Under Windows NT/2000/XP, Cygwin fetchmail can be installed as a NT service. To install Cygwin fetchmail as a service use the following: $ cygrunsrv --install fetchmail --path /usr/bin/fetchmail --env HOME=$HOME --user "$USERDOMAIN\\$USERNAME" --args '--daemon 300 --nodetach' --shutdown Note that the above installs Cygwin fetchmail to run under your normal login account instead of the LocalSystem account. I do not have access to Windows 9x/Me, so I do not know how to accomplish the above for these platforms. If someone knows how to best to run fetchmail in daemon mode, the please post to the Cygwin list and I will update this README accordingly. Source: Although fetchmail builds OOTB under Cygwin, two patches have been applied to: 1. solve a mail corruption problem under Windows 2000 (and possibly other Windows versions) when not using SSL 2. remove the the run control file (i.e., ~/.fetchmailrc) permission check so that fetchmail works under Windows 9x/Me and NT/2000/XP with CYGWIN=nontsec The first patch has been accepted into fetchmail CVS and can be found at: http://cygwin.com/ml/cygwin/2002-06/msg00320.html The second patch is identical to the one found on Madoka Machitani's web site except that I replaced WIN9X with __CYGWIN__: http://www.dd.iij4u.or.jp/~madokam/#fetchmail I also added the following files to the source archive: CYGWIN-PATCHES/README CYGWIN-PATCHES/build.sh CYGWIN-PATCHES/fetchmail.patch and renamed the original source archive to match Cygwin's setup.exe naming conventions. To restore the fetchmail source to its original state, perform the following: $ cd fetchmail-$version-$package $ patch -R -p1