[imp] Re: Cannot set folder for "Save sent mail"

Stefan Hessenauer S.Hessenauer at ppc-ag.de
Thu Apr 8 07:26:42 PDT 2004


Hi Alexander,

I use also IMP with the cyrus 2.1.

Try to use these configuration:
in /etc/imapd.conf 

# Alternate namespace
# If enabled, activate the alternate namespace as documented in
# /usr/share/doc/cyrus21-doc/html/altnamespace.html, where an user's
# subfolders are in the same level as the INBOX
# See also userprefix and sharedprefix on imapd.conf(5)
altnamespace: no

# UNIX Hierarchy Convention
# Set to yes, and cyrus will accept dots in names, and use the forward
# slash "/" to delimit levels of the hierarchy. This is done by converting
# internally all dots to "^", and all "/" to dots. So the "rabbit.holes"
# mailbox of user "helmer.fudd" is stored in "user.elmer^fud.rabbit^holes"
unixhierarchysep: yes

And then in the imp-config:
/path/to/horde/imp/config/servers.php

$servers['cyrus'] = array(
    'name' => 'Cyrus IMAP Server',
    'server' => 'localhost',
    'hordeauth' => true, 
    'protocol' => 'imap', 
    'port' => 143,
    'folders' => '',
    'namespace' => 'INBOX/',
    'maildomain' => 'your_domain',
    'smtphost' => 'localhost',
    'realm' => '',
    'preferred' => '',
    'quota' => array(
        'driver' => 'cyrus',
        'params' => array(
            'login' => 'cyrus_user',
            'password' => 'cyrus_password',
            // The 'userhierarchy' parameter defaults to 'user.'
            // If you are using a nonstandard hierarchy for personal
            // mailboxes, you will need to set it here.
            'userhierarchy' => 'user.'
        )
    ),
    'acl' => array(
        'driver' => 'rfc2086',
    ),
    'dotfiles' => false,
    'hierarchies' => array());


With these config you have all directories under the "INBOX". 

MfG Steve







More information about the imp mailing list