#!/bin/sh

# https://trac.macports.org/wiki/howto/SetupFetchmail
# Last tested with Mac OS X 10.9.3

sudo mkdir -p /opt/local/var/log/fetchmail
sudo mkdir -p /opt/local/var/run/fetchmail

sudo chown _fetchmail:_fetchmail /opt/local/var/log/fetchmail
sudo chown _fetchmail:_fetchmail /opt/local/var/run/fetchmail
