How install Roundcube plugins?

Discussion in 'Plugins/Modules/Addons' started by Planea, Mar 11, 2023.

  1. Planea

    Planea New Member

  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    You may need to modify the extra plugins that do not come with ISPConfig Roundcube Plugins to make them work on an ISPConfig system.
    Reading the troubleshooting instructions available from ISPConfig Roundcube plugins github page may help.
     
    Planea likes this.
  3. Alex Mamatuik

    Alex Mamatuik Member

    In case, i was using a tutorial from the how_to_forge website:https://www.howtoforge.com/tutorial...php-pureftpd-postfix-dovecot-and-ispconfig/3/
    and we have installed the Roundcube software...

    By the way, @Th0m , there is a problem with the inactive popup window id="ez-cookie-dialog": button id="ez-accept-all" doesn't react at all.
    Every time i have to apply
    #ez-cookie-dialog-wrapper {
    display: none;
    }


    the default plugins-container is: /usr/share/roundcubemail/plugins
    Code:
    ├── plugins
    │   ├── acl
    │   │   ├── localization
    │   │   └── skins
    │   │       ├── classic
    │   │       │   ├── images
    │   │       │   └── templates
    │   │       ├── elastic
    │   │       │   └── templates
    │   │       └── larry
    │   │           ├── images
    │   │           └── templates
    │   ├── additional_message_headers
    │   ├── archive
    │   │   ├── localization
    │   │   └── skins
    │   │       ├── classic
    │   │       └── larry
    │   ├── attachment_reminder
    │   │   └── localization
    │   ├── autologon
    │   ├── database_attachments
    │   ├── debug_logger
    │   │   └── runlog
    │   ├── emoticons
    │   │   └── localization
    │   ├── enigma
    │   │   ├── bin
    │   │   ├── lib
    │   │   ├── localization
    │   │   └── skins
    │   │       ├── classic
    │   │       │   └── templates
    │   │       ├── elastic
    │   │       │   └── templates
    │   │       └── larry
    │   │           └── templates
    │   ├── example_addressbook
    │   ├── filesystem_attachments
    │   ├── help
    │   │   ├── content
    │   │   ├── localization
    │   │   └── skins
    │   │       ├── classic
    │   │       │   └── templates
    │   │       ├── elastic
    │   │       │   └── templates
    │   │       └── larry
    │   │           └── templates
    │   ├── hide_blockquote
    │   │   ├── localization
    │   │   └── skins
    │   │       └── larry
    │   ├── http_authentication
    │   ├── identicon
    │   ├── identity_select
    │   ├── jqueryui
    │   │   ├── js
    │   │   │   └── i18n
    │   │   └── themes
    │   │       ├── classic
    │   │       │   └── images
    │   │       ├── elastic
    │   │       │   └── images
    │   │       └── larry
    │   │           └── images
    │   ├── krb_authentication
    │   ├── managesieve
    │   │   ├── codemirror
    │   │   │   ├── addon
    │   │   │   │   └── selection
    │   │   │   ├── lib
    │   │   │   └── mode
    │   │   │       └── sieve
    │   │   ├── helpdocs
    │   │   │   ├── en_US
    │   │   │   └── po
    │   │   ├── lib
    │   │   │   └── Roundcube
    │   │   ├── localization
    │   │   └── skins
    │   │       ├── classic
    │   │       │   ├── images
    │   │       │   └── templates
    │   │       ├── elastic
    │   │       │   └── templates
    │   │       └── larry
    │   │           ├── images
    │   │           └── templates
    │   ├── markasjunk
    │   │   ├── drivers
    │   │   ├── localization
    │   │   └── skins
    │   │       ├── classic
    │   │       │   └── images
    │   │       └── larry
    │   │           └── images
    │   ├── newmail_notifier
    │   │   └── localization
    │   ├── new_user_dialog
    │   │   └── localization
    │   ├── new_user_identity
    │   ├── password
    │   │   ├── drivers
    │   │   ├── helpers
    │   │   └── localization
    │   ├── redundant_attachments
    │   ├── show_additional_headers
    │   ├── squirrelmail_usercopy
    │   ├── subscriptions_option
    │   │   └── localization
    │   ├── userinfo
    │   │   └── localization
    │   ├── vcard_attachments
    │   │   ├── localization
    │   │   └── skins
    │   │       ├── classic
    │   │       └── larry
    │   ├── virtuser_file
    │   ├── virtuser_query
    │   └── zipdownload
    │       ├── localization
    │       └── skins
    │           ├── classic
    │           └── larry
    By the example of the password plugin let's puzzle out of what should be done:
    An initial structure: /usr/share/roundcubemail/plugins/password
    Code:
    password
    ├── composer.json
    ├── config.inc.php.dist
    ├── drivers
    ........................
    ├── password.js
    ├── password.min.js
    ├── password.php
    └── README
    We must make a copy of config.inc.php.dist to config.inc.php and set the options as described within the file:
    Code:
    cp config.inc.php.dist config.inc.php
    A working configuration: https://forum.howtoforge.com/attach...8/?temp_hash=05aff12cfe99875ca3eb1e2d58bbfc54


    Some other decent plugin is rcguard
    Download it either using composer
    or manually to the folder plugins:
    /usr/share/roundcubemail/plugins
    rcguard
    ├── composer.json
    ├── config.inc.php
    ├── config.inc.php.dist
    ├── lib
    │ └── recaptchalib.php
    ├── localization
    │ ├── de_CH.inc
    │ ├── de_DE.inc
    │ ├── en_US.inc
    │ ├── es_AR.inc
    │ ├── es_ES.inc
    │ ├── fr_FR.inc
    │ ├── hu_HU.inc
    │ ├── it_IT.inc
    │ ├── nl_NL.inc
    │ ├── pt_BR.inc
    │ ├── ru_RU.inc
    │ ├── sv_SE.inc
    │ ├── tr_TR.inc
    │ └── zh_TW.inc
    ├── rcguard.php
    ├── README.md
    ├── skins
    │ ├── classic
    │ │ └── rcguard.css
    │ ├── elastic
    │ │ └── rcguard.css
    │ └── larry
    │ └── rcguard.css
    └── SQL
    ├── mysql
    │ └── 2018051200.sql
    ├── mysql.initial.sql
    ├── postgres
    │ └── 2018051200.sql
    ├── postgres.initial.sql
    ├── sqlite
    │ └── 2018051200.sql
    └── sqlite.initial.sql

    All your added/enabled plugins must be written to /usr/share/roundcubemail/config/config.inc.php:
    Code:
    // ----------------------------------
    // PLUGINS
    // ----------------------------------
    // List of active plugins (in plugins/ directory)
    $config['plugins'] = array(
    'acl',
      'archive',
       'attachment_reminder',
        'autologon',
         'emoticons',
        'identity_select', 'krb_authentication',  'virtuser_file', 'virtuser_query',
        
         'debug_logger',
         'identicon',
        
    'filesystem_attachments',
      'hide_blockquote', 
        'jqueryui',
         'managesieve',
          'markasjunk',
           'new_user_dialog',
            'new_user_identity',
             'newmail_notifier',
              'password',
               'show_additional_headers',
                 'subscriptions_option',
                  'userinfo',
                  'vcard_attachments',             
                    'zipdownload',
                    'additional_message_headers',  'help',  'http_authentication', 'squirrelmail_usercopy', 'persistent_login', 
    
    // !!!newly added Roundcube plugin that enforces reCAPTCHA for users that have too many failed logins
    'rcguard'
    );
    
     

    Attached Files:

    Planea and ahrasis like this.
  4. Planea

    Planea New Member

    From which path should I run this?
    /usr/share/plugins?
     
  5. Alex Mamatuik

    Alex Mamatuik Member

    Normally, from your root path of the roundcube folder:
    /usr/share/roundcubemail
    Code:
    result=$(find / -type d -name roundcubemail) && cd $result
    - you can see a composer.json file on there.

    Don't forget to switch user to non-root and assign user-related permissions to composer.lock & composer.json.
    Code:
    composer require dsoares/rcguard
    But if you are unfamiliar with the composer, just fairly load a plugin like:
    Code:
    cd plugins
    git clone https://github.com/dsoares/roundcube-rcguard.git
     
    ahrasis likes this.

Share This Page