LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-08-2008, 08:19 AM   #1
Murdock1979
Member
 
Registered: Oct 2003
Distribution: Slackware Debian VectorLinux
Posts: 429
Blog Entries: 2

Rep: Reputation: 30
script/application to extract attachments from email


Hello,

I am looking for some sort of script or application to extract files attached to emails that are located in a standard linux mailbox format file (ie. /var/spool/mail) without the need to use an email reader such as apline or mozilla.

Thank you very much,
Murdock
 
Old 05-08-2008, 08:36 AM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
You can try uudeview. It will accepts mailbox files as input, scan them for encoded data and ask you what to do for each attachment. You can also pipe the output of the mail command and tell uudeview to read from standard input. This is useful if you want to decode one particular message only.
 
  


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
Saving Email Attachments kdmcdrm Linux - Software 6 07-19-2006 09:13 AM
mail application to send attachments dragunu Linux - Newbie 2 05-17-2006 08:27 AM
Block Email Attachments sami.ma Linux - Security 2 01-07-2006 02:28 PM
email attachments rhb327 Linux - Software 2 11-13-2004 09:08 AM
Save Email Attachments mwmethe Linux - Software 1 01-14-2004 07:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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