Tweaking the Roundcube settings

Discussion in 'Tips/Tricks/Mods' started by Th0m, Feb 14, 2021.

Thread Status:
Not open for further replies.
  1. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    Personally, I think the default Roundcube settings aren't the best for most end users. I always add this snippet to the end Roundcube config (/etc/roundcube/config.inc.php):
    Code:
    // ----------------------------------
    // USER INTERFACE custom settings
    // ----------------------------------
    // default messages sort column. Use empty value for default server's sorting,
    // or 'arrival', 'date', 'subject', 'from', 'to', 'fromto', 'size', 'cc'
    $config['message_sort_col'] = 'date';
    
    // the default locale setting (leave empty for auto-detection)
    // RFC1766 formatted language name like en_US, de_DE, de_CH, fr_FR, pt_BR
    $config['language'] = 'nl_NL';
    
    // use this format for date display (date or strftime format)
    $config['date_format'] = 'd-m-Y';
    
    // use this format for detailed date/time formatting (derived from date_format and time_format)
    $config['date_long'] = 'd-m-Y H:i';
    
    // Message size limit. Note that SMTP server(s) may use a different value.
    // This limit is verified when user attaches files to a composed message.
    // Size in bytes (possible unit suffix: K, M, G)
    $config['max_message_size'] = '50M';
    
    // Maximum number of recipients per message (including To, Cc, Bcc).
    // Default: 0 (no limit)
    $config['max_recipients'] = 30;
    
    // Set identities access level:
    // 0 - many identities with possibility to edit all params
    // 1 - many identities with possibility to edit all params but not email address
    // 2 - one identity with possibility to edit all params
    // 3 - one identity with possibility to edit all params but not email address
    // 4 - one identity with possibility to edit only signature
    $config['identities_level'] = 3;
    
    // ----------------------------------
    // USER PREFERENCES custom settings
    // ----------------------------------
    
    // sort contacts by this col (preferably either one of name, firstname, surname)
    $config['addressbook_sort_col'] = 'firstname';
    
    // display remote inline images
    // 0 - Never, always ask
    // 1 - Ask if sender is not in address book
    // 2 - Always show inline images
    $config['show_images'] = 1;
    
    // Default interval for auto-refresh requests (in seconds)
    // These are requests for system state updates e.g. checking for new messages, etc.
    // Setting it to 0 disables the feature.
    $config['refresh_interval'] = 300;
    
    // Enables adding of standard separator to the signature
    $config['sig_separator'] = false;
    
    // When replying:
    // -1 - don't cite the original message
    // 0  - place cursor below the original message
    // 1  - place cursor above original message (top posting)
    // 2  - place cursor above original message (top posting), but do not indent th$
    $config['reply_mode'] = 1;
    
    // compose html formatted messages by default
    //  0 - never,
    //  1 - always,
    //  2 - on reply to HTML message,
    //  3 - on forward or reply to HTML message
    //  4 - always, except when replying to plain text message
    $config['htmleditor'] = 1;
    
    // Enables display of email address with name instead of a name (and address in title)
    $config['message_show_email'] = true;
    Eventually change the language setting to your preferred default language.

    I also set the product name from
    Code:
    $config['product_name'] = 'Roundcube Webmail';
    to
    Code:
    $config['product_name'] = 'CompanyName Webmail';
    To finish it off, I use the ISPConfig-Roundcube plugins from w2c, which you can install following this guide: https://www.howtoforge.com/install-ispconfig-3-roundcube-plugins-on-debian-10/
    And the contextmenu plugin: https://plugins.roundcube.net/#/packages/johndoh/contextmenu
     
  2. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    jhonatandiazp likes this.
Thread Status:
Not open for further replies.

Share This Page