31 | | http://fetchmail.berlios.de/fetchmail-man.html |
| 31 | [http://fetchmail.berlios.de/fetchmail-man.html Fetchmail] requires [http://cygwin.com Cygwin], a Linux-emulation layer, to operate on Windows. Cygwin installation is straight forward as is adding the fetchmail package, but [http://lifehacker.com Lifehacker's] [http://lifehacker.com/software/top/geek-to-live--introduction-to-cygwin-part-i-179514.php Introduction to Cygwin] and [http://lifehacker.com/software/gmail/geek-to-live--back-up-gmail-with-fetchmail-235207.php Fetchmail] articles are very helpful tutorials for getting Cygwin installed and adding the fetchmail package. |
| 32 | |
| 33 | Fetchmail options can be set in the command line or using a .fetchmailrc configuration file, .fetchmailrc. Sample .fetchmailrc file: |
| 34 | |
| 35 | {{ |
| 36 | poll mail.domain.com with proto IMAP, auth ntlm user "trac@domain.com" |
| 37 | with password "xxx" is trac here options keep |
| 38 | mda "C:/python25/python.exe C:/projects/email2trac/email2trac.py" |
| 39 | }} |
| 40 | |
| 41 | Note that in this setup, email2trac acts as the MDA (or MTA) and automatically processes mail as it is retrieved. |