Technical article 109648

newaliases(ADMN) or /usr/lib/sendmail -bi fails to run on SCO OpenServer 5.0.5.

OpenServer 5.0.5

Written · Last revised

Problem

Running the command newaliases(ADMN) results in these error messages:

WARNING: writable directory /usr WARNING: writable directory /usr/spool WARNING: writable directory /usr/spool/mqueue WARNING: writable directory /usr WARNING: writable directory /usr WARNING: writable directory /usr WARNING: writable directory /usr hash map "Alias0": unsafe map file /usr/lib/mail/aliases: Symbolic links not allowed WARNING: writable directory /usr dbm map "Alias0": unsafe map file /usr/lib/mail/aliases: Permission denied WARNING: cannot open alias database /usr/lib/mail/aliases Cannot create database for alias file /usr/lib/mail/aliases: No such device

Solution

The recommended way to resolve this problem is to apply Release Supplement 505A for SCO OpenServer 5.0.5 (rs505a). Release Supplement 505A can be downloaded from:

https://ftp.scoexpert.com/Supplements/rs505a

An alternative workaround is to break or move the symbolic links /usr/lib/mail/aliases and /usr/lib/mail/aliases.db and copy the files these links point to into /usr/lib/mail. For example:

# cd /usr/lib/mail
# mv aliases aliases-
# mv aliases.db aliases.db-
# cp /var/opt/K/SCO/SendMail/8.8.8b/lib/aliases aliases
# cp /var/opt/K/SCO/SendMail/8.8.8b/lib/aliases.db aliases.db
# chmod 644 aliases aliases.db
# ls -l aliases*
-rw-r--r--   1 root     bin          385 Sep 11 12:59 /usr/lib/mail/aliases
lrwxrwxrwx   1 root     sys           42 Sep 10 16:50 /usr/lib/mail/aliases- ->
/var/opt/K/SCO/SendMail/8.8.8b/lib/aliases
-rw-r--r--   1 root     sys         4096 Sep 11 13:02 /usr/lib/mail/aliases.db
lrwxrwxrwx   1 root     sys           45 Sep 10 16:50
/usr/lib/mail/aliases.db- ->
/var/opt/K/SCO/SendMail/8.8.8b/lib/aliases.db
NOTE:     When making use of the System Verify option in the Software Manager,
          be careful not to re-create these symbolic links.

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