Technical article 105790

Using virtual domains, I get "user unknown" when sending mail to a user on a user list.

OpenServer 5.0.4OpenServer 5.0.5

Written · Last revised

Problem

After configuring virtual domains through the Internet Manager and specifying the use of a private user list to deliver mail, mail to users on that list fails with a "user unknown" message.

If there is a user with an entry in the /etc/passwd file with the same name as a user in a user list, mail to the user in the user list will always be delivered to the user with the entry in /etc/passwd.

Solution

As root, change directories to /usr/internet/lib/sco_mail. In this directory there should be two files with the following permissions:

-rw-r--r--   1 root     sys          109 Sep 19 15:42 domains
-rw-r--r--   1 root     sys         4096 Sep 19 15:42 domains.db

From within this directory, issue the following command:

# makemap hash domains.db < domains
This will recompile the domains file into a new domains.db data
file.  Mail should now be delivered to users on the virtual
domain's user list correctly.

This problem is scheduled to be addressed in a future release of SCO OpenServer.

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