#!/bin/sh exit 0 # {un}comment this line to toggle mail-fetching on this machine # Fetch mail from both personal and work sources. if /bin/true; then chmod 600 ~/private/.fetchmailrc-personal chmod 600 ~/private/.fetchmailrc-work fetchmail -f ~/private/.fetchmailrc-personal --silent -a || [ $? -eq 1 ] dc -e "`date +'%M'` 5 % n" > /tmp/mod_5_minutes if [ `cat /tmp/mod_5_minutes` = "0" ]; then fetchmail -f ~/private/.fetchmailrc-work --silent -a || [ $? -eq 1 ] fi fi