T'Krin's Realm

My yammerings…

Thursday, August 27, 2009

Installing Tomcat 6 and Java by hand on CentOS 5

Good little link. Not much I need to add…

posted by tkrin at 8:57 PM  

Tuesday, August 25, 2009

Setup passwd in Horde to use poppassd

1 – Install poppassd as described in this write up at

  • http://www.linuxmail.info/poppassd-setup-howto-centos-5/
  • .

    2 – Download and install passwd from Horde’s website, http://www.horde.org/passwd/.

    3 – Edit passwd/config/backends.php to be as follows:

    < ?php
    $backends['poppassd'] = array(
    'name' => 'mail.crownservices.com',
    'preferred' => '',
    'password policy' => array(),
    'driver' => 'poppassd',
    'params' => array(
    'host' => 'localhost',
    'port' => 106
    )
    );

    4 – Login as a Horde admin and go into Administrator -> Setup -> Password (passwd) to complete the setup and generate a conf.php file.

    posted by tkrin at 8:03 AM  

    Tuesday, August 25, 2009

    Add domain automatically to Default Identity in Horde when using standard passwd files

    I did a lot of searching for this and finally came up with this solution based on a couple of different ones that I found. These changes will automatically fill in the domain portion of the e-mail address in the Default Identity and lock it down so users can not change their e-mail address on the server.

    1 – Edit config/hooks.php and add the following hook:

    if (!function_exists('_prefs_hook_from_addr')) {
    function _prefs_hook_from_addr($user = null)
    {
    if (is_null($user)) {
    $user = Auth::getAuth();
    }
    if (!empty($user)) {
    $user = Auth::getAuth();
    $mail = "$user" . "@example.com";
    return (empty($mail) ? '' : $mail);
    }
    return '';
    }
    }

    2 – Edit config/prefs.php and change

    $_prefs['from_addr'] = array(
    'value' => '',
    'locked' => true,
    'shared' => true,
    'type' => 'text',
    'desc' => _("Your From: address:")

    to

    $_prefs['from_addr'] = array(
    'value' => '',
    'locked' => true,
    'hook' => true,
    'shared' => true,
    'type' => 'text',
    'desc' => _("Your From: address:")
    );

    posted by tkrin at 7:39 AM  

    Saturday, August 15, 2009

    Useful information if you use or are planning to use Compact Fluorescent Light Bulbs (CFLs)

    The Energy Star site, http://www.energystar.gov/index.cfm?c=cfls.pr_cfls_mercury, contains useful information, especially what to do in the event you break one!

    posted by tkrin at 4:39 PM  

    Sunday, July 5, 2009

    VirtualBox 3 is out

    I’ve been a long time VMware user, and will continue to be, but, VirtualBox is certainly a viable option for those looking for a virtualization solution. Check it out. I’m not going to write up a review, as plenty already have.

    Enjoy! www.virtualbox.org

    posted by tkrin at 9:49 PM  
    Next Page »

    Powered by WordPress