#!/bin/csh -f ##################################### ## root で実行しましょう ##################################### ###/var/qmail/control/badrcptto### set BADRCPT=/var/qmail/control/badrcptto ; set PID=`ps ax | grep qmail-send | grep -v grep | nawk '{print $1}'` cp /home/あなた/ディレクトリー/badrcptto $BADRCPT ; if ( $PID != "") then # echo $PID ; kill -HUP $PID ; endif ##################################