IMP - the Internet Messaging Program
IMP
With Debian Lenny come standard, stable applications. The IMP webmail application that is packaged for Debian is version 4.2. The quickest way to install IMP is
apt-get install imp4
With both horde3 and a mailserver (e.g. Postfix) completely installed and configured, no extra packages will get installed.
Before you configure IMP, you need to prepare file permissions for web configuration (this is a recurring theme for any horde3 application):
touch /etc/horde/imp4/conf.bak.php chmod 777 /etc/horde/imp4/conf*.php
Now you can log in to horde3 web interface as a user with administrative rights. In the Horde3 tree, choose setup from the menu 'mail(imp)' Generate your configuration (GPG/PGP, user constraints, enable spam/ham report, hooks...).
And when you're done change the permissions back
chmod 644 /etc/horde/imp4/conf.php chmod 700 /etc/horde/imp4/conf.bak.php
And specify your mail server(s) in /etc/horde/imp4/servers.php file
$servers['imap'] = array( 'name' => 'IMAP Server', 'server' => 'localhost', 'hordeauth' => 'full', 'protocol' => 'imap/notls', 'port' => 143, 'maildomain' => 'sample.com', 'smtphost' => 'localhost', 'smtpport' => 25, 'realm' => 'sample.com', 'preferred' => , );
When you are ready, enable IMP in /etc/horde/horde3/registry.php file and verify if all is right. Yes, you read well, you MUST enable manually module in registry.php file after configuration!
$this->applications['imp'] = array( 'fileroot' => '/usr/share/horde3/lib' . '/../imp', 'webroot' => $this->applications['horde']['webroot'] . '/imp', 'name' => _("Mail"), 'status' => 'active', 'provides' => array('mail', 'contacts/favouriteRecipients') );
Change the status from inactive to active