Windows: Fetchmail POP3/IMAP Mail Collection

From ReceptiveIT
Jump to: navigation, search

Sniffing IMAP and POP3 Passwords

$> sudo tcpdump -A -i eth0 -l -s0 | grep LOGIN  # IMAP
$> sudo tcpdump -A -i eth0 -l -s0 | grep PASS  # POP

Install cygwin with

  • vi
  • cygrunsrv
  • fetchmail

create /etc/fetchmailrc

set daemon 900
set no bouncemail
 antispam -1
 batchlimit 100
poll with proto pop3
 user "[email protected]" there is "[email protected]" here with password "secretpass";

> cygrunsrv.exe --install fetchmail --path /usr/bin/fetchmail --args "--fetchmailrc /cygdrive/c/cygwin/etc/fetchmailrc --nodetach" --disp FetchMail --desc "Fetchmail remote mail retrieval under CygWin"

> chown SYSTEM /etc/fetchmailrc