Mail Aliases
In this sample aliases_common_files.cfg, we specify some common elements for all instances of the mail alias database file, /etc/aliases. This aliases_common_files.cfg file is #included by the higher-level aliases_files.cfg file. Note how, by means of the '#if ... #endif' directives, we customize aliases file entries for different systems.
/////////////////////////////////////////////////////////////////////////////// // // aliases_common_files.cfg // /////////////////////////////////////////////////////////////////////////////// #if vienna root: brahms #else root: brahms #endif #if piktwebsys | emcwebsys info: brahms #else info: staff #endif webmaster: brahms #if ! ( venice | vienna ) brahms: brahms #endif #if piktwebsys | emcwebsys johannes.brahms: brahms #endif #if emcwebsys emc-info: , , #endif #if piktwebsys pikt-info: brahms pikt-bugs: brahms pikt-help: brahms #endif #if piktwebsys | emcwebsys forum-admin: brahms feedback: brahms contribute: brahms donate: brahms donations: brahms #endif #if websys apache: brahms #endif ///////////////////////////////////////////////////////////////////////////////
For more examples, see Samples.