LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   split mail received in local mail box into different files (https://www.linuxquestions.org/questions/linux-general-1/split-mail-received-in-local-mail-box-into-different-files-841371/)

golden_boy615 10-30-2010 07:13 AM

split mail received in local mail box into different files
 
hello every body
How can I split my local mail box into an individual files for each mail.
The senario of mine is I fetch some emails from a mail server into my local linux box with fetchmail command but I want each fetched mail in a different indivitual file for easy file processing and manipulation for example sending those email through sms and so on.
What is the solution.

Thanks A lot for any help. I

bathory 10-30-2010 11:13 AM

Hi,

You can use procmail to filter incoming email based on various criteria, such as subject, sender etc. And define the actions you want to perform on this mail (store it, run a script and so on)

Regards


All times are GMT -5. The time now is 03:08 AM.