Thanks for your help Andy, it works very well.

Thank you again.

Have a good day.

Andrew Morgan a écrit :
On Wed, 23 Sep 2009, Christophe BONNET wrote:

Hello,

Ok, with a server.php file like that (without imap_config option):

$servers['imap'] = array(
 'name' => 'IMAP Server',
 'server' => 'imap.mydomain.com',
 'hordeauth' => 'false',
 'protocol' => 'imap/ssl/novalidate-cert',
 'port' => 993,
 'maildomain' => 'mydomain.com',
 'smtphost' => 'smtp.mydomain.com',
 'smtpport' => 25,
 'realm' => '',
 'preferres' => '',
 'dotfiles' => 'false'
);


Inbox, Trash, Drafts & Sent directories are displayed but all
files/directories in /home/<user_id> too (except dotfiles), and i don't want to see them.

- The default directory for new directories is not /home/<user_id>/mail but /home/<user_id>.

- I would like to not show all these directories (including /home/<user_id>/mail) except directories *under* /home/<user_id>/mail/ directory.

This is the config I use for a department here that runs uw-imap:

$servers['xyz'] = array(
    'name' => 'xyz.orst.edu',
    'server' => 'xyz.orst.edu',
    'protocol' => 'imap/ssl/novalidate-cert',
    'port' => 993,
    'maildomain' => 'xyz.orst.edu',
    'realm' => 'xyz.orst.edu',
    'imap_config' => array(
        'namespace' => array(
            'mail/' => array(
                'name' => 'mail/',
                'delimiter' => '/',
                'type' => 'personal',
                'hidden' => false,
            ),
            'INBOX' => array(
                'name' => 'INBOX',
                'delimiter' => '/',
                'type' => 'personal',
                'hidden' => false,
            ),
        ),
        'search_charset' => array(
            'UTF-8' => true
        )
    ),
    'login_tries' => 1,
);


They don't seem to be complaining, so I assume it is correct!  :)

    Andy



--
*Christophe BONNET*

<http://www.lkb.ens.fr>

CNRS UMR8552
École Normale Supérieure
24 rue Lhomond
75231 PARIS Cedex 05

Poste : 01.44.32.35.96
Fax : 01.44.32.34.34

Courriel : [email protected]
Site Web : http://www.lkb.ens.fr

<http://www.cnrs.fr>

<http://www.cnrs.fr>      
<http://www.ens.fr>

<http://www.ens.fr>       
<http://www.upmc.fr>

<http://www.upmc.fr>

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

-- 
IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]

Reply via email to