Upgrading from RHEL5x to RHEL 7x

Prasad Kumar <[email protected]> Mon, 4 Apr 2016 03:58:02 +0000
Newsgroups gmane.comp.gnu.utils.bugs
Message-ID <BM1PR01MB006830E3BEB3AAFA5F2B5C13E59D0@BM1PR01MB0068.INDPRD01.PROD.OUTLOOK.COM>
Hi,

We are upgrading from RHEL 5.x to RHEL 7x.

uuencode --version
uuencode (GNU sharutils) 4.13.3
Copyright (C) 1994-2013 Free Software Foundation, Inc., all rights reserved.
This is free software. It is licensed for use, modification and
redistribution under the terms of the
GNU General Public License, version 3 or later
    http://gnu.org/licenses/gpl.html


The issue is we have many places where we have used uuencode for attachments and send mail.

Now even after we installed uuencode from shareutils , the same command is not working in RHEL 7 linux.


We get attachment as Junk Characters in the Email body for any attachment we send. This is happening with mail command used like below.

$ uuencode Attachement_file.pdf  Attachements.pdf |mail -s "This is Attachment Mail" [email protected]<mailto:[email protected]>


Can some one let me know what is this issue and how to resolve this.

Thanks
Prasad