LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-03-2003, 11:44 AM   #1
ancientt
LQ Newbie
 
Registered: Feb 2003
Posts: 5

Rep: Reputation: 0
How do I: convert my fetchmail email file to separate email files?


I don't like the email clients I've tried. I want a program that will retrieve my email and store it in a directory of my choice, saving each email as a single file readable by a browser. This doesn't seem like something that would be hard to do and I suspect I could do it myself with a script but I hate to do it myself if someone has done it better.

Currently I'm quite happy with the results of my testing with fetchmail but basically would like something that will parse it for me.
 
Old 02-03-2003, 02:14 PM   #2
vladkrack
Member
 
Registered: Oct 2002
Location: Curitiba - Brazil
Distribution: Conectiva
Posts: 334

Rep: Reputation: 30
To parse it you can use the procmail. It checks for a .procmailrc file in your home dir to distribute it in other files, like:

# cat ~/.procmailrc
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin
INBOX=/home/user/mail/INBOX
MAILDIR=/home/user/mail
DEFAULT=$MAILDIR/INBOX

#group
:0
*^To:.*group@domain
$MAILDIR/group
:0
*^Cc:.*group@domain
$MAILDIR/group:0
#person
:0
* ^From:.*person@domain
$MAILDIR/person
 
  


Reply



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
postfix / fetchmail email notification wolfipa Linux - Newbie 0 01-26-2005 02:11 AM
Fetchmail, downloading only email I don't already have miknight Linux - Software 1 06-06-2004 04:28 AM
separate login IDs/passwords for email and users zthomasz Linux - Security 3 08-01-2003 11:35 AM
separate login IDs/passwords for email and users zthomasz Linux - Newbie 3 07-29-2003 01:19 PM
Sendmail: How do I config to write separate file for every email 360 Linux - Software 4 03-31-2003 08:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:46 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