Problem
Mail bounces when sending internal mail to locally addressed users on system.
Additionally, Sendmail's domain masquerade feature is not
functioning as configured via the `mkdev cf` configuration script. Cause
There is a error in the script handling, prior to installation of OSR 6.0.0 Maintenance Pack 2, when mkdev cf is used to configured sendmail.
Specifically, option 4, "Edit Alternate Host Names" of the script is not correctly integrated into the generated sendmail.cf script nor populating the /etc/mail/local-host-names file that is referenced by sendmail.
This prevents proper delivery and masquerading of mail.
Solution
This problem has been corrected by OpenServer 6.0.0 Maintenance Pack2.
After installing MP2, perform the following steps:
1. login as root user and run the command `mkdev cf`.2. select option 4, "Edit Alternate Host Names", select option 2, "Get Alternate host names from "uname"".
If the detected alternate hostnames for sendmail to use are correct, hit enter to continue.
If this detected are incorrect, repeat this step, but instead select option 1, "Enter Alternate host names manually".
3. Select option 7, "Generate sendmail.cf file", making sure to follow all prompts.
4. Finally, select option 8 to quit the Sendmail configuration utility.
NOTE: If installation of MP2 is not an option, you can alternatively edit
the /etc/mail/local-host-names file with your alternate host names.Each name should be entered on a new line within the file.
For example:support
support.sco.comManually restart sendmail with the following commands:
# /etc/rc2.d/P86sendmail stop
# /etc/rc2.d/P86sendmail start