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@vienna-bak
#endif
        
#if piktwebsys | emcwebsys
        info:           brahms
#else
        info:           staff
#endif
        
        webmaster:      brahms

#if ! ( venice | vienna )
        
        brahms:          brahms@vienna-bak
#endif

#if piktwebsys | emcwebsys
        
        johannes.brahms:       brahms
#endif

#if emcwebsys
        
        emc-info:       xanadu@zyborg.org, gabrieli@venice.earlymusichicago.org,
                        johannes.brahms@earthlink.net
#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@vienna-bak
#endif

///////////////////////////////////////////////////////////////////////////////

For more examples, see Samples.

 
Home | FAQ | News | Intro | Samples | Tutorial | Reference | Software
Developer's Notes | Licensing | Authors | Pikt-Users | Pikt-Workers | Related Projects | Site Index | Privacy Policy | Contact Us
Page best viewed at 1024x768 or greater.   Page last updated 2018-01-02.   This site is PIKT® powered.
Copyright © 1998-2018 Robert Osterlund. All rights reserved.
Home FAQ News Intro Samples Tutorial Reference Software
PIKT Logo
PIKT Page Title
View sample
Postfix main.cf
config file