Solved

Receiving mime messages with attachments

Posted on 1998-12-08
7
351 Views
Last Modified: 2010-04-21
At this moment i'm using filter to filter out some messages from my mailbox and process the data in it. However, at this moment people, sending me this data, do still have to put their data in the text itself, because when they send it as attachments, i receive a mime-message.
How can i automatically extract the data from such a mime message ? We do have metamail and mimencode on our box.
0
Comment
Question by:c827433
  • 4
  • 3
7 Comments
 

Author Comment

by:c827433
Comment Utility
Adjusted points to 80
0
 
LVL 51

Expert Comment

by:ahoffmann
Comment Utility
does following not work?

   cat mail.text | metatmail
0
 

Author Comment

by:c827433
Comment Utility
"cat mail.text | metamail" doesn't work if i'm using filter. Metamail becomes then interactive. I've found i can specify an option to make it extract the files automatically.
I now specify "cat mail.txt | metamail -w -x -B". In advance i set the variable METAMAIL_TMPDIR to a temporary directory to write the extracted files to.
This seems to work !
0
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 
LVL 51

Expert Comment

by:ahoffmann
Comment Utility
so, did my suggestion point you to a solution?
0
 

Author Comment

by:c827433
Comment Utility
No, actually i found it myself, but you can have the points if you like !
0
 
LVL 51

Accepted Solution

by:
ahoffmann earned 80 total points
Comment Utility
it was a half-hearted answer, but you got to solve your problem.
So we have a PAQ now, nice.
0
 

Author Comment

by:c827433
Comment Utility

Thank you for your support !
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now