#!/bin/sh exit 0 # {un}comment this line to toggle mail-fetching on this machine FETCHMAIL=/usr/bin/fetchmail for src in `cat ${HOME}/private/email/mail-sources`; do if [ -f ~/private/.fetchmailrc-${src} ]; then chmod 600 ~/private/.fetchmailrc-${src} ${FETCHMAIL} --silent -f ~/private/.fetchmailrc-${src} --silent -a || [ $? -eq 1 ] fi done