Archives of the TeradataForum
Message Posted: Wed, 26 Feb 2003 @ 14:36:30 GMT
| Subj: || || Re: Sendmail from MP-RAS |
| From: || || Christopher Platt |
we have mail running on our servers... it has gone postal on us twice in about 2 years... you will have to prune some of the mail log
files or you will fill up your file systems if/when goes postal... I would put a check into to make sure that mail does not get "stuck" ...
ps -ef | grep mail to make sure the mail is making it through come rain or shine...
# simple mail checker to see if we have mail on any node
rallsh -sv 'ps -ef | grep -i mail | grep -v grep | grep -v ugot | grep -v
surrc ' | grep -v byn
if [ "$?" -ne "1" ]
echo " You got mail..........! "
echo " You got mail on `uname` logon and do ps -ef and grep for mail" |
mailx -s "You got mail" [email protected] [email protected]
echo "You have justed checked to see if there is orphaned mail "
echo " there was not any "
Teradata Systems Administration