Conversion from Centos 5 to Centos 7 & mailx changes

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



Everyone,

I have just upgraded a Centos 5 server to a Centos 7 server and am
having difficulty with a change of behavior of mailx with the use of a
command line of :

mail -s 'This is the subject' user@xxxxxxxxxx < text_file.txt

On Centos 5 when mailx was used by a program started by a cron job we
were able to send a text file as an email message and the headers did
not contain 'Content-Transfer-Encoding: base64'

On Centos 7 the headers contain 'Content-Transfer-Encoding: base64' and
when the client gets the e-mail they are unable to open it up.

The interesting thing is that on Centos 7 when the command line is used
by typing the above command 'Content-Transfer-Encoding: 7bit' is placed
in the header and the client can see the e-mail without a problem.

I have looked for a way to control the 'Content-Transfer-Encoding:'
header to '7bit' when we use a cron job, but I have not been able to
figure out how.

Your suggestions would be appreciated.

Thank you,
-- 
Greg Ennis

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux