; Sample alias file for Mercury. ; Copright (c) 1993-97, David Harris, All Rights Reserved. ; ; The format for this file is: ; ; alias == real_address ; ; Lines starting with ';', '#' or '*' are considered comments ; and are ignored, as are blank lines. There may be trailing ; and leading whitespace on entries - it is all stripped out ; in the alias file. It is a limitation of this release of ; Mercury that you cannot have an alias or real address which ; contains '==' because no quoting mechanism is implemented. ; ; Compile the file using MALIAS.EXE, and copy it to the place ; you have specified in MERCURY.INI. You can update Mercury's ; alias file while Mercury is running, although it is best to ; use PCONSOLE to stop servers from servicing jobs in the mail ; queue while you do so. ; ; You can have an almost unlimited number of aliases, and you ; may have them resolve to anything you wish. Aliases are ; resolved before any other attempt at address resolution is ; made, so it is perfectly legal to have a local-looking alias ; resolve to an off-server address. Note, though, that aliases ; work strictly on the ADDRESS - they are not affected by any ; quoted or comment text which is attached to it. As an example ; of the impact of this, the aliasing mechanism regards these ; two addresses as identical: ; ; "My what a funny day!" david@pmail.gen.nz ; (Master of the Lightbulbs) "Pop!" ; ; Aliases may be applied recursively up to four levels deep - ; that is, you may have aliases for aliases in this file. ; (although it still eludes me why anyone would do this). ; ; Neither aliases nor real addresses are case-sensitive, ; although case is preserved in real addresses. ; ; FILE and TFILE aliases: ; You can implement a quite powerful autoresponder capability in ; Mercury using FILE or TFILE aliases. These are aliases that resolve ; to a file (for FILE:) or to a template file (for TFILE:). When mail ; is sent to a FILE: or TFILE: alias, Mercury mails the file rather ; than attempting to delivery the message. For FILE: aliases, the file ; is mailed to the sender of the message, while for TFILE: aliases, the ; file is mailed according to the settings in the template. When mail ; is sent to a FILE: or TFILE: alias, the incoming message is discarded ; once the file has been sent. ; ; Examples: ; info-widget@foo.bar.com == file:sys:system/mercury/info.txt ; faq-widget@foo.bar.com == tfile:sys:system/mercury/widget.mer david@pmail.gen.nz == support david@urania.pmail.gen.nz == support D.Harris@pmail.gen.nz == support David_Harris@pmail.gen.nz == support D.Harris@urania.pmail.gen.nz == support David_Harris@urania.pmail.gen.nz == support David.Harris@pmail.gen.nz == david David.Harris@urania.pmail.gen.nz == david D.Harris == support David_Harris == support foobar@pmail.gen.nz == david@parnassus.pmail.gen.nz dave@pmail.gen.nz == support dharris@pmail.gen.nz == support harris@pmail.gen.nz == support orders@pmail.gen.nz == julia@pmail.gen.nz rec.arts@pmail.gen.nz == rec.arts%nb@pmail.gen.nz Julia.Smith@pmail.gen.nz == julia Julia_Smith@pmail.gen.nz == julia J.Smith@pmail.gen.nz == julia Richard.Stevenson@pmail.gen.nz == richard R.Stevenson@pmail.gen.nz == richard Richard.Stevenson@urania.pmail.gen.nz == richard Richard_Stevenson@pmail.gen.nz == richard Hans.Ostrom@pmail.gen.nz == hans Hans_Ostrom@pmail.gen.nz == hans H.Ostrom@pmail.gen.nz == hans HOM@pmail.gen.nz == hans