Technical article 105671

MMDF appears to corrupt 8-bit characters in mail messages on OpenServer 5.

OpenServer 5.0.0OpenServer 5.0.2OpenServer 5.0.4OpenServer 5.0.5OpenServer 5.0.6

Written · Last revised

Problem

I am using mmdf(ADM) as my mail transport, and I noticed that
when I send an email containing 8-bit characters, for example,
German special characters, it appears to be corrupted when it
is received.  All the special characters have been replaced by
strings similar to "=C4".

Cause

mmdf(ADM) has been configured to send 7-bit characters, and it is encoding 8-bit characters as 7-bit strings to protect them.

In addition, if you are running the scomail(XC) mail client, it
may also be MIME-encoding 8-bit characters as 7-bit character
strings.

Solution

In order to configure mmdf(ADM) to send 8-bit characters, edit the file /usr/mmdf/mmdftailor and add:

confstr="charset=8bit"

to each channel definition in mmdftailor(F), for example:

MCHN show="Local delivery", name=local, tbl=local, pgm=local, ap=822,
mod=imm,  que=local, confstr="charset=8bit"
Now rebuild the mmdf database manually.  To do this, enter the
following commands as user mmdf:
cd /usr/mmdf/table
./dbmbuild

NOTE: If you specify any options on the dbmbuild(ADM) command line, you must add the -n option as well. This option creates a new database instead of updating the existing one. To watch the progress of the build, enter dbmbuild -vn.

Reboot the system so that the mail router picks up the change.

In order to configure scomail(XC) to send 8-bit characters, edit the file /usr/lib/X11/<locale>/app-defaults/ScoMail, and change the X resource pass8bits to TRUE.

NOTE:     This also applies to the UK pound sign which will be transported
          correctly as ^237 if the 8 bit value is set.

See also

SCO OpenServer Features and Limitations Chapter 2, "Commands, system software, and graphical environment: limitations and workarounds", subsection "Using mail in 8-bit (European) locales".

Manual page: dbmbuild(ADM)
SCO OpenServer 5 Mail and Messaging Guide

From the Xinuos technical article database, record 105671. Reproduced with permission. The original is at www.sco.com/ta/105671, which is reachable but blocked from search engines.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.