- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- mailx with attached files
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
тАО06-05-2006 10:10 PM
тАО06-05-2006 10:10 PM
mailx with attached files
I have to send the following files using mailx:
1) 4315576 May 29 08:01 P600973_000027_report_analisi_cpi_2006149.zip
2) 2318206 Jun 4 08:01 P610747_000020_report_analisi_cpi_2006155.zip
3) 1477747 Jun 5 08:01 P611561_000009_report_analisi_cpi_2006156.zip
I do:
uuencode file1 file1 |mailx -m -s "file1" user@mail.adr
The two smallest files are received correctly the biggest one is truncated not readable via Lotus Notes, it says 'missing 471482 bytes in Zi pfile'.
I asked to the mailer server administrator the physical limit we have on the network, I says it is 10MB.
The uuencoded files are less that 10MB, see below for the 1)
5945970 Jun 6 09:54 mail_P600973_000027_report_analisi_cpi_2006149.zip
Is there any limitation on the unix server (B.11.11 U 9000/800) , or any limit for sendmail/mailx ?
thanks
Angelo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-05-2006 10:54 PM
тАО06-05-2006 10:54 PM
Re: mailx with attached files
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2006 12:11 AM
тАО06-06-2006 12:11 AM
Re: mailx with attached files
thanks for the link but I think it is strictly related to Linux.
My fault to mention that I have a HP-UX B.11.11 .
regards
Angelo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2006 12:16 AM
тАО06-06-2006 12:16 AM
Re: mailx with attached files
Here is a working script with attachment.
http://www.hpux.ws/mailfile2
It works on both HP-UX and Linux, was developed for HP-UX. It uses sendmail and uuencode.
Note that some smtp firewalls cause problems with attachments when they relay mail. This requires a patch on the smtp gateway.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2006 01:45 AM
тАО06-06-2006 01:45 AM
Re: mailx with attached files
http://hpux.ee.ualberta.ca/hppd/hpux/Users/mpack-1.6/
Mpack and munpack are utilities for encoding and decoding
(respectively) binary files in MIME (Multipurpose Internet Mail
Extensions) format mail messages.
Run it like so:
/usr/local/bin/mpack -s "svr004 cfg2html" svr004.html gwild@mydomain.ca
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2006 05:32 AM
тАО06-06-2006 05:32 AM
Re: mailx with attached files
Attached is an in house doc we use for mutilpe uses of mailx. Written for HP-UX environmanet but may work on linux.
Regards,
dl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-12-2006 01:39 AM
тАО06-12-2006 01:39 AM
Re: mailx with attached files
I have isolated the file (not the char) so by using pkzip -Ud (unix to dos) the issue disappear.
Thanks for your assistance
Angelo