Groups | Search | Server Info | Keyboard shortcuts | Login | Register


Groups > gnu.utils.bug > #2205

Re: uuencode can sent zip attached through mailx anymore

From Bob Proulx <bob@proulx.com>
Newsgroups gnu.utils.bug
Subject Re: uuencode can sent zip attached through mailx anymore
Date 2016-05-03 20:41 -0600
Message-ID <mailman.2071.1462330766.7477.bug-gnu-utils@gnu.org> (permalink)
References <9ADFA51EAAAC344E96AFD98ACDB0CFB7317E5E96@chvpkw8xmbx03.chvpk.chevrontexaco.net>

Show all headers | View raw


Zhou, Joy wrote:
> 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

> 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

Back to gnu.utils.bug | Previous | Next | Find similar


Thread

Re: uuencode  can sent zip attached through mailx anymore Bob Proulx <bob@proulx.com> - 2016-05-03 20:41 -0600

csiph-web