Solved

Receiving mime messages with attachments

Posted on 1998-12-08
7
352 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
ID: 2008256
Adjusted points to 80
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 2008257
does following not work?

   cat mail.text | metatmail
0
 

Author Comment

by:c827433
ID: 2008258
"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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 51

Expert Comment

by:ahoffmann
ID: 2008259
so, did my suggestion point you to a solution?
0
 

Author Comment

by:c827433
ID: 2008260
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
ID: 2008261
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
ID: 2008262

Thank you for your support !
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
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…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

914 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

16 Experts available now in Live!

Get 1:1 Help Now