Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
## 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