LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 09-24-2004, 08:13 AM   #1
giandrea
LQ Newbie
 
Registered: Sep 2004
Posts: 1

Rep: Reputation: 0
mail messages parse


Hi to all

i'm new here. I've a problem with mail messages.

I've to extract header, body and attach from a mail (qmail format) and insert this information into a database. With sed I can extract all header, with grep I can found From, Subject, Date but I've problem with multiline To and CC field.

What can I use to do this? Is possible to do this with bash scripting?

I've read formail docs, but how can I use formail with a file (qmail store every message in a single file) instead of a mbox?

thanks,
Andrea
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What is this ? Mail Python in /var/log/messages knowsnothing Mandriva 1 12-01-2004 11:04 AM
slack mail messages archish Slackware 2 12-13-2003 08:08 AM
Filtering mail messages on ISP's mail server broxtor Linux - Software 0 07-28-2003 02:47 PM
2 different questions about mail messages finger51 Linux - Newbie 1 09-27-2002 11:59 AM
exporting mail messages elucid Linux - General 0 06-11-2001 10:06 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 01:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration