Good Morning,
As follows  my backends.local.php.
I hope someone help me.
In addition, under '/tmp/imp_imap.log' ther is no log files.
Note: The Imap server is on another server. Horde work correctly with other functions.
Regards.
Pasquale.


/* Example configurations: */

// IMAP server
$servers['imap'] = array(
    // ENABLED by default; will connect to IMAP port on local server
    'disabled' => false,
    'name' => 'Webmail Horde',
    'hostspec' => '192.40.46.92',
    'hordeauth' => false,
    'protocol' => 'imap',
    'port' => 143,
    // Plaintext logins are disabled by default on IMAP servers (see RFC 3501
    // [6.2.3]), so TLS is the only guaranteed authentication available by
    // default.
    'secure' => 'tls',
);


// POP3 server
$servers['pop'] = array(
    // Disabled by default
    'disabled' => true,
    'name' => 'POP3 Server',
    'hostspec' => 'localhost',
    'hordeauth' => false,
    'protocol' => 'pop',
    'port' => 110,
    // Default to secure TLS authentication by default (see RFC 2595 [4]).
    'secure' => 'tls',
);


// Advanced example - mainly here to demonstrate the syntax of all available
// options.
$servers['advanced'] = array(
    // Disabled by default
    'disabled' => true,
    'name' => 'Advanced IMAP Server',
    'hostspec' => 'localhost',
    'hordeauth' => false,
    'protocol' => 'imap',
    'port' => 143,
    'secure' => 'tls',
    'maildomain' => '',
    'smtp' => array(
    //    'auth' => true,
    //    'debug' => false,
    //    'horde_auth' => false,
    //    'host' => 'smtp.example.com',
    //    'lmtp' => false,
    //    'localhost' => 'localhost',
    //    'password' => null,
    //    /* Mail from a MUA SHOULD be sent via the mail submission port (587)
    //     * rather than the MTA port (25). (See RFC 6409/STD 72).
    //     * Note that mail submission REQUIRES some method of authentication
    //     * (whether explicit user/password credentials or configuring the
    //     * mail submission agent to automatically authenticate this host
    //     * based on the network location). */
    //    'port' => 587,
    //    'username' => null
    ),
    'spam' => array(
        // 'innocent' => array(
        //     'display' => true,
        //
        //     // Email reporting driver
        //     'email' => null,
        //     'email_format' => 'digest',
        //
        //     // Null reporting driver
        //     'null' => true,
        //
        //     // Program reporting driver
        //     'program' => null
        // ),
        // 'spam' => array(
        //     'display' => false,
        //
        //     // Email reporting driver
        //     'email' => null,
        //     'email_format' => 'digest',
        //
        //     // Null reporting driver
        //     'null' => true,
        //
        //     // Program reporting driver
        //     'program' => null
        // ),
        // // It is possible to directly define additional spam drivers.
        // // The 'drivers' array should contain a list of driver objects
        // // (these classes must implement the IMP_Spam_Base class).
        // 'drivers' => array(
        //     new IMP_Example_Spam_Driver()
        // )
    ),
    'admin' => array(
         'user' => 'cyrusadm',
         'password' => 'cyruspassword,
         'userhierarchy' => 'user.'
    ),
    'acl' => true,
    'cache' => false,
     'debug' => '/tmp/imp_imap.log',
     'debug_raw' => false,
    'quota' => array(
        'driver' => 'imap',
        'params' => array(
            'hide_when_unlimited' => true,
            'unit' => 'MB'
        )
    ),
    'special_mboxes' => array(
    //     IMP_Mailbox::MBOX_DRAFTS => 'Drafts',
    //     IMP_Mailbox::MBOX_SENT => 'Sent',
    //     IMP_Mailbox::MBOX_SPAM => 'Spam',
    //     IMP_Mailbox::MBOX_TEMPLATES => 'Templates',
    //     IMP_Mailbox::MBOX_TRASH => 'Trash',
    //     IMP_Mailbox::MBOX_USERSPECIAL => array(
    //         'Example' => _("Example Special Mailbox")
    //     )
    ),
    'autocreate_special' => false,
);


Il 30/01/2020 16:50, Arjen de Korte ha scritto:
Citeren Ttest <tt...@comune.napoli.it>:

Hi All,
I have two files:
1) horde/imp/config/backends.php
2) horde/imp/config/backends.local.php

Good! You shouldn't touch the first so only the second one is relevant when asking questions.

The first is commented and the second have this configuration:
I have try to use also the first file, change the user cyrus, insert 'courier' instead of 'imap' but if I login into horde with my user or other user I looking for "user quota" but nothing!
Any ideas ?

Look in the header of 'horde/imp/config/backends.php' and write your 'horde/imp/config/backends.local.php' accordingly. You should not define an array in the latter. And we want the *full* contents of that file, not just an excerpt. Chances are the problem is in a part you didn't post here. Unless you're redefining every value, it should typically be not more than about 10-20 lines. And do not top post.

Thank you.
Pasquale.

    ),
    'admin' => array(
         'user' => 'cyrus',
         'password' => 'cyruspassword',
         'userhierarchy' => 'user.'
    ),
    'acl' => true,
    'cache' => false,
     'debug' => '/tmp/imp_imap.log',
     'debug_raw' => false,
    'quota' => array(
        'driver' => 'imap',
        'params' => array(
            'hide_when_unlimited' => true,
            'unit' => 'MB'
        )



Il 29/01/2020 16:57, Arjen de Korte ha scritto:
Citeren Ttest <tt...@comune.napoli.it>:

Hi All,

I'm configuring Horde 5.2.22.

Where is function that show "user's quota"?

An example how to do this can be found in the header of the 'horde/imp/config/backends.php' configuration file. Read the header to find how to configure this.

When I login into my account or with other account I did not find It.

Thanking you in advance.

Pasquale.







--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org

Reply via email to