Technical article 104970

How do I redirect mail from an alias to a legitimate user name?

OpenServer 5.0.0

Written · Last revised

Problem

I've set up an alias to receive general inquiries, but it's not
a real user.  How can I get the mail redirected from the alias to
a real user?

Solution

You can use the alias.user file to redirect mail from an alias
to real users.  You can also use this mechanism as a catchall
for common misspellings.  A sample alias.user file appears below:
 Users On                Users On                Users On
  earth                    mars                  jupiter
=-=-=-=-=-              -=-=-=-=-=-=            -=-=-=-=-=-
 hsolo                    barbie                  cbrown
 brianm
      ---------------         -----------------     -------------------
      |   Machine   |         |   Machine     |     |    Machine      |
      |    Name     |         |    Name       |     |     Name        |
      |             |         |               |     |                 |
      |    earth    |         |    mars       |     |     jupiter     |
      ---------------         ----------------      ------------------
             |                        |                      |
  <:--------------------------------------------------------------------------:>
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
#
# A Sample alias.user file
#
#
hsolo:     hsolo@earth.webewidgets.com
cbrown:    cbrown@jupiter.webewidgets.com
#
# Notice that you can account for common misspellings and nicknames
#
brian:     brian@earth.webewidgets.com
brain:     brian@earth.webewidgets.com
babs:      barbie@mars.webewidgets.com
barbie:    barbie@mars.webewidgets.com
barbara:    barbie@mars.webewidgets.com
#
# General information queries can be redirected
#
info:       barbie@mars.webewidgets.com
sales:      hsolo@earth.webewidgets.com
support:    brian@earth.webewidgets.com
contest:    cbrown@jupiter.webewidgets.com
postmaster: root@earth.webewidgets.com
webmaster:  root@earth.webewidgets.com

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