Can't send mail, connect webmail and SMTP/IMAP failed

Discussion in 'ISPConfig 3 Priority Support' started by Deckwurst, Sep 21, 2015.

  1. Deckwurst

    Deckwurst New Member

    Hi all,

    I've setup an ISPconfig server on a Debien 7 (x64) VPS with this tuto :
    https://www.abyssproject.net/2015/0...ig-nginx-php-fpm-5-6-et-mariadb-sur-debian-7/

    I just forget that this tuto don't install postfix ...
    So I've used this tuto for setup postfix :
    https://www.howtoforge.com/perfect-server-debian-wheezy-nginx-bind-dovecot-ispconfig-3-p3

    And after I've setup roundcube with :
    https://www.howtoforge.com/using-roundcube-webmail-with-ispconfig-3-on-debian-wheezy-nginx

    Now :
    • ISPconfig works perfect like my website (php and database) ;
    • phpMyAdmin is ok ;
    • I can acces to Roundcube connect page ;
    • All ports needed are open.
    BUT :
    • I can't connect to my webmail with roundcube (I've try to set a basic password for email account, I've try severals login, etc.) ;
    • I can't connect with POP3 or IMAP with my smartphone and outlook (and others).
    I know that my knowledge about ISPconfig is bad ... And that's why I need your help.

    Regards,
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Did you reinstall ispconfig after you added postfix? The ispconfig installer is the software that configures the services, so if postfix gets installed after the ispconfig installation, then the service sis not configured and not recognized by ispconfig.

    what you can try is that yiu run a forced ispconfig update and reconfigure services during update:

    Code:
    cd /tmp
    wget http://www.ispconfig.org/downloads/ISPConfig-3-stable.tar.gz
    tar xvfz ISPConfig-3-stable.tar.gz
    cd ispconfig3_install/install
    php -q update.php
     
  3. Deckwurst

    Deckwurst New Member

    Thanks a lot it works !

    But now (not before ISPconfig update) I've a problem with Roundcube web display. There is no template, no css, no pictures, etc.
    I've look up at the skins folder of roundcube and I was forced to add manually "classic" template from roundcube git repositery because it was not there.

    This is roundcube error logs :
    Code:
    [22-Sep-2015 04:26:57 Europe/Berlin] PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/roundcube/program/include/rcube_mdb2.php on line 148
    [22-Sep-2015 04:26:57 Europe/Berlin] PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/roundcube/program/include/rcube_mdb2.php on line 200
    [22-Sep-2015 04:26:57 Europe/Berlin] PHP Deprecated:  Deprecated: MDB2_Driver_mysql::isError() is deprecated, use MDB2::isError() in /usr/share/roundcube/program/include/rcube_mdb2.php on line 288 in /usr/share/php/MDB2.php on line 2001
    [22-Sep-2015 04:26:57 Europe/Berlin] PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/roundcube/program/include/rcube_mdb2.php on line 715
    [22-Sep-2015 04:26:57 Europe/Berlin] PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/roundcube/program/include/rcube_mdb2.php on line 746
    [22-Sep-2015 04:26:57 Europe/Berlin] PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/roundcube/program/include/rcube_mdb2.php on line 413
    [22-Sep-2015 04:26:57 Europe/Berlin] PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/roundcube/program/include/rcube_mdb2.php on line 200
    [22-Sep-2015 04:26:57 Europe/Berlin] PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/roundcube/program/include/rcube_mdb2.php on line 200
    [22-Sep-2015 04:26:57 Europe/Berlin] PHP Deprecated:  Deprecated: MDB2_Driver_mysql::isError() is deprecated, use MDB2::isError() in /usr/share/roundcube/program/include/rcube_mdb2.php on line 288 in /usr/share/php/MDB2.php on line 2001
    [22-Sep-2015 04:26:57 Europe/Berlin] PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/roundcube/program/include/rcube_mdb2.php on line 715
    [22-Sep-2015 04:26:57 Europe/Berlin] PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/roundcube/program/include/rcube_mdb2.php on line 746
    [22-Sep-2015 04:26:57 Europe/Berlin] PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/roundcube/program/include/rcube_mdb2.php on line 413
    [22-Sep-2015 04:26:57 Europe/Berlin] PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/roundcube/program/include/rcube_mdb2.php on line 200
    [22-Sep-2015 04:26:57 Europe/Berlin] PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/roundcube/program/include/rcube_mdb2.php on line 200
    [22-Sep-2015 04:26:57 Europe/Berlin] PHP Deprecated:  Deprecated: MDB2_Driver_mysql::isError() is deprecated, use MDB2::isError() in /usr/share/roundcube/program/include/rcube_mdb2.php on line 288 in /usr/share/php/MDB2.php on line 2001
    [22-Sep-2015 04:26:57 Europe/Berlin] PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/roundcube/program/include/rcube_mdb2.php on line 715
    [22-Sep-2015 04:26:57 Europe/Berlin] PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/roundcube/program/include/rcube_mdb2.php on line 200
    [22-Sep-2015 04:26:57 Europe/Berlin] PHP Deprecated:  Deprecated: MDB2_Driver_mysql::isError() is deprecated, use MDB2::isError() in /usr/share/roundcube/program/include/rcube_mdb2.php on line 288 in /usr/share/php/MDB2.php on line 2001
    [22-Sep-2015 04:26:57 Europe/Berlin] PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/roundcube/program/include/rcube_mdb2.php on line 715
    And this "/var/log/ispconfig/httpd/MYWEBSITE.com/error.log" :
    Code:
    2015/09/21 22:29:12 [error] 439#439: *706 open() "/var/www/MYWEBSITE.com/web/error/404.html" failed (2: No such file or directory), client: XX.XX.XX.XX, server: MYWEBSITE.com, request: "GET /roundcube/program/js/app.js?s=1382826525 HTTP/1.1", host: "www.MYWEBSITE.com", referrer: "http://www.MYWEBSITE.com/roundcube/"
    
    2015/09/21 22:29:12 [error] 439#439: *706 rewrite or internal redirection cycle while internally redirecting to "/error/404.html", client: XX.XX.XX.XX, server: MYWEBSITE.com, request: "GET /roundcube/program/js/app.js?s=1382826525 HTTP/1.1", host: "www.MYWEBSITE.com", referrer: "http://www.MYWEBSITE.com/roundcube/"
    2015/09/21 22:29:12 [error] 439#439: *703 open() "/var/www/MYWEBSITE.com/web/error/404.html" failed (2: No such file or directory), client: XX.XX.XX.XX, server: MYWEBSITE.com, request: "GET /roundcube/skins/default/common.css?s=1382826518 HTTP/1.1", host: "www.MYWEBSITE.com", referrer: "http://www.MYWEBSITE.com/roundcube/"
    
    2015/09/21 22:29:12 [error] 439#439: *703 rewrite or internal redirection cycle while internally redirecting to "/error/404.html", client: XX.XX.XX.XX, server: MYWEBSITE.com, request: "GET /roundcube/skins/default/common.css?s=1382826518 HTTP/1.1", host: "www.MYWEBSITE.com", referrer: "http://www.MYWEBSITE.com/roundcube/"
    2015/09/21 22:29:12 [error] 439#439: *707 open() "/var/www/MYWEBSITE.com/web/error/404.html" failed (2: No such file or directory), client: XX.XX.XX.XX, server: MYWEBSITE.com, request: "GET /roundcube/program/js/common.js?s=1382826526 HTTP/1.1", host: "www.MYWEBSITE.com", referrer: "http://www.MYWEBSITE.com/roundcube/"
    
    2015/09/21 22:29:12 [error] 439#439: *707 rewrite or internal redirection cycle while internally redirecting to "/error/404.html", client: XX.XX.XX.XX, server: MYWEBSITE.com, request: "GET /roundcube/program/js/common.js?s=1382826526 HTTP/1.1", host: "www.MYWEBSITE.com", referrer: "http://www.MYWEBSITE.com/roundcube/"
    2015/09/21 22:29:12 [error] 439#439: *705 open() "/var/www/MYWEBSITE.com/web/error/404.html" failed (2: No such file or directory), client: XX.XX.XX.XX, server: MYWEBSITE.com, request: "GET /roundcube/program/js/jquery.min.js?s=1353011304 HTTP/1.1", host: "www.MYWEBSITE.com", referrer: "http://www.MYWEBSITE.com/roundcube/"
    
    2015/09/21 22:29:12 [error] 439#439: *705 rewrite or internal redirection cycle while internally redirecting to "/error/404.html", client: XX.XX.XX.XX, server: MYWEBSITE.com, request: "GET /roundcube/program/js/jquery.min.js?s=1353011304 HTTP/1.1", host: "www.MYWEBSITE.com", referrer: "http://www.MYWEBSITE.com/roundcube/"
    2015/09/21 22:29:12 [error] 439#439: *708 open() "/var/www/MYWEBSITE.com/web/error/404.html" failed (2: No such file or directory), client: XX.XX.XX.XX, server: MYWEBSITE.com, request: "GET /roundcube/skins/default/images/roundcube_logo.png HTTP/1.1", host: "www.MYWEBSITE.com", referrer: "http://www.MYWEBSITE.com/roundcube/"
    
    2015/09/21 22:29:12 [error] 439#439: *708 rewrite or internal redirection cycle while internally redirecting to "/error/404.html", client: XX.XX.XX.XX, server: MYWEBSITE.com, request: "GET /roundcube/skins/default/images/roundcube_logo.png HTTP/1.1", host: "www.MYWEBSITE.com", referrer: "http://www.MYWEBSITE.com/roundcube/"
    
    2015/09/21 22:29:12 [error] 439#439: *709 rewrite or internal redirection cycle while internally redirecting to "/error/404.html", client: XX.XX.XX.XX, server: MYWEBSITE.com, request: "GET /roundcube/skins/default/images/roundcube_logo.png HTTP/1.1", host: "www.MYWEBSITE.com", referrer: "http://www.MYWEBSITE.com/roundcube/"
    2015/09/21 22:29:12 [error] 439#439: *710 open() "/var/www/MYWEBSITE.com/web/error/404.html" failed (2: No such file or directory), client: XX.XX.XX.XX, server: MYWEBSITE.com, request: "GET /roundcube/skins/default/images/favicon.ico HTTP/1.1", host: "www.MYWEBSITE.com", referrer: "http://www.MYWEBSITE.com/roundcube/"
    
    2015/09/21 22:29:12 [error] 439#439: *710 rewrite or internal redirection cycle while internally redirecting to "/error/404.html", client: XX.XX.XX.XX, server: MYWEBSITE.com, request: "GET /roundcube/skins/default/images/favicon.ico HTTP/1.1", host: "www.MYWEBSITE.com", referrer: "http://www.MYWEBSITE.com/roundcube/"
    
    
    All files are existing. They are chmod with 644 and 755 for folders.
    I've already try to change default skink in roundcube config file but no change.
    I've try to reinstall roundcube and database but no change.

    Regards,
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Please post the apache roundcube config file.
     
  5. Deckwurst

    Deckwurst New Member

  6. Deckwurst

    Deckwurst New Member

  7. florian030

    florian030 Well-Known Member HowtoForge Supporter

    try
    Code:
    $rcmail_config['default_host'] = "mail.MYWEBSITE.com";
    $rcmail_config['smtp_server'] = '%h';
    $config['smtp_user'] = '%u';
    $config['smtp_pass'] = '%p';
     

Share This Page