8 AAAREADME.TXT for the C-language ADDRESS_REWRITER module8 --------------------------------------------------------   Last modified: 02 Dec 2001 mdm  F This kit contains the source code and template configuration files for? an ADDRESS_REWRITER callout module.  This module can be used to A implement aliases based on full domain names.  Real addresses are H rewritten to their aliases in the From: header on all outgoing messages,> and the aliases are translated back into real addresses in the9 envelope destination address fields on incoming messages.   A Mappings between actual and alias addresses are maintained in the B file MX_DIR:MX_ALIAS_ADDRESSES.TXT, although you can override thisC default by defining the logical name MX_ALIAS_ADDRESSES system-wide C to point to the actual location of the file.  A sample file showing 0 the format of this file is provided in this kit.  G This module has been successfully used on an OpenVMS Alpha V7.3 system, E compiled using DEC C V6, and an OpenVMS VAX V7.1 system compiled with J DEC C V4.  Your mileage may vary with other versions of OpenVMS and/or the C compiler.    Kit Contents ------------V ADDRESS_REWRITER.ALPHA_OPT  Linker options file for linking the callout module (Alpha)@ ADDRESS_REWRITER.C          Main address-rewriter callout moduleT ADDRESS_REWRITER.VAX_OPT    Linker options file for linking the callout module (VAX)L BUILD.COM                   Command procedure to compile and link the moduleB CONFIG.C                    Configuration file management routinesH DESCRIP.MMS                 MMK description file for building the module6 MEM.C                       Memory management routines7 MX_ALIAS_ADDRESSES.TEMPLATE Template configuration file H TEST.C                      Program for testing the module interactivelyL TEST.OPT                    Linker options file for linking the test program   Installing the Callout Module  -----------------------------   ; 1.  Build it either with the command procedure or with MMK. <     Build and link the test program, if desired, to test the"     module and your configuration.  @ 2.  Copy the resulting shareable image to a directory somehwere.A     If you place the image at MX_EXE:ADDRESS_REWRITER.EXE, the MX F     startup procedure will automatically perform steps 3 and 4, below,     for you.  I 3.  DEFINE/SYSTEM/EXEC MX_SITE_ADDRESS_REWRITER dev:[dir]ADDRESS_REWRITER   D 4.  Make sure the DEFINE in step 3 is in your system startup, BEFORE     MX is started    5.  Shut down and restart MX   Configuring the Callout Module ------------------------------  B 1.  Create a base configuration file (use the template provided as"     a starting point, if you wish)  G 2.  Either save the file as MX_DIR:MX_ALIAS_ADDRESSES.TXT or save it to A     some other location and DEFINE/SYSTEM/EXEC MX_ALIAS_ADDRESSES /     to point to the actual location of the file   E 3.  MCP RESET ROUTER,SMTP_SERVER to pick up any configuration changes   