Receiving mime messages with attachments

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.
c827433Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
ahoffmannConnect With a Mentor Commented:
it was a half-hearted answer, but you got to solve your problem.
So we have a PAQ now, nice.
0
 
c827433Author Commented:
Adjusted points to 80
0
 
ahoffmannCommented:
does following not work?

   cat mail.text | metatmail
0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
c827433Author Commented:
"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
 
ahoffmannCommented:
so, did my suggestion point you to a solution?
0
 
c827433Author Commented:
No, actually i found it myself, but you can have the points if you like !
0
 
c827433Author Commented:

Thank you for your support !
0
All Courses

From novice to tech pro — start learning today.