#!/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 
