alias file

The alias file is used to map LOCAL names to other names. The target names may be either local or remote. Additionally, a single input name may produce multiple output messages. Thus, typical uses for the alias file are:

The aliasname is a local username or area; that is, it does not contain an "@" symbol. When the alias file is processed, if the destination of the message matches the aliasname precisely, then the mail is redirected to ALL of the aliased recipients. Note that alias records are of the form:

Each field entry is separated by whitespace. Each destination may be one of:

Each record is separated by a newline.

Mail transport within a single NOS system is performed through the SMTP client/server mechanism. Scanning the alias file is performed by the SMTP server. The SMTP timer (which initiates the SMTP client) is kicked whenever the mailbox or SMTP server queues something for delivery. The result of these facts is that as soon as a piece of mail is entered to the mailbox, the SMTP client is kicked and attempts to deliver the mail (which has already been scanned by the rewrite mechanism - see RewriteFile). If the mail is local to the NOS system (i.e. no "@" sign in the address), then the alias file is scanned and the name mappings take place. As the alias file is scanned only once (see below), this does not result in an infinite recursion. A few lines in the /alias file might look something like:

SMTP delivers to each of the individual addresses in the style in which they are entered in the alias file. If the system does not know how to deliver one of the new addresses, then it will send it to the SMTP gateway station defined by the 'smtp gateway' command.

AliasFile (last edited 2008-06-10 18:12:26 by GeorgeVerDuin)