Operating System - HP-UX
1849251 Members
4951 Online
104042 Solutions
New Discussion

Sendmail character set question

 
SOLVED
Go to solution
Jay Song
Advisor

Sendmail character set question

Sendmail is configured on HP-UX 10.20 server, and it send mail out just fine. However, when my outlook receives the email, I have the following message:
-------
This message uses a character set that is not supported by the Internet Service. To view the original message content, open the attached message. If the text doesn't display correctly, save the attachment to disk, and then open it using a viewer that can display the original character set.
--------
As the result, my message is actually in a text file attachment. I can open the attachment with notepad and read it.

I checked my sendmail.cf file. There is an option about character set configured as following:

# default character set
O DefaultCharSet=iso-8859-1

Am I using the wrong character set? Are there any other character sets I can select from? What I need to do to deliver my text message in message body instead of attachment.

TIA.

Jay Song
7 REPLIES 7
Uday_S_Ankolekar
Honored Contributor

Re: Sendmail character set question

Hi,

I guess this setup you need to check up in Outlook rather than sendmail.cf file
-USA..
Good Luck..
someone_4
Honored Contributor

Re: Sendmail character set question

Do
sendmail -bs
if you get back that you are running
Sendmail 8.8.6 (PHNE_17190)/8.8.6

try to comment out

# default character set
#O DefaultCharSet=iso-8859-1

restart sendmail and give it a try. Dont forget to make a backup before you change things out.

Richard
Patrick Wallek
Honored Contributor
Solution

Re: Sendmail character set question

Have a look at this document from the TKB. Doc ID: A5524602

Problem Description

mailx is sending a charset of X-Roman8 in its
messages, and the mail client used to read this
mail (for example, MicroSoft Exchange) complains that it is a non-standard character set.

As per the mailx(1) man page, the default charset is us-ascii, but this does not appear to be the case.

How do I solve this problem?

Configuration Info

Operating System - HP-UX
Version - 11.0
Hardware System - HP 9000
Series - G50

Solution

You must apply the following patches to your
system to resolve this issue:

PHNE_16855 (10.X)
PHNE_16390 (11.0)

Note: Patches may be superseded; be sure to
load the most current version.
Geoff Wild
Honored Contributor

Re: Sendmail character set question

We had problems with sending email from Unix to Exchange/Outlook - had to write a perl script to mime encode the email.

Just change the first line to the location of perl on your system.

Usage: mailit [ -b bcc ] [ -c cc ] [ -f from ] [ -s subject ] recipient...
mailit sends mail and mime encodes the subject and message body


Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Jay Song
Advisor

Re: Sendmail character set question

Patrick,

Your solution solved my problem. I applied the patch, and it worked very well. My email is no longer in attachement.

Thanks.

Jay Song
Alzhy
Honored Contributor

Re: Sendmail character set question

An old 11.0 box. I modified a script that previously used ELM to send logs to Outlook E-Mail accounts. This server has the patch that Patrick recommended but now some of my Outlook recipients are getting this unsupported character set problem with the message as an attachment. Some receives them perfectly..

On other 11.11 systems, I do have scripts which send status messages to Outlook users. When those scripts are run interactively from the command line.. the recepients also get the same mail behaviour.. but when run via job control/cron -- the messages come out perfectly..



Hakuna Matata.
Alzhy
Honored Contributor

Re: Sendmail character set question

mailx -m
Hakuna Matata.