agnello george nydnuikhhtbfxgmailcom hi small query need write script whenever error generated spamdlog general log file send mail bellow script came u doubt would work grep e unable start service varlogspamdlog 1 mail pls check server ip 203185xxxxxx nydnuikhhtbfxgmailcom fi application scan log file specific word error soon logs generated even heard sms sent cases inputs great help regards agnello dsouza wwwlinuxvashiblogspotcom wwwbiblestudyindiablogspotcom regards agnello dsouza wwwlinuxvashiblogspotcom wwwbiblestudyindiablogspotcom fri 08 aug 2008 131203 0530 script send mail error detected log file