[horde] Horde 2.2 & Imp 3.2 - Only INBOX folder

nick at ndhsoft.com nick at ndhsoft.com
Tue May 20 20:03:58 PDT 2003


Hi,

I am running Horde-2.2, Imp-3.2, Turba-1.2 and Kronolith-1.1 on Red Hat 9
with Qmail, Courier-Imap, Vpopmail, Qmailadmin . . .  Vpopmail is
authenticating with MySql.

Everything works except I only have a INBOX folder, no SENT folder.  I am
unable to create any others.

Mail in and out is working.  Turba and Kronolith are working fine.

Any help will be greatly appreciated.

Thanks,

Nick
nick at ndhsoft.com

~~~~~~~~~~~~~~~~~~~~~~~~~~~

Here is part of my setup:

/**
 ** Horde Authentication
 **/

// If you want to use IMP with Horde and don't want to let the users
// login twice (once for Horde and once for IMP) you can setup Horde
// to let IMP do the authentication stuff. Just uncomment the
// auth/login/logout lines in registry.php instead of configuring the
// following settings.

// What backend should we use for authenticating users to Horde? Valid
// options are currently 'imap', 'ldap', 'mcal', 'sql', 'ftp', 'smb',
// 'krb5' and 'radius'.
$conf['auth']['driver'] = 'imap';


~~~~~~~~~~~~~~~~~~~~~~~~~~~

Horde registry.php:

/* auth: Handler for user authentication.
 *   Uncomment the auth/login/logout lines if you want to let
 *   IMP handle the authentication for Horde. This avoids the
 *   "double login" while accessing IMP.
 */
$this->registry['auth']['login'] = 'imp';
$this->registry['auth']['logout'] = 'imp';

/* mail: Handler for sending mail. */
$this->registry['mail']['compose'] = 'imp';
$this->registry['mail']['composePopup'] = 'imp';

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Imp severs.php:

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

$servers['imap'] = array(
    'name' => 'IMAP Server',
    'server' => 'localhost',
    'protocol' => 'imap/notls',
    'port' => 143,
    'folders' => '',
    'namespace' => '',
    'maildomain' => '',
    'smtphost' => 'localhost',
    'realm' => '',
    'preferred' => ''
);

$servers['cyrus'] = array(
    'name' => 'Cyrus IMAP Server',
    'server' => 'cyrus.example.com',
    'protocol' => 'imap/notls',
    'port' => 143,
    'folders' => '',
    'namespace' => 'INBOX.',
    'maildomain' => 'example.com',
    'realm' => 'example.com',
    'preferred' => ''
);

$servers['pop'] = array(
    'name' => 'POP3 Server',
    'server' => 'pop.example.com',
    'protocol' => 'pop3',
    'port' => 110,
    'folders' => '',
    'namespace' => '',
    'maildomain' => 'example.com',
    'realm' => 'example.com',
    'preferred' => ''
);

$servers['exchange'] = array(
    'name' => 'Exchange 5.5 server',
    'server' => 'exchange.example.com',
    'protocol' => 'imap',
    'port' => 143,
    'folders' => '',
    'namespace' => '',
    'maildomain' => 'example.com',
    'realm' => '',
    'preferred' => ''
);

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Imp conf.php:

// Should we allow users to use folders at all? NOTE: setting this to
// false will mean there is no place to save sent-mail or postponed
// messages, along with the obvious affects of restricting the user to
// their INBOX.
$conf['user']['allow_folders'] = true;

// If this is true, then there will be a "Message Source" link in the
// parts list of every message, allowing the user to view the entire
// raw message, or to download it and save it to disk.
$conf['user']['allow_view_source'] = true;

// If this is true, the user will be able to resume any message in any
// mailbox.  Otherwise, only messages marked as 'drafts' can be resumed.
$conf['user']['allow_resume_all'] = false;

// If this is true, the user will be able to resume any message in their
// draft mailbox (to compensate for some clients that don't bother setting
// the draft flag).  Otherwise, only messages marked as 'drafts' can be
// resumed.
$conf['user']['allow_resume_all_in_drafts'] = false;

// If this is anything other than false, then it is assumed to be the
// URL of an alternate login screen which will be used in place of
// IMP's default one.
$conf['user']['alternate_login'] = false;

// If this is anything other than false, it is assumed to be the URL
// of an alternate logout page which users will be sent to when they
// log out.
$conf['user']['redirect_on_logout'] = false;

// If this is true, then users will be given a <select> menu in the
// compose window allowing them to choose which folder to save their
// sent messages to. If this is false, then messages will be saved to
// the folder defined in their preferences.
$conf['user']['select_sentmail_folder'] = false;

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Imp prefs.php:

// save a copy of sent messages?
// a value of 0 = no, 1 = yes
$_prefs['save_sent_mail'] = array(
    'value' => 1,
    'locked' => false,
    'shared' => true,
    'type' => 'implicit'
);

// sent mail folder
$_prefs['sent_mail_folder'] = array(
    'value' => 'sent-mail',
// For Exchange server uncomment the line below and delete the line above
//    'value' => 'Sent Items',
    'locked' => false,
    'shared' => true,
    'type' => 'implicit'
);

// End Personal Information preferences


// Server Information preferences

// use IMAP subscribe?
// value of 0 = no, 1 = yes
$_prefs['subscribe'] = array(
    'value' => 0,
    'locked' => false,
    'shared' => false,
    'type' => 'checkbox',
    'desc' => _("Use IMAP folder subscriptions?")
);







More information about the horde mailing list