bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: uuencode can sent zip attached through mailx anymore


From: Bob Proulx
Subject: Re: uuencode can sent zip attached through mailx anymore
Date: Tue, 3 May 2016 20:41:00 -0600
User-agent: Mutt/1.6.0 (2016-04-01)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]