Technical article 105632

How do I hide my machine name on outgoing mail, using MMDF?

OpenServer 5.0.0OpenServer 5.0.2

Written · Last revised

Problem

Outgoing mail has my local machine name as part of the return
or "From" address.  In other words, the address appears as
"user@machine.domain". I want to hide the local machine name
and use the format "user@domain" instead.

Cause

The variable MLOCMACHINE in /usr/mmdf/mmdftailor needs to be updated.

Solution

Re-run "mkdev mmdf" and select the proper address style from the options there, or do the following manual procedure.

If you have a machine named "testbox" in your domain "xyz.com" and MMDF is configured to include that name in the address, you will see the following variables set in the beginning section of /usr/mmdf/mmdftailor:

MLNAME "testbox"
MLDOMAIN "xyz.com"

Mail leaving this machine will be addressed as "user@testbox.xyz.com".

To hide the machine name, edit /usr/mmdf/mmdftailor to look like this:

MLNAME "xyz"
MLDOMAIN "com"
MLOCMACHINE "testbox"

Mail leaving this machine will now be addressed as "user@xyz.com".

When you have this set properly, run the command:

/usr/mmdf/table/dbmbuild -nv
and then kill and restart the deliver process.  Retest your mail
to make sure the addressing appears as you want it to appear.

Note that in distributed environments where all mail for a domain is processed by one mail server, you may need to set aliases for MMDF to be able to forward mail to appropriate workgroup or departmental servers properly.

From the Xinuos technical article database, record 105632. Reproduced with permission. The original is at www.sco.com/ta/105632, which is reachable but blocked from search engines. Xinuos marks this article against a retired product line. That refers to the product’s lifecycle, not to whether the advice still works — plenty of it still applies to running systems.

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.