- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to extract/save an email attachment in HPUX 11...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2010 03:43 PM
тАО05-06-2010 03:43 PM
I sent a MS Outlook email with several TEXT attachment files to a HPUX 11.23 server. How to extract/save these attachmenet files to /home/oracle folder? Should I use "mail" command? Can you please help?
Thank you.
Regards,
Jan Shu
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2010 07:10 PM
тАО05-06-2010 07:10 PM
Re: How to extract/save an email attachment in HPUX 11.23?
> files [...]
Normally, this would mean that you have a
MIME e-mail message.
I don't get e-mail on an HP-UX system so I
know nothing, but for interactive use, I'd
expect an e-mail-capable Web browser to be
able to handle a MIME message. Or any other
reasonably modern e-mail client program,
like, say, "elm". For non-interactive use,
I'd look into a program like "mpack"
(specifically, its "munpack" component).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2010 11:37 PM
тАО05-06-2010 11:37 PM
Re: How to extract/save an email attachment in HPUX 11.23?
Do you have thunderbird installed? Use it directly or you could use mailx to save the message in the thunderbird folder then use thunderbird to do fancy stuff.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2010 12:52 AM
тАО05-07-2010 12:52 AM
SolutionOthers already gave you some pointers.
More possibilities (because Unix
is very flexible):
a) Procmail recipes. Example in
.procmailrc:
:0 c
*
| munpack -q -C ~oracle/files/
b) ripMIME:
http://www.pldaniels.com/ripmime/
c) Perl scripts that use MIME::Parser.
One of them is here:
http://zombiechow.com/lookatme.txt
d) Mimedump:
http://www.cpan.org/authors/id/E/EL/ELIJAH/mimedump
e) And another Perl script - unmime:
http://tek-tips.com/faqs.cfm?fid=4138
f) Write mutt filter. For example,
save this into muttrc:
# macro to save all picture attachments
set pipe_decode = no
macro index A "| munpack -C ~oracle/mydir\n"
macro pager A "| munpack -C ~oracle/mydir\n"
Then, when you select a message in index
mode or pager mode, you can hit "A" and it
will save all attachments to ~oracle/mydir.
It has been a long time since I last
had mailboxes on Unix servers (Linux excluded), so maybe there are other options
too.
Cheers,
VK2COT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2010 04:57 AM
тАО05-07-2010 04:57 AM
Re: How to extract/save an email attachment in HPUX 11.23?
Dear VK2COT,
I will try the solutions you provided. Hope they are easy to use :-)
HP CE suggests mutt:Here is a ported version for HP-UX:
http://hpux.connect.org.uk/hppd/hpux/Networking/Mail/mutt-1.5.20/
Have a great weekend.
Best Regards,
Jan