Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Virtual Domains and Email under 5.0.6

Virtual Domains and Email under 5.0.6

by  uctken  Posted    (Edited  )
The following was performed using SCO OSE 5.0.6
and Sendmail 8.11.0

You can create virtual domains using the SCO Internet Manager. (sorry, but this is only and X desktop utility)

Once you have created the domains, everything seems to work properly with the exception of the email routing.
According to the Sco manual, there is a selection for SYSTEM-WIDE vs. INDIVIDUAL unique set of users for each domain.

Choosing SYSTEM-WIDE updates the file in
/usr/internet/ip/<ipaddr>/sco_mail/config with the entry
SYSTEM_USERS=1
But this seems to have no effect on the routing of mail.

The "bug" in the system is in the sco T/A refers to the fact that if you wish to have individual users defined for each separate domain, you must "fix" the system.

URL: http://stage.caldera.com/cgi-bin/ssl_reference?105790
TA #: 105790

It calls for the following
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 allow INDIVIDUAL users in each domain to work properly.

HOWEVER

If you choose the SYSTEM-WIDE option on a virtual domain. (Force the use of /etc/passwd and all users mailbox to the standard /usr/spool/mail/xxxxx) you MUST REMOVE the domains.db file.

This will allow the virtual domains to use the "main" system user's list in /etc/passwd.
After testing, I can now email all /etc/passwd users, and aliases of them, with all of the mail going to the original /usr/spool/mail/xxxx file.

I hope this helps
Ken
U.C.T.



Register to rate this FAQ  : BAD 1 2 3 4 5 6 7 8 9 10 GOOD
Please Note: 1 is Bad, 10 is Good :-)

Part and Inventory Search

Back
Top