1753486 Members
4438 Online
108794 Solutions
New Discussion юеВ

sendmail 7bit

 
SOLVED
Go to solution
Peter Lachnitt
Advisor

sendmail 7bit

I have some server with 10.20.
I get some e-mails from it to my outlook.
The most e-mails come normal, the others as an attachement. Why? where can i configure it?
The header ends with:

Mime-Version: 1.0
Content-Type: text/plain; charset=X-roman8
Content-Transfer-Encoding: 7bit

Full backup failed on hp00368 : Wed Jun 21 00:11:31 METDST 2000 .
For more information, see the log file /var/sam/log/br_log.


Peter Lachnitt
5 REPLIES 5
Rick Garland
Honored Contributor

Re: sendmail 7bit

set the env variable

charset=us-ascii

Another option is to use sendmail with the -m switch.

sendmail -m
Alan Riggs
Honored Contributor

Re: sendmail 7bit

Outlook will sometimes throw a message into an attachment if it is unable to determine/replicate the font setting of the original message. I suispect this is what you are encountering.
Mike Seerden
Advisor
Solution

Re: sendmail 7bit

Had the same problem.

The charset=us-ascii setting is the right solution.
It should be placed in the mailx.rc file that is located in /usr/share/lib.
Here is the line to add to mailx.rc

set charset="us ascii"

That should permanently fix the problem.
Dale McNamara
Frequent Advisor

Re: sendmail 7bit

I suspect that the emails you are getting as attachments are from scripts set up to run from cronjobs.

another options would to put the charset right into your scripts where they send the mail by adding the command into it:

~:set charset=us-ascii
Kenneth Martin
Occasional Advisor

Re: sendmail 7bit

Another way is to send the mail as:

mailx -m -s "Test Message" yourmbox <