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
what are the codes used for setting the subject in the mail command? Jason3107 UNIX for Dummies Questions & Answers 2 07-12-2007 09:15 AM
How to set Subject in 'mail' ? hkapil UNIX for Dummies Questions & Answers 2 10-14-2005 04:36 PM
Saving of UNIX based e-mail on to local disks rajan9 UNIX for Advanced & Expert Users 4 08-07-2002 01:49 AM
Mail subject output of script kiano UNIX for Dummies Questions & Answers 4 11-29-2001 11:52 AM
Send a mail with a subject and an attachement josecollantes UNIX for Dummies Questions & Answers 1 08-27-2001 11:55 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 02-02-2007
sriram.s sriram.s is offline
Registered User
  
 

Join Date: Mar 2005
Location: india
Posts: 41
Thumbs up sort mail based on subject in unix.

Hi,
I have a complicated requirement.I need to search for a particular pattern in the subject of incoming mail to a set of users and need to save the content of the mail in a file which will be uploaded to a file server.

I have a perl script to do the upload.I need a script to sort the mail based on the subject and copy the content of the mail to a file.

Can anybody suggest me how to do this....Sorry i am not that much good in writing scripts based on logic.

i will be thankful even if u can suggest me a free utility available...

Thanks.
Sriram.S
  #2 (permalink)  
Old 02-02-2007
sb008 sb008 is offline Forum Advisor  
Registered User
  
 

Join Date: Jan 2007
Posts: 384
Check out "procmail"
  #3 (permalink)  
Old 02-02-2007
andryk's Avatar
andryk andryk is offline Forum Advisor  
Registered User
  
 

Join Date: Sep 2003
Posts: 448
Ye, procmail is your first choice, here's a link to a tutorail
Closed Thread

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 04:57 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