Disable SMTP (sending) not working

Discussion in 'ISPConfig 3 Priority Support' started by Trix, Aug 29, 2020.

  1. Trix

    Trix Member

    I have all php versions installed (5.6, 7.0, 7.1. 7.2, 7.3, 7.4) and the default version that is used by the system is 7.0

    I followed this little guide:
    Code:
    cd ~
    wget https://github.com/roundcube/roundcubemail/releases/download/1.4.8/roundcubemail-1.4.8-complete.tar.gz
    tar -xvf roundcubemail-1.4.8-complete.tar.gz
    cd roundcubemail-1.4.8
    mkdir /usr/share/roundcube/config
    ./bin/installto.sh /usr/share/roundcube
    cd /usr/share/roundcube
    chown -R root:root  *
                                                                                                                                                                  checking with a browser  http://ip/roundcube/installer that all requirements are met threw up a few issues.                                                                                                     
    firstly to  make sure that that url is  reachable
    cd /var/lib/roundcube
    ln -s /usr/share/roundcube/installer installer
    
    according to the installer page, the 3rd party libs net_IDNA2 and Net_LDAP3 are required, so:
    apt-get install php-net-idna2
    apt-get install php-net-ldap3
    
    *I only used the installer to check all the pre-requisites exist, not to install/configure it, you don't need to continue with the roundcube installer.
    
    to enable the elastic skin:
    cd /var/lib/roundcube/skins
    ln -s /usr/share/roundcube/skins/elastic elastic
    
    edit /etc/roundcube/config.inc.php
    change line  80 to: $config['skin'] = 'elastic';
    
    if you haven't already, install the ispconfig3 plugins for roundcube, as per instructions here: https://github.com/w2c/ispconfig3_roundcube/wiki/Installation
    
    cd /var/lib/roundcube/plugins
    ln -s /usr/share/roundcube/plugins/ispconfig3_account ispconfig3_account
    ln -s /usr/share/roundcube/plugins/ispconfig3_autoreply ispconfig3_autoreply
    ln -s /usr/share/roundcube/plugins/ispconfig3_autoselect ispconfig3_autoselect
    ln -s /usr/share/roundcube/plugins/ispconfig3_fetchmail ispconfig3_fetchmail
    ln -s /usr/share/roundcube/plugins/ispconfig3_filter ispconfig3_filter
    ln -s /usr/share/roundcube/plugins/ispconfig3_forward ispconfig3_forward
    ln -s /usr/share/roundcube/plugins/ispconfig3_pass ispconfig3_pass
    ln -s /usr/share/roundcube/plugins/ispconfig3_spam ispconfig3_spam
    ln -s /usr/share/roundcube/plugins/ispconfig3_wblist ispconfig3_wblist
     
  2. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    Can you run
    Code:
    ls -l /var/lib/roundcube/plugins
     
  3. Trix

    Trix Member

    Code:
    lrwxrwxrwx 1 root root 32 Apr  6  2016 acl -> /usr/share/roundcube/plugins/acl
    lrwxrwxrwx 1 root root 55 Apr  6  2016 additional_message_headers -> /usr/share/roundcube/plugins/additional_message_headers
    lrwxrwxrwx 1 root root 36 Apr  6  2016 archive -> /usr/share/roundcube/plugins/archive
    lrwxrwxrwx 1 root root 38 Apr  6  2016 autologon -> /usr/share/roundcube/plugins/autologon
    lrwxrwxrwx 1 root root 48 Oct 31  2015 compose-addressbook -> /usr/share/roundcube/plugins/compose-addressbook
    lrwxrwxrwx 1 root root 40 Oct 31  2015 contextmenu -> /usr/share/roundcube/plugins/contextmenu
    lrwxrwxrwx 1 root root 49 Apr  6  2016 database_attachments -> /usr/share/roundcube/plugins/database_attachments
    lrwxrwxrwx 1 root root 41 Apr  6  2016 debug_logger -> /usr/share/roundcube/plugins/debug_logger
    lrwxrwxrwx 1 root root 39 Oct 31  2015 dkimstatus -> /usr/share/roundcube/plugins/dkimstatus
    lrwxrwxrwx 1 root root 48 Oct 31  2015 dovecot-impersonate -> /usr/share/roundcube/plugins/dovecot-impersonate
    lrwxrwxrwx 1 root root 38 Apr  6  2016 emoticons -> /usr/share/roundcube/plugins/emoticons
    lrwxrwxrwx 1 root root 35 Apr  6  2016 enigma -> /usr/share/roundcube/plugins/enigma
    lrwxrwxrwx 1 root root 37 Oct 31  2015 fail2ban -> /usr/share/roundcube/plugins/fail2ban
    lrwxrwxrwx 1 root root 51 Apr  6  2016 filesystem_attachments -> /usr/share/roundcube/plugins/filesystem_attachments
    lrwxrwxrwx 1 root root 33 Apr  6  2016 help -> /usr/share/roundcube/plugins/help
    lrwxrwxrwx 1 root root 44 Apr  6  2016 hide_blockquote -> /usr/share/roundcube/plugins/hide_blockquote
    lrwxrwxrwx 1 root root 48 Apr  6  2016 http_authentication -> /usr/share/roundcube/plugins/http_authentication
    lrwxrwxrwx 1 root root 37 Apr  6  2016 jqueryui -> /usr/share/roundcube/plugins/jqueryui
    lrwxrwxrwx 1 root root 47 Oct 31  2015 keyboard-shortcuts -> /usr/share/roundcube/plugins/keyboard-shortcuts
    lrwxrwxrwx 1 root root 41 Oct 31  2015 listcommands -> /usr/share/roundcube/plugins/listcommands
    lrwxrwxrwx 1 root root 40 Apr  6  2016 managesieve -> /usr/share/roundcube/plugins/managesieve
    lrwxrwxrwx 1 root root 39 Apr  6  2016 markasjunk -> /usr/share/roundcube/plugins/markasjunk
    lrwxrwxrwx 1 root root 40 Oct 31  2015 markasjunk2 -> /usr/share/roundcube/plugins/markasjunk2
    lrwxrwxrwx 1 root root 46 Oct 31  2015 message-highlight -> /usr/share/roundcube/plugins/message-highlight
    lrwxrwxrwx 1 root root 45 Apr  6  2016 newmail_notifier -> /usr/share/roundcube/plugins/newmail_notifier
    lrwxrwxrwx 1 root root 44 Apr  6  2016 new_user_dialog -> /usr/share/roundcube/plugins/new_user_dialog
    lrwxrwxrwx 1 root root 46 Apr  6  2016 new_user_identity -> /usr/share/roundcube/plugins/new_user_identity
    lrwxrwxrwx 1 root root 37 Apr  6  2016 password -> /usr/share/roundcube/plugins/password
    lrwxrwxrwx 1 root root 40 Oct 31  2015 sauserprefs -> /usr/share/roundcube/plugins/sauserprefs
    lrwxrwxrwx 1 root root 52 Apr  6  2016 show_additional_headers -> /usr/share/roundcube/plugins/show_additional_headers
    lrwxrwxrwx 1 root root 39 Oct 31  2015 sieverules -> /usr/share/roundcube/plugins/sieverules
    lrwxrwxrwx 1 root root 50 Apr  6  2016 squirrelmail_usercopy -> /usr/share/roundcube/plugins/squirrelmail_usercopy
    lrwxrwxrwx 1 root root 49 Apr  6  2016 subscriptions_option -> /usr/share/roundcube/plugins/subscriptions_option
    lrwxrwxrwx 1 root root 47 Oct 31  2015 thunderbird-labels -> /usr/share/roundcube/plugins/thunderbird-labels
    lrwxrwxrwx 1 root root 37 Apr  6  2016 userinfo -> /usr/share/roundcube/plugins/userinfo
    lrwxrwxrwx 1 root root 46 Apr  6  2016 vcard_attachments -> /usr/share/roundcube/plugins/vcard_attachments
    lrwxrwxrwx 1 root root 42 Apr  6  2016 virtuser_file -> /usr/share/roundcube/plugins/virtuser_file
    lrwxrwxrwx 1 root root 43 Apr  6  2016 virtuser_query -> /usr/share/roundcube/plugins/virtuser_query
    lrwxrwxrwx 1 root root 40 Apr  6  2016 zipdownload -> /usr/share/roundcube/plugins/zipdownload
    
     
  4. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    Hm, the plugins are missing here. Can you do
    Code:
    ls -l /usr/share/roundcube/plugins
    aswell?

    If they aren't there, you have to reinstall them.
     
  5. Trix

    Trix Member

    Nope the same. No ISPConfig plugins there.
    How can i reinstall ?
    Simply downloadthem to the mentioned folders or its not that simple ?
     
  6. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    Run this:
    Code:
    cd /tmp
    wget https://github.com/w2c/ispconfig3_roundcube/archive/master.zip
    unzip master.zip
    cd ./ispconfig3_roundcube-master
    mv -r ./ispconfig3_* /usr/share/roundcube/plugins
    ln -s /usr/share/roundcube/plugins/ispconfig* /var/lib/roundcube/plugins/
    rm -r ispconfig3_roundcube-master
    rm master.zip
    cd /usr/share/roundcube/plugins
    cp ./ispconfig3_account/config/config.inc.php.dist ./ispconfig3_account/config/config.inc.php
    Then follow this guide (Skip step 3 and 4): https://github.com/w2c/ispconfig3_roundcube/wiki/Installation
     
  7. Trix

    Trix Member

    I have followed the guide but i am getting an error:
    Code:
    #0 /usr/share/roundcube/program/lib/Roundcube/rcube_plugin_api.php(100): ispconfig3_autoselect->init()
    #1 /usr/share/roundcube/program/include/rcmail.php(137): rcube_plugin_api->init(Object(rcmail), 'login')
    #2 /usr/share/roundcube/program/include/rcmail.php(78): rcmail->startup()
    #3 /usr/share/roundcube/index.php(43): rcmail::get_instance(0, NULL)
    #4 {main}
      thrown in /usr/share/roundcube/plugins/ispconfig3_autoselect/ispconfig3_autoselect.php on line 23
    [30-Aug-2020 22:12:30 Europe/Berlin] PHP Fatal error:  Uncaught Error: Class 'SoapClient' not found in /usr/share/roundcube/plugins/ispconfig3_autoselect/ispconfig3_autoselect.php:23
    Stack trace:
    #0 /usr/share/roundcube/program/lib/Roundcube/rcube_plugin_api.php(100): ispconfig3_autoselect->init()
    #1 /usr/share/roundcube/program/include/rcmail.php(137): rcube_plugin_api->init(Object(rcmail), 'login')
    #2 /usr/share/roundcube/program/include/rcmail.php(78): rcmail->startup()
    #3 /usr/share/roundcube/index.php(43): rcmail::get_instance(0, NULL)
    #4 {main}
      thrown in /usr/share/roundcube/plugins/ispconfig3_autoselect/ispconfig3_autoselect.php on line 23
    
    
    It's like php-soap its not installed but i have checked with phpinfo and its there
    Code:
    soap
    Soap Client    enabled
    Soap Server    enabled
    Directive    Local Value    Master Value
    soap.wsdl_cache    1    1
    soap.wsdl_cache_dir    /tmp    /tmp
    soap.wsdl_cache_enabled    1    1
    soap.wsdl_cache_limit    5    5
    soap.wsdl_cache_ttl    86400    86400
     
  8. Trix

    Trix Member

    Never mind i forgot to restart apache now everything is ok.
    Many thanks for the help provided guys.

    Cheers
     
    till and Th0m like this.

Share This Page