p dont think said: > check out the sample i sent in my last email. in the virtual domains > array there are two keys you have as 'domain1' and 'domain2'. these > mean nothing to you and are just examples. change them to 'mike-leone' > and 'andiephilo' respectively.
D'OH! mea culpa, mea maxima culpa. I totally glossed over that. You're right; that did it. Thanks so much. > Also noticed a php warning message on your login page caused by the MOTD > plugin. I don't know if that plugin has issues, but it didn't seem > severe in any case. You can turn off such errors to your users by > setting display_errors = Off in php.ini. Also good to know. Yeah, that warning only seems to happen when a specific Quote of the Day is retrieved (one by Lao Tze, I believe). It doesn't happen on any other quote. > > Cheers, > > paul > >> -----Original Message----- >> From: [EMAIL PROTECTED] >> [mailto:squirrelmail-users-admin@;lists.sourceforge.net] On Behalf Of > Michael >> Leone >> Sent: Friday, November 01, 2002 4:39 AM >> To: [EMAIL PROTECTED] >> Subject: RE: [SM-USERS] Many-Domains - still some problems >> >> >> p dont think said: >> >> > I apologize for what probably seems like a somewhat >> > confusing/overwhelming config file, and I am thinking that I will >> include a more realistic sample config file in the next release. > For >> > you, something like this might work: >> >> Unfortunately, it didn't. Go to > <http://www.andiephilo.com/squirrelmail> >> and see that it still says "mike-leone.com". >> >> Here's the config.php I'm using: >> >> <?php >> >> // Global Variables, don't touch these unless you want to break the > plugin >> // >> global $notPartOfDomainName, $numberOfDotSections, >> $checkByExcludeList, $at, $dot, $dontUseHostName, >> $smHostIsDomainThatUserLoggedInWith, $virtualDomains, >> $virtualDomainDataDir; >> >> >> // list of domain-specific attributes >> // >> $virtualDomains = array( >> >> >> 'domain1' => array( >> 'org_name' => 'mike-leone.com', >> ), >> >> >> 'domain2' => array( >> 'org_name' => 'andiephilo.com', >> 'org_logo' => '../images/andiephilo.gif', >> 'org_title' => $_SESSION['username'] . ' - Mail' >> ), >> ); >> >> >> // flags to turn on/off check for irrelevant parts of the hostname >> // and/or number of dot sections in hostname (zero sections turns > off >> // that check) >> // >> $numberOfDotSections = 0; >> $checkByExcludeList = true; >> >> >> // our "exclude list" of strings that are not usually part of the > domain >> // name if given as the first part of the hostname >> // >> $notPartOfDomainName = array('www' >> ,'mail' >> ,'email' >> ,'webmail'); >> // some mail systems won't take the '@' symbol in the login name for >> // virtual host setups. Change that here: >> // >> $at = '@'; >> >> >> // also change the '.' symbol if necessary. >> // >> $dot = '.'; >> >> >> // you can choose not to append the host name to users' login >> // names no matter what by setting this to 1. This is a very >> // rare use of this plugin, and should usually be left at 0. >> // >> $dontUseHostName = 1; >> >> >> // Additionally, you can make sure your users' outgoing emails // >> come from the domain they used to log in if you set this >> // $smHostIsDomainThatUserLoggedInWith to 1. >> // NOTE that you'll typically only need to do this if you are >> // using $dontUseHostName = 1 >> // >> $smHostIsDomainThatUserLoggedInWith = 1; >> >> >> // Override the SquirrelMail $data_dir here, and optionally >> // include the virtual domain name as part of the path (indicated // >> by the constant "###VIRTUAL_DOMAIN###") (you may also do this // on >> a per-host basis in the array above) >> // >> //$virtualDomainDataDir = '/home/squirrelmail/data/'; >> //$virtualDomainDataDir = '/home/sites/###VIRTUAL_DOMAIN###/data/'; >> $virtualDomainDataDir = ''; >> >> ?> >> >> Domain defined as: >> >> <VirtualHost 192.168.100.20> >> ServerAdmin [EMAIL PROTECTED] >> DocumentRoot /var/www/andiephilo >> ServerName www.andiephilo.com >> ErrorLog /var/log/apache/andiephilo.log >> TransferLog /var/log/apache/andiephilo-access.log >> </VirtualHost> >> >> >> -- >> PGP Fingerprint: 0AA8 DC47 CB63 AE3F C739 6BF9 9AB4 1EF6 5AA5 BCDF >> Member, LEAF Project <http://leaf.sourceforge.net> AIM: MikeLeone >> Public Key - <http://www.mike-leone.com/~turgon/turgon-public-key.asc> >> Registered Linux user# 201348 >> >> >> >> >> ------------------------------------------------------- >> This sf.net email is sponsored by: See the NEW Palm >> Tungsten T handheld. Power & Color in a compact size! >> http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en >> -- >> squirrelmail-users mailing list >> List Address: [EMAIL PROTECTED] >> List Archives: > http://sourceforge.net/mailarchive/forum.php?forum_id=2995 >> List Info: > https://lists.sourceforge.net/lists/listinfo/squirrelmail-users > > > > ------------------------------------------------------- > This sf.net email is sponsored by: See the NEW Palm > Tungsten T handheld. Power & Color in a compact size! > http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en > -- > squirrelmail-users mailing list > List Address: [EMAIL PROTECTED] > List Archives: > http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: > https://lists.sourceforge.net/lists/listinfo/squirrelmail-users -- PGP Fingerprint: 0AA8 DC47 CB63 AE3F C739 6BF9 9AB4 1EF6 5AA5 BCDF Member, LEAF Project <http://leaf.sourceforge.net> AIM: MikeLeone Public Key - <http://www.mike-leone.com/~turgon/turgon-public-key.asc> Registered Linux user# 201348 ------------------------------------------------------- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en -- squirrelmail-users mailing list List Address: [EMAIL PROTECTED] List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
