Article Figure 1 Listing 1 Listing 2 Listing 3
Listing 4 Listing 5 Listing 6 Listing 7 feb2006.tar

Listing 1 Fetch_yahoo.sh

#!/bin/bash
#
# Listing 1.
# Fetch_yahoo.sh
# 
echo ------------------------------
echo $0
echo ------------------------------
#
#--overwrite                    overwrite spool-file (instead of appending)
#--delete                       delete messages after downloading them
#--newonly                      only download new (i.e. unread) messages
#
YAHOO_USER=cellmate
PASSWORD=*******
FETCHYAHOO=/usr/local/bin/fetchyahoo 

$FETCHYAHOO  --username=$YAHOO_USER --password=$PASSWORD --spoolfile=$MAIL \
  --delete  --overwrite  --newonly