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

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

Re: Upgrading from RHEL5x to RHEL 7x


From: Bob Proulx
Subject: Re: Upgrading from RHEL5x to RHEL 7x
Date: Mon, 4 Apr 2016 17:04:07 -0600
User-agent: Mutt/1.5.24 (2015-08-30)

Hi Prasad,

Prasad Kumar wrote:
> First I want to Thank you for looking into my issue.

Sure.  Happy to help.

> umask 02
> echo "Now is the time" > testfile1
> uuencode testfile1 testfile1 > output1
> Got Same output in both Instance.

Then you know that uuencode on both systems are okay.  That isn't the
problem you are seeing.  You can further confirm this by doing the
longer test with your Attachements.pdf file to be extra certain.  (I
asked for the "Now is the time" file so that we could recreate it
without anything external.)

> Saved and transfered the  uuencode.data1 to RHEL7 
> Sent mail from RHEL7 (Attachment is Corrupted)
> 1. mail -s "This is Attachment Mail" address@hidden < uuencode.data1
> The Attachment is not there instead I get Junk in Body of the mail.

This shows the problem is in the mail side of things.

> 2. I sent mail with  -a option
> echo "uuencode testing"|mail -s "This is Attachment Mail" -a uuencode.data1 
> address@hidden
> 
> I got attachment uuencode.data1 to the mail but cannot open the file

What is your 'mail' command on RHEL7?  The command line 'mail' command
has been many different over many years and systems.  On my Debian
system /usr/bin/mail is the bsd-mailx command selected through the
Debian alternatives system which is not used for that purpose on RHEL.

  ls -l /usr/bin/mail
  rpm -qf /usr/bin/mail

That first may show a symlink.  I don't know.  The second should show
the package associated with the file.  (-q query, -f file).  Hoping it
will be something like bsd-mailx or Heirloom mailx.  Or something.  Do
the same on your working RHEL 5 system.  Compare them.  One is working
and the other is not.  Something is different on the one that is not.

And by different I suspect it is the entire email software stack.  The
two common MTAs for RHEL are Sendmail and Postfix.  Which are you
using?

  alternatives --display mta

It is possible that your mail transport agent is configured one way on
your RHEL 5 system and (probably not at all) configured differently on
your later RHEL 7 system.  Plus note that RHEL 7 has systemd which has
probably included and subsumed the mail transfer agent within itself
and so you might have to study it too.

Since you are using RHEL it implies that you have a paid support
contract with Red Hat.  You might try getting something for your paid
money and asking for support.

Bob



reply via email to

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