Skip to content

Instantly share code, notes, and snippets.

@dmitriid
Created September 10, 2013 15:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dmitriid/6511182 to your computer and use it in GitHub Desktop.
Save dmitriid/6511182 to your computer and use it in GitHub Desktop.
## cat ~/.fetchmailrc
poll imap.gmail.com with proto IMAP
user 'USERNAME' there with password 'PASSWORD' is 'LOCALUSER' here
options keep fetchall ssl mda "procmail -d %T"
folder INBOX
## cat ~/.procmailrc
SHELL=/bin/bash
PATH=/usr/sbin:/usr/bin
MAILDIR=/Volumes/Data/Experiments/ ## will produce one file per message
DEFAULT=/Volumes/Data/Experiments
LOGFILE=$HOME/.procmail.log
LOG=""
VERBOSE=yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment