Roundcube vacation plugin

Discussion in 'Plugins/Modules/Addons' started by Poliman, Oct 9, 2018.

  1. Poliman

    Poliman Member

    I would like to install vacation plugin to roundcube installed during ISP installation process. I checked the docs and there is a line:
    I haven't "postfix" database, because all data used by Postfix are stored in "dbispconfig" database. I haven't there also "vacation" and "virtual_alias" tables. Does anybody know how to make this working or maybe what names have these tables in "dbiscponfig" database?
     
    Last edited: Oct 9, 2018
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Installing this plugin makes not much sense on ISPConfig systems and would just mess up your server setup as ISPConfig provides already a vacation mail system which you can configure from within roundcube when you have the roundcube ispconfig plugin installed.
     
  3. Taleman

    Taleman Active Member HowtoForge Supporter

  4. Poliman

    Poliman Member

  5. Poliman

    Poliman Member

    Docs say to tick few things but one more than tutorial: "Mail forward functions".

    PS
    If I have Postfix, Dovecot and all things installed from Perfect Server tutorial on one VPS. I try add remote user as docs/tutorial say. Should I check "Remote Access" and write some ips in input field below it?
     
  6. Jesse Norell

    Jesse Norell Well-Known Member

    yes
    that is optional
     
  7. Poliman

    Poliman Member

    This is optional but I am curious what happens if I would write there some external IP, for example from my home network.
     
  8. Jesse Norell

    Jesse Norell Well-Known Member

    That would make roundcube unable to use the api, which would break the roundcube plugins, as roundcube connects from your web server (either localhost or the ip address(es) of the webserver which would connect to the master ispconfig server api), not from your home network.
     
  9. Poliman

    Poliman Member

    Thank you. I used the tutorial but I have some errors in /var/log/roundcube/errors:
    Code:
    [15-Oct-2018 11:09:37 +0200]: PHP Error: Failed to load plugin file /var/lib/roundcube/plugins/ispconfig3_fetchmail/ispconfig3_fetchmail.php in /usr/share/roundcube/program/lib/Roundcube/rcube_plugin_api.php on line 173 (POST /roundcube/?_task=mail&_action=refresh)
    [15-Oct-2018 11:09:37 +0200]: PHP Error: Failed to load plugin file /var/lib/roundcube/plugins/ispconfig3_filter/ispconfig3_filter.php in /usr/share/roundcube/program/lib/Roundcube/rcube_plugin_api.php on line 173 (POST /roundcube/?_task=mail&_action=refresh)
    [15-Oct-2018 11:09:37 +0200]: PHP Error: Failed to load plugin file /var/lib/roundcube/plugins/ispconfig3_forward/ispconfig3_forward.php in /usr/share/roundcube/program/lib/Roundcube/rcube_plugin_api.php on line 173 (POST /roundcube/?_task=mail&_action=refresh)
    [15-Oct-2018 11:09:37 +0200]: PHP Error: Failed to load plugin file /var/lib/roundcube/plugins/ispconfig3_wblist/ispconfig3_wblist.php in /usr/share/roundcube/program/lib/Roundcube/rcube_plugin_api.php on line 173 (POST /roundcube/?_task=mail&_action=refresh)
    [15-Oct-2018 11:10:37 +0200]: PHP Error: Failed to load plugin file /var/lib/roundcube/plugins/ispconfig3_pass/ispconfig3_pass.php in /usr/share/roundcube/program/lib/Roundcube/rcube_plugin_api.php on line 173 (POST /roundcube/?_task=mail&_action=refresh)
    [15-Oct-2018 11:10:37 +0200]: PHP Error: Failed to load plugin file /var/lib/roundcube/plugins/ispconfig3_spam/ispconfig3_spam.php in /usr/share/roundcube/program/lib/Roundcube/rcube_plugin_api.php on line 173 (POST /roundcube/?_task=mail&_action=refresh)
    [15-Oct-2018 11:10:37 +0200]: PHP Error: Failed to load plugin file /var/lib/roundcube/plugins/ispconfig3_wblist/ispconfig3_wblist.php in /usr/share/roundcube/program/lib/Roundcube/rcube_plugin_api.php on line 173 (POST /roundcube/?_task=mail&_action=refresh)
    [15-Oct-2018 11:08:37 +0200]: PHP Error: Failed to load plugin file /var/lib/roundcube/plugins/ispconfig3_autoreply/ispconfig3_autoreply.php in /usr/share/roundcube/program/lib/Roundcube/rcube_plugin_api.php on line 173 (POST /roundcube/?_task=mail&_action=refresh)
    
    Inside /var/lib/roundcube/plugins are:
    Code:
    lrwxrwxrwx 1 root root 47 Oct 15 11:08 ispconfig3_account -> /usr/share/roundcube/plugins/ispconfig3_account
    lrwxrwxrwx 1 root root 50 Oct 15 11:09 ispconfig3_autoreply -> /usr/share/roundcube/plugins/ispconfig3_autoreply/
    lrwxrwxrwx 1 root root 50 Oct 15 11:09 ispconfig3_fetchmail -> /usr/share/roundcube/plugins/ispconfig3_fetchmail/
    lrwxrwxrwx 1 root root 47 Oct 15 11:10 ispconfig3_filter -> /usr/share/roundcube/plugins/ispconfig3_filter/
    lrwxrwxrwx 1 root root 48 Oct 15 11:10 ispconfig3_forward -> /usr/share/roundcube/plugins/ispconfig3_forward/
    lrwxrwxrwx 1 root root 45 Oct 15 11:10 ispconfig3_pass -> /usr/share/roundcube/plugins/ispconfig3_pass/
    lrwxrwxrwx 1 root root 45 Oct 15 11:10 ispconfig3_spam -> /usr/share/roundcube/plugins/ispconfig3_spam/
    lrwxrwxrwx 1 root root 47 Oct 15 11:11 ispconfig3_wblist -> /usr/share/roundcube/plugins/ispconfig3_wblist/
    lrwxrwxrwx 1 root root 37 Apr  6  2016 jqueryui -> /usr/share/roundcube/plugins/jqueryui
    
    Inside /usr/share/roundcube/plugins are (other plugins have 501:admin not root:root):
    Code:
    drwxr-xr-x 5 root root  4096 Oct 10 15:46 ispconfig3_account
    drwxr-xr-x 4 root root  4096 Oct 10 15:46 ispconfig3_autoreply
    drwxr-xr-x 3 root root  4096 Oct 10 15:46 ispconfig3_autoselect
    drwxr-xr-x 5 root root  4096 Oct 10 15:46 ispconfig3_fetchmail
    drwxr-xr-x 5 root root  4096 Oct 10 15:46 ispconfig3_filter
    drwxr-xr-x 4 root root  4096 Oct 10 15:46 ispconfig3_forward
    drwxr-xr-x 5 root root  4096 Oct 10 15:46 ispconfig3_pass
    drwxr-xr-x 4 root root  4096 Oct 10 15:46 ispconfig3_spam
    drwxr-xr-x 5 root root  4096 Oct 10 15:46 ispconfig3_wblist
    
    Inside /etc/roundcube/config.inc.php are:
    Code:
    // List of active plugins (in plugins/ directory)
    $config['plugins'] = array(
    'archive',
    'zipdownload',
    'filters',
    'jqueryui',
    'ispconfig3_account',
    'ispconfig3_autoreply',
    'ispconfig3_pass',
    'ispconfig3_spam',
    'ispconfig3_fetchmail',
    'ispconfig3_filter',
    'ispconfig3_forward',
    'ispconfig3_wblist'
    );
    
     
    Last edited: Oct 15, 2018
  10. Poliman

    Poliman Member

    I probably fixed th problem. I have changed the owner like I wrote earlier. The errors are not appear currently except this one:
    Code:
    [15-Oct-2018 11:44:34 +0200]: <lq7obnnj> IMAP Error: Login failed for omnibus from ip_address. AUTHENTICATE PLAIN: Authentication failed. in /usr/share/roundcube/program/lib/Roundcube/rcube_imap.php on line 196 (POST /roundcube/?_task=login&_action=login)
     
    Jesse Norell likes this.
  11. Jesse Norell

    Jesse Norell Well-Known Member

    Probably just needs to use the full email address as the login name ([email protected]).
     
    Poliman likes this.
  12. Poliman

    Poliman Member

    You have right. This particular log didn't show in error log file. I have another:
    Code:
    [16-Oct-2018 08:02:29 +0200]: <78pg582t> PHP Error: Request security check failed (GET /roundcube/?_task=logout&_token=JFY5fBlr3FaCMv3gD7P8moxUnsIigyv9)
    
    Do you know what I could be?
     
  13. Jesse Norell

    Jesse Norell Well-Known Member

    My guess from a brief web search for that error is that you installed roundcube from source and didn't install all dependencies. See https://github.com/roundcube/roundcubemail/issues/5579
     
  14. Poliman

    Poliman Member

    Thank you. I asked the question here but I also try find out on my own. I have downloaded the roundcube, unzip and put to place where original roundcube was. It was more less like this. I don't remember any tough moves. I am curious what dependencies it misses.
     
  15. Taleman

    Taleman Active Member HowtoForge Supporter

    You do not reveal what version of Roundcube you are now running, so it is not possible to know it's dependencies. Try to find out yourself:
    • Read the release notes of that Roundcube version (and maybe of previous releases, if there are several between yours and the default Roundcube in OS
    • If that version is packaged, see the dependencies in that version
    Or just use the Roundcube that comes with Debian Stretch (if that is the OS you use). Is there something that forces you to use another Roudcube version? I try to avoid using anything not from Debian repository. Stuff from Debian Stable works, stuff from somewhere else is more trouble than it is worth, usually.
     
  16. Poliman

    Poliman Member

    Oh, that's right, sorry for this. I used this one from Ubuntu 16.04 LTS repo but last time I did upgrade to 1.36. I downloaded the file, unzip and paste to place where was original roundcube directory.
     
  17. Taleman

    Taleman Active Member HowtoForge Supporter

    So you unzipped it over the files installed from Ubuntu 16.04? It would surprise me if Roundcube worked OK after that. Plus next time Ubuntu updates Rouncube, it overwrites the files you installed.
    If you install rouncube from source, install it under /opt for example, and uninstall the Roundcube Ubuntu provides (apt-get uninstall roundcube roundcube-core).
    If you just want a Roundcube and ISPConfig plugins that work, try to remove the files you unzipped to system directories. Then reinstall Roundcube from Ubuntu,
    Code:
    apt-get install --reinstall roundcube
    .
     
    Poliman likes this.
  18. Poliman

    Poliman Member

    Thank you for advice.
     

Share This Page