Discussion:
uuencode can sent zip attached through mailx anymore
(too old to reply)
Zhou, Joy
2016-05-02 23:43:31 UTC
Permalink
TO WHOM IT May Concern,

After we migrated to new version of uuencode, it can't send zip attached file any more. Please help!


uuencode $logfile.zip $logfile.zip|mailx -s "$SUBJECT" "$EMAIL"


[***@gmlcporapsa3000]/oracle/dba/msdsP/scripts>file /usr/bin/uuencode
/usr/bin/uuencode: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamica lly linked (uses shared libs), for GNU/Linux 2.6.18, stripped




Thanks,
Joy Zhou
Data Management & Integration
Data Assets & Analytics

Chevron Information Technology Company
a division of Chevron U.S.A. Inc.
6001 Bollinger Canyon Rd. CA 94583
San Ramon Chevron Park Building F2046
Tel: 925 842-6220
BR1: Tel: 925 790 3524

From: Moreno, Antonia (AMMO) [BEELINE]
Sent: Monday, May 02, 2016 3:36 PM
To: Zhou, Joy
Cc: Chew, Wendy (WendyChew)
Subject: FW: Accesses log and User IDs log on msonlnP for 2 2016
Importance: High

Joy,

There seems to be a problem with these monthly reports; can you please correct ASAP? As you know, our audit has officially started with field work commencing at the end of the month. We would like all of our IP tasks (due in May or earlier) to be completed as soon as possible.

Thank you for your prompt attention to this issue.

Regards,
Antonia
Bob Proulx
2016-05-04 02:41:00 UTC
Permalink
Post by Zhou, Joy
After we migrated to new version of uuencode, it can't send zip attached file any more. Please help!
uuencode $logfile.zip $logfile.zip|mailx -s "$SUBJECT" "$EMAIL"
I very much doubt that the problem is with uuencode. Most likely any
problems will be on the mail side of things.

What version of uuencode are you using? You can get the version by
asking with uuencode --version.

uuencode --version

I will guess that you are using RHEL. What version? If so:

cat /etc/redhat-release
Post by Zhou, Joy
begin 644 msdsP_4_2016_accesses.lis.zip
I decoded that file okay using uudecode from sharutils 4.15.2. Works
for me.

I suspect the problem is in the 'mail' side of things. You can debug
this problem by isolating where the problem exists. Start by
uuencoding a small file. Save the MD5SUM of the uuencoded file. Then
mail the file to yourself using the mail command as you show. Then
save that mailed file. Don't decode it yet. Check the MD5SUM of the
trasmitted file. They should match. If they do not then you know
that the problem is on the mail side. If they do match then decode
the file with uudecode. Compare the source and destination files.
Again they should match. Continue splitting the problem up until you
have converged on the root cause of the problem.

Bob

Loading...