Technical article 126181

local mail is non-deliverable and bounces, domain masquerading is not working properly with sendmail on Openserver 6.0.0

OpenServer 6.0.0

Written · Last revised

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

Manually restart sendmail with the following commands:

# /etc/rc2.d/P86sendmail stop
# /etc/rc2.d/P86sendmail start

From the Xinuos technical article database, record 126181. Reproduced with permission. The original is at www.sco.com/ta/126181, 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.