#!/bin/sh ########################################################################## # Script to refresh local sendmail access file with master copy on kom.com # 2002/01/18 by Chris Komuves ########################################################################## maildir='/etc/mail/' # Mail configuration directory where access file is lynxbin='/opt/bin/lynx' # Location of lynx binary #------------------------------------------------------------------------- cd $maildir cp -p access access.LAST $lynxbin -source "http://kom.com/kom/spam/access.txt" > access_new mv access_new access makedbm access access echo ' ============================================================ The new access database has been downloaded... There are currently \c' /usr/ucb/echo -n `wc -l access` echo ' entries in the access database. ============================================================' ########################### END OF SCRIPT ###############################