<?php

  // Global Variables, don't touch these unless you want to break the plugin  
  //
  global $notPartOfDomainName, $numberOfDotSections, $useSessionBased,
         $putHostNameOnFrontOfUsername, $checkByExcludeList,
         $at, $dot, $dontUseHostName, $perUserSettingsFile,
         $smHostIsDomainThatUserLoggedInWith, 
         $useDomainFromServerEnvironment, $virtualDomains,
         $sendmailVirtualUserTable, $virtualDomainDataDir,
         $allVirtualDomainsAreUnderOneHost, $vlogin_debug, $removeFromFront,
         $chopOffDotSectionsFromRight, $chopOffDotSectionsFromLeft,
         $translateHostnameTable, $pathToQmail, $atConversion,
         $removeDomainIfGiven, $alwaysAddHostName, $reverseDotSectionOrder,
         $replacements, $usernameReplacements, $forceLowercase,
         $securePort, $useDomainFromVirtDomainsArray,
         $usernameDomainIsHost, $stripDomainFromUserSubstitution,
         $serviceLevelBackend, $internalServiceLevelFile,
         $vlogin_dsn, $sqlServiceLevelQuery, $SQLDatabaseDomainLookup,
         $SQLDatabaseUserLookup, $SQLDatabaseServiceLevelLookup,
         $default_org_logo, $rawLoginIsOutgoingEmailAddress,
         $dontUseHostNameUserList, $always_prepend, $always_append,
         $IMAPServerRules, $SMTPServerRules;


  // list of domain-specific attributes (note that each domain is 
  // specified in this array by any string that is unique to the 
  // virtual host name (not necessarily the whole host name -- 
  // "mydomain" is probably enough to represent "mydomain.com")
  //
  // to apply the same service level settings to users in all 
  // domains, simply use the special global array key "*" as given
  // in the example below (note the example shows that "domain2"
  // has slightly different settings for this service level)
  //
  $virtualDomains = array(


//      '*' => array(
//
//
//          'org_title'  => '(isset($_SESSION["username"]) ? $_SESSION["username"] . " - PREMIUM Mail" : "Mail")',
//  //  NOTE: The above line is an example of 
//  //        how you can place the user's
//  //        email address in the SquirrelMail
//  //        title bar.
//
//
//          'settingsWithEmbeddedPHP' => array(
//                                           'org_title',
//                                      ),
//  //  NOTE: The above three lines are required when
//  //        using embedded PHP code in the corresponding
//  //        settings as shown above
//
//
//          'enable_plugins'  => array(
//                                 'gpg',
//                                 'vacation_local',
//                              ),
//          'disable_plugins' => array(
//                                 'banner_ad',
//                              ),
//
//      ),


//      'domain2' => array(
//
//
//          'org_title'  => '(isset($_SESSION["username"]) ? $_SESSION["username"] . " - Premium Mail" : "Mail")',
//  //  NOTE: The above line is an example of 
//  //        how you can place the user's
//  //        email address in the SquirrelMail
//  //        title bar.
//
//
//          'settingsWithEmbeddedPHP' => array(
//                                           'org_title',
//                                      ),
//  //  NOTE: The above three lines are required when
//  //        using embedded PHP code in the corresponding
//  //        settings as shown above
//
//
//          'enable_plugins'  => array(
//                                 'gpg',
//                              ),
//
//      ),


  );


  // turn this on to test your configuration settings - the final
  // IMAP login value will be presented after all processing has
  // been completed
  //
  $vlogin_debug = 0;


