Page 1 of 2

Roundcube not sending mail when send button is pressed

Posted: Sun Nov 29, 2015 11:26 am
by gtaridotcom
hi i have problem with RoundCube i can not send email i install vestacp in centos 7,its problem in RoundCube or vestacp i try it in different browser all time the same problem.
any help

thank you

Re: Roundcube not sending mail when send button is pressed

Posted: Mon Nov 30, 2015 11:34 am
by haary
I have the same issue. Running VestaCP Version 0.9.8 (i386) Release 15 on Debian 8 32 bit.
Receiving mail is working. When send button in Roundcube is clicked nothing happens.
/var/log/roundcube is empty
In apaches error log I see following messages:

Code: Select all

[Mon Nov 30 12:23:35.899193 2015] [:error] [pid 29903] [client 192.168.1.198:59033] PHP Warning:  Error writing to log file /var/log/roundcube/errors; Please check permissions in /usr/share/roundcube/program/lib/Roundcube/rcube.php on line 1336
[Mon Nov 30 12:23:35.899258 2015] [:error] [pid 29903] [client 192.168.1.198:59033] PHP Warning:  Failed to load config from /var/lib/roundcube/plugins/jqueryui/config.inc.php in /usr/share/roundcube/program/lib/Roundcube/rcube.php on line 1438
[Mon Nov 30 12:23:53.477118 2015] [:error] [pid 29904] [client 192.168.1.198:59061] PHP Warning:  Error writing to log file /var/log/roundcube/errors; Please check permissions in /usr/share/roundcube/program/lib/Roundcube/rcube.php on line 1336, referer: http://my.domain.com/webmail/
[Mon Nov 30 12:23:53.477170 2015] [:error] [pid 29904] [client 192.168.1.198:59061] PHP Warning:  Failed to load config from /var/lib/roundcube/plugins/jqueryui/config.inc.php in /usr/share/roundcube/program/lib/Roundcube/rcube.php on line 1438, referer: http://my.domain.com/webmail/
[Mon Nov 30 12:23:53.683050 2015] [:error] [pid 29901] [client 192.168.1.198:59062] PHP Warning:  Error writing to log file /var/log/roundcube/errors; Please check permissions in /usr/share/roundcube/program/lib/Roundcube/rcube.php on line 1336, referer: http://my.domain.com/webmail/
[Mon Nov 30 12:23:53.683116 2015] [:error] [pid 29901] [client 192.168.1.198:59062] PHP Warning:  Failed to load config from /var/lib/roundcube/plugins/jqueryui/config.inc.php in /usr/share/roundcube/program/lib/Roundcube/rcube.php on line 1438, referer: http://my.domain.com/webmail/
[Mon Nov 30 12:23:57.198377 2015] [:error] [pid 29901] [client 192.168.1.198:59087] PHP Warning:  Error writing to log file /var/log/roundcube/errors; Please check permissions in /usr/share/roundcube/program/lib/Roundcube/rcube.php on line 1336, referer: http://my.domain.com/webmail/?_task=mail&_mbox=INBOX
[Mon Nov 30 12:23:57.198456 2015] [:error] [pid 29901] [client 192.168.1.198:59087] PHP Warning:  Failed to load config from /var/lib/roundcube/plugins/jqueryui/config.inc.php in /usr/share/roundcube/program/lib/Roundcube/rcube.php on line 1438, referer: http://my.domain.com/webmail/?_task=mail&_mbox=INBOX
[Mon Nov 30 12:23:57.262157 2015] [:error] [pid 29900] [client 192.168.1.198:59088] PHP Warning:  Error writing to log file /var/log/roundcube/errors; Please check permissions in /usr/share/roundcube/program/lib/Roundcube/rcube.php on line 1336, referer: http://my.domain.com/webmail/?_task=mail&_mbox=INBOX
[Mon Nov 30 12:23:57.262223 2015] [:error] [pid 29900] [client 192.168.1.198:59088] PHP Warning:  Failed to load config from /var/lib/roundcube/plugins/jqueryui/config.inc.php in /usr/share/roundcube/program/lib/Roundcube/rcube.php on line 1438, referer: http://my.domain.com/webmail/?_task=mail&_mbox=INBOX
/var/log/roundcube/ belongs to www-data, group adm. What is wrong with that?

Re: Roundcube not sending mail when send button is pressed

Posted: Mon Dec 07, 2015 9:48 am
by taku
Hello everybody
i upgraded to latest version and after webmail worked
look here for instruction how to upgrade to latest version but in russian lang
viewtopic.php?f=31&t=9920&p=35839#p35839
sorry for my engl :)

Re: Roundcube not sending mail when send button is pressed

Posted: Mon Dec 07, 2015 10:17 pm
by jimmyeao
taku wrote:Hello everybody
i upgraded to latest version and after webmail worked
look here for instruction how to upgrade to latest version but in russian lang
viewtopic.php?f=31&t=9920&p=35839#p35839
sorry for my engl :)
I tied following a translated page of your instructions but still no joy.
This is what I did:
1. downloaded https://downloads.sourceforge.net/proje ... ete.tar.gz
2. Unzip the files to /opt/roundcube
3. The translation let me down here, something about setting permissons?
4. copy from /etc/roundcube/config.inc.php to /opt/roundcube/config/config.inc.php
5. Edit /etc/nginx/conf.d/webmail.inc:

Code: Select all

location /webmail {
    alias /opt/roundcube/;

    location ~ /(config|temp|logs) {
        return 404;
    }

    location ~ ^/webmail/(.*\.php)$ {
        alias /opt/roundcube/$1;
        fastcgi_pass 127.0.0.1:9000;
        fastcgi_index index.php;
        include fastcgi_params;
        fastcgi_param SCRIPT_FILENAME $request_filename;
    }
}
6. restart nginx with service nginx restart
7. Again not sure what to do here, the translation seemed to say something about editing /opt/roundcube/congig/config.inc.php but it was unclear..

Re: Roundcube not sending mail when send button is pressed

Posted: Tue Dec 08, 2015 6:27 am
by taku
3. The translation let me down here, something about setting permissons?
drwxr-xr-x 12 www-data www-data 4096 Dec 7 12:33 roundcube
7. needs make procedure upgrade roundcube
7.1 for enabled roundcube install procedure needs find $rcmail_config['enable_installer'] = false; and change it to true
7.2 after go to browser and open http://xxx.xxx.xxx.xxx/webmail/installer
7.3 change some position in config.inc.php
after this roundcube worked and version 1.1.3 old version 1.1.1
full manual instruction on this links
http://trac.roundcube.net/browser/github/UPGRADING

Re: Roundcube not sending mail when send button is pressed

Posted: Tue Dec 08, 2015 3:34 pm
by jimmyeao
taku wrote:3. The translation let me down here, something about setting permissons?
drwxr-xr-x 12 www-data www-data 4096 Dec 7 12:33 roundcube
7. needs make procedure upgrade roundcube
7.1 for enabled roundcube install procedure needs find $rcmail_config['enable_installer'] = false; and change it to true
7.2 after go to browser and open http://xxx.xxx.xxx.xxx/webmail/installer
7.3 change some position in config.inc.php
after this roundcube worked and version 1.1.3 old version 1.1.1
full manual instruction on this links
http://trac.roundcube.net/browser/github/UPGRADING
Thanks for the additional info..
I couldn't find $rcmail_config['enable_installer'] = false; in config.inc.php so i added it in, is that correct?
http://xxx.xxx.xxx.xxx/webmail/installer gives me a

Code: Select all

Not Found

The requested URL /webmail/installer was not found on this server.
Webmail client is still reporting version 1.1.1

Re: Roundcube not sending mail when send button is pressed

Posted: Wed Dec 09, 2015 10:21 am
by jimmyeao
I actually found an easier fix for this..
1. Download the roundcube http://sourceforge.net/projects/roundcu ... z/download
Extract this somewhere and find \roundcubemail-1.1.1\program\js\tinymce\

SCP all the files in this folder up to your server (replace xxx.xxx.xxx.xxx with your IP or servername)
eg

Code: Select all

scp -r tinymce/* xxx.xxx.xxx.xxx:/usr/share/roundcube/program/js/tinymce/.

Re: Roundcube not sending mail when send button is pressed

Posted: Thu Dec 24, 2015 8:58 am
by nicomatt
jimmyeao wrote:I actually found an easier fix for this..
1. Download the roundcube http://sourceforge.net/projects/roundcu ... z/download
Extract this somewhere and find \roundcubemail-1.1.1\program\js\tinymce\

SCP all the files in this folder up to your server (replace xxx.xxx.xxx.xxx with your IP or servername)
eg

Code: Select all

scp -r tinymce/* xxx.xxx.xxx.xxx:/usr/share/roundcube/program/js/tinymce/.

Thank you very much this worked for me aswell!

Re: Roundcube not sending mail when send button is pressed

Posted: Sat Jan 23, 2016 11:57 pm
by dpeca
Someone should fix this, I had the same problem on Debian 8.
Jimmyeao's solution solved a problem.
Does someone report this as a bug in bug-tracking-system?

Re: Roundcube not sending mail when send button is pressed

Posted: Sun Jul 10, 2016 3:15 pm
by mhh2
dpeca wrote:Someone should fix this, I had the same problem on Debian 8.
Jimmyeao's solution solved a problem.
Does someone report this as a bug in bug-tracking-system?
For this problem, follow under instruction:
  1. cd /usr/share
  2. rm -r roundcube
  3. download and extract last release of roundcube from https://roundcube.net/download/ by SFTP or FTP or wget or .. in /usr/share
  4. change name of roundcubemail-* dir to roundcub
  5. rm -r /usr/share/roundcub/installer
  6. End, go to new roundcub
Of course, before this work, you should create backup from all custom file, config and plugins