- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- uuencode not sending attachments in right format a...
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
тАО10-05-2006 03:55 AM
тАО10-05-2006 03:55 AM
We have been using uuencode to send attachments for reports to person's email boxes in Exchange/Outlook from HP-UX 11.11 OS for years.
Suddenly within the last week this started to not work properly. The recipients get the email and attachment, but the attachment is illegible and has control characters and incorrect format strings. Any ideas?
Our original syntax is:
uuencode report.txt report.txt|mailx -m -s "report.txt "
I've also tried: (Per another forum thread's recommendation)
ux2dos report.txt | uuencode report.txt report.txt|mailx -m -s "report.txt "
Would anyone have any other ideas on what could be suddenly causing this?????
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-05-2006 04:12 AM
тАО10-05-2006 04:12 AM
Re: uuencode not sending attachments in right format anymore
looking at man uudecode:
"If an encoded file has the same name as the destination name specified in it, uudecode starts overwriting the encoded file before decoding is completed."
Start with changing the filenames. [Unlikely]
Ask the receiever to 'stitch' the attachments together and then do a uudecode.
[Proof format problem, not mailreader application]
Has anything changed in the transmission path ? Additional mail gateways/firewalls ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-05-2006 05:17 AM
тАО10-05-2006 05:17 AM
Re: uuencode not sending attachments in right format anymore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-05-2006 05:26 AM
тАО10-05-2006 05:26 AM
Re: uuencode not sending attachments in right format anymore
Can you post email header here (attachment related info but not those relay address)? so we can understand more on how exchange treat the attachment sent from your Unix server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-05-2006 05:29 AM
тАО10-05-2006 05:29 AM
Re: uuencode not sending attachments in right format anymore
Please indicate what you mean by email header?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-05-2006 05:40 AM
тАО10-05-2006 05:40 AM
Re: uuencode not sending attachments in right format anymore
I realize this may not suit your requirements, but if report.txt is ASCII data, you can simply make it the body of your message:
# mailx -m -s "report.txt appears in body" your@email.addr < report.txt
I suspect something has changed on your relay. Has new software (e.g. anti-virus, anti-spyware, firewall) been installed on the Windows server? Has the OS been updated recently?
Has anything changed on the client PCs?
PCS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-05-2006 05:43 AM
тАО10-05-2006 05:43 AM
Re: uuencode not sending attachments in right format anymore
(Realizing this is the more difficult road to take)
I talked to our Exchange folks and they're saying they have not done any changes since August. This issue started only a week or so ago.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-05-2006 05:46 AM
тАО10-05-2006 05:46 AM
Re: uuencode not sending attachments in right format anymore
.............
Message-Id: <451a1835.86@happydays.be>
From: XXXX
To: xxxxxx
Subject: xxxxxxx
Date: Wed, 27 Sep 2006 08:20:37 +0200
Reply-To: No Reply
X-MA-Reference: 5v7y12hn55Y5FI0_anz555W
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NexPart_000"
X-UIDL: 00000000001f871d.0000075f
X-MSP-STORE: Wed, 27 Sep 2006 08:20:50 +0200
Status:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-05-2006 05:52 AM
тАО10-05-2006 05:52 AM
Re: uuencode not sending attachments in right format anymore
If it was working and you changed nothing and suddenly it does not work:
Its probably a change somewehre else. smtp gateway upgrades or changes can introduce bugs that make file attachments fail.
You script may not however be adequate to the new situation.
Here is a production script that works well. Do change the default email addresses in it if any are still hard coded.
http://www.hpux.ws/mailfile2
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
тАО10-05-2006 05:53 AM
тАО10-05-2006 05:53 AM