#! /bin/sh . /usr/local/etc/PPP-private # this file contains private info, in the following format: #export USER=spade #export PASSWORD=CoolPWD ping -c 1 mail.best.com ping -c 1 mail.best.com popclient -3 -c -v -u $USER -p $PASSWORD mail.best.com | tee /var/tmp/mail_from_best | /usr/local/bin/formail -s /usr/local/sbin/deliver_from_best