The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
extracting data from files.. anchal_khare Shell Programming and Scripting 1 04-03-2008 06:56 AM
Extracting Data from a File oop UNIX for Dummies Questions & Answers 0 07-31-2007 11:48 AM
Extracting Data from xml file nishana Shell Programming and Scripting 3 07-13-2007 07:17 AM
Extracting certain data from a sentence dbrundrett Shell Programming and Scripting 7 12-17-2003 11:22 AM
extracting sendmail: error sphiengollie UNIX for Dummies Questions & Answers 1 04-22-2002 06:42 PM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 01-14-2007
calex calex is offline
Registered User
  
 

Join Date: Jan 2007
Posts: 3
Extracting Data From Sendmail

Hello,

Like many Unix shops, Our systems send Email alerts whenever things break. I have been tasked with writing a shell script to get the email alerts from Sendmail, extract the Date / Time, From, Subject, and message text from the emails and punch them into a MySQL DB. This will then be parsed and used to generate Error Stats and SLA reports.

My problem is I can't seem to find any info or blurb of code on how to extract this info from a Sendmail using a shell script, and my O'Rielly Sendmail book is MIA.

Anyone out there have any expierience with this and/or could guide me in the right direction?


Thanks in Advance,


ChrisA.
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 12:11 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0