Tuesday, August 12, 2008

Horde config on setting default identity mail domain

Horde Config not to forget

- I want to have my default email domain inplace, so that when I login, then create an email, I have automatically a from of user@mydomain.com on my Identity.

Files need to edit.

{horde-root-dir}/imp/config/servers.php

Orig entry of horde-webmail-1.1.1, assuming you only have a singe domain


$servers['_prompt'] = array(
'name' => _("Choose a mail server:")
);

/* Example configurations: */


$servers['imap'] = array(
'name' => 'IMAP Server',
'server' => 'localhost',
'hordeauth' => false,
'protocol' => 'imap/notls',
'port' => 143,
);



and here's the entry with quota monitor

$servers['imap'] = array(
'name' => 'IMAP Server',
'server' => 'localhost',
'hordeauth' => false,
'protocol' => 'imap/notls',
'port' => 143,
'folders' => '',
'namespace' => '',
'maildomain' => 'mydomain.com', //change this to whatever your domain is
'smtphost' => 'localhost',
'smtpport' => 25,
'realm' => '',
'preferred' => '',
'quota' => array(
'driver' => 'command',
'params' => array(
'host' => 'localhost',
'port' => 12345
)
),
'dotfiles' => false,
'hierarchies' => array()
);