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 -nvand 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.